コード例 #1
0
  public static com.vportal.portlet.vadvman.model.AdvTypeSoap addType(
      long groupId,
      long companyId,
      long plid,
      java.lang.String name,
      java.lang.String description,
      java.lang.Boolean addCommunityPermissions,
      java.lang.Boolean addGuestPermissions,
      java.lang.String[] communityPermissions,
      java.lang.String[] guestPermissions)
      throws RemoteException {
    try {
      com.vportal.portlet.vadvman.model.AdvType returnValue =
          AdvTypeServiceUtil.addType(
              groupId,
              companyId,
              plid,
              name,
              description,
              addCommunityPermissions,
              addGuestPermissions,
              communityPermissions,
              guestPermissions);

      return com.vportal.portlet.vadvman.model.AdvTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #2
0
  public static void deleteType(long typeId) throws RemoteException {
    try {
      AdvTypeServiceUtil.deleteType(typeId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #3
0
  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());
    }
  }
コード例 #4
0
  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());
    }
  }
コード例 #5
0
  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());
    }
  }
コード例 #6
0
  public static int countTypeByG(long groupId) throws RemoteException {
    try {
      int returnValue = AdvTypeServiceUtil.countTypeByG(groupId);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #7
0
  public static int getItemCount(long typeId) throws RemoteException {
    try {
      int returnValue = AdvTypeServiceUtil.getItemCount(typeId);

      return returnValue;
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #8
0
  public static com.vportal.portlet.vadvman.model.AdvTypeSoap[] getTypeByG(
      long groupId, int start, int end) throws RemoteException {
    try {
      java.util.List returnValue = AdvTypeServiceUtil.getTypeByG(groupId, start, end);

      return com.vportal.portlet.vadvman.model.AdvTypeSoap.toSoapModels(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #9
0
  public static com.vportal.portlet.vadvman.model.AdvTypeSoap getType(long typeId)
      throws RemoteException {
    try {
      com.vportal.portlet.vadvman.model.AdvType returnValue = AdvTypeServiceUtil.getType(typeId);

      return com.vportal.portlet.vadvman.model.AdvTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #10
0
  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());
    }
  }
コード例 #11
0
  public static com.vportal.portlet.vadvman.model.AdvTypeSoap updateType(
      long typeId,
      long groupId,
      long companyId,
      long plid,
      java.lang.String name,
      java.lang.String description)
      throws RemoteException {
    try {
      com.vportal.portlet.vadvman.model.AdvType returnValue =
          AdvTypeServiceUtil.updateType(typeId, groupId, companyId, plid, name, description);

      return com.vportal.portlet.vadvman.model.AdvTypeSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

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