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()); } }
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()); } }
public static com.liferay.portlet.asset.model.AssetVocabularySoap getVocabulary(long vocabularyId) throws RemoteException { try { com.liferay.portlet.asset.model.AssetVocabulary returnValue = AssetVocabularyServiceUtil.getVocabulary(vocabularyId); return com.liferay.portlet.asset.model.AssetVocabularySoap.toSoapModel(returnValue); } catch (Exception e) { _log.error(e, e); throw new RemoteException(e.getMessage()); } }
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()); } }
/** * Converts the soap model instance into a normal model instance. * * @param soapModel the soap model instance to convert * @return the normal model instance */ public static AssetVocabulary toModel(AssetVocabularySoap soapModel) { if (soapModel == null) { return null; } AssetVocabulary model = new AssetVocabularyImpl(); model.setUuid(soapModel.getUuid()); model.setVocabularyId(soapModel.getVocabularyId()); model.setGroupId(soapModel.getGroupId()); model.setCompanyId(soapModel.getCompanyId()); model.setUserId(soapModel.getUserId()); model.setUserName(soapModel.getUserName()); model.setCreateDate(soapModel.getCreateDate()); model.setModifiedDate(soapModel.getModifiedDate()); model.setName(soapModel.getName()); model.setTitle(soapModel.getTitle()); model.setDescription(soapModel.getDescription()); model.setSettings(soapModel.getSettings()); return model; }