public static void addAdvTypeResources(
      long typeId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      AdvTypeServiceUtil.addAdvTypeResources(typeId, communityPermissions, guestPermissions);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static void addAdvTypeResources(
      long typeId, boolean addCommunityPermissions, boolean addGuestPermissions)
      throws RemoteException {
    try {
      AdvTypeServiceUtil.addAdvTypeResources(typeId, addCommunityPermissions, addGuestPermissions);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
  public static void addAdvTypeResources(
      com.vportal.portlet.vadvman.model.AdvType type,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      AdvTypeServiceUtil.addAdvTypeResources(type, communityPermissions, guestPermissions);
    } catch (Exception e) {
      _log.error(e, e);

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