コード例 #1
0
  public static com.liferay.portlet.asset.model.AssetVocabularySoap[] getCompanyVocabularies(
      long companyId) throws RemoteException {
    try {
      java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> returnValue =
          AssetVocabularyServiceUtil.getCompanyVocabularies(companyId);

      return com.liferay.portlet.asset.model.AssetVocabularySoap.toSoapModels(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #2
0
  public static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupsVocabularies(
      long[] groupIds, java.lang.String className) throws RemoteException {
    try {
      java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> returnValue =
          AssetVocabularyServiceUtil.getGroupsVocabularies(groupIds, className);

      return com.liferay.portlet.asset.model.AssetVocabularySoap.toSoapModels(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #3
0
  public static com.liferay.portlet.asset.model.AssetVocabularySoap[] getGroupVocabularies(
      long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
      throws RemoteException {
    try {
      java.util.List<com.liferay.portlet.asset.model.AssetVocabulary> returnValue =
          AssetVocabularyServiceUtil.getGroupVocabularies(groupId, start, end, obc);

      return com.liferay.portlet.asset.model.AssetVocabularySoap.toSoapModels(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

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