public static void deleteType(long typeId) throws RemoteException {
    try {
      AdvTypeServiceUtil.deleteType(typeId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static void deleteType(com.vportal.portlet.vadvman.model.AdvType type)
      throws RemoteException {
    try {
      AdvTypeServiceUtil.deleteType(type);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }