Class AssetVocabularyServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl
- All Implemented Interfaces:
com.liferay.asset.kernel.service.AssetVocabularyService,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService,com.liferay.portal.kernel.service.BaseService
Provides the remote service for accessing, adding, deleting, and updating
asset vocabularies. Its methods include permission checks.
- Author:
- Alvaro del Castillo, Eduardo Lundgren, Jorge Ferrer, Juan Fernández
-
Field Summary
Fields inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalServiceFields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.asset.kernel.model.AssetVocabularyaddVocabulary(long groupId, String title, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.asset.kernel.model.AssetVocabularyaddVocabulary(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.asset.kernel.model.AssetVocabularyaddVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.asset.kernel.model.AssetVocabularyaddVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.asset.kernel.model.AssetVocabularyaddVocabulary(String externalReferenceCode, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, com.liferay.portal.kernel.service.ServiceContext serviceContext) List<com.liferay.asset.kernel.model.AssetVocabulary>deleteVocabularies(long[] vocabularyIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) voiddeleteVocabulary(long vocabularyId) com.liferay.asset.kernel.model.AssetVocabularyfetchVocabulary(long vocabularyId) com.liferay.asset.kernel.model.AssetVocabularygetAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupsVocabularies(long[] groupIds) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupsVocabularies(long[] groupIds, String className) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupsVocabularies(long[] groupIds, String className, long classTypePK) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long groupId) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long[] groupIds) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long[] groupIds, int[] visibilityTypes) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long groupId, boolean createDefaultVocabulary) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long groupId, int visibilityType) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) List<com.liferay.asset.kernel.model.AssetVocabulary>getGroupVocabularies(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) intgetGroupVocabulariesCount(long groupId) intgetGroupVocabulariesCount(long[] groupIds) intgetGroupVocabulariesCount(long groupId, String name) com.liferay.asset.kernel.model.AssetVocabularyDisplaygetGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) com.liferay.asset.kernel.model.AssetVocabularyDisplaygetGroupVocabulariesDisplay(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) com.liferay.asset.kernel.model.AssetVocabularygetVocabulary(long vocabularyId) com.liferay.asset.kernel.model.AssetVocabularyDisplaysearchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) com.liferay.asset.kernel.model.AssetVocabularyDisplaysearchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, com.liferay.portal.kernel.search.Sort sort) com.liferay.asset.kernel.model.AssetVocabularyupdateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) com.liferay.asset.kernel.model.AssetVocabularyupdateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings) com.liferay.asset.kernel.model.AssetVocabularyupdateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType) Methods inherited from class com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl
afterPropertiesSet, destroy, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setCounterLocalServiceMethods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
AssetVocabularyServiceImpl
public AssetVocabularyServiceImpl()
-
-
Method Details
-
addVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings, int visibilityType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String title, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary addVocabulary(String externalReferenceCode, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings, int visibilityType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> deleteVocabularies(long[] vocabularyIds, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteVocabulary
public void deleteVocabulary(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary fetchVocabulary(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getAssetVocabularyByExternalReferenceCode
public com.liferay.asset.kernel.model.AssetVocabulary getAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupsVocabularies
-
getGroupsVocabularies
-
getGroupsVocabularies
-
getGroupVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, int visibilityType) -
getGroupVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) -
getGroupVocabularies
-
getGroupVocabularies
-
getGroupVocabularies
public List<com.liferay.asset.kernel.model.AssetVocabulary> getGroupVocabularies(long[] groupIds, int[] visibilityTypes) -
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long groupId) -
getGroupVocabulariesCount
-
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long[] groupIds) -
getGroupVocabulariesDisplay
public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupVocabulariesDisplay
public com.liferay.asset.kernel.model.AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetVocabulary> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary getVocabulary(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchVocabulariesDisplay
public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchVocabulariesDisplay
public com.liferay.asset.kernel.model.AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings, int visibilityType) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateVocabulary
public com.liferay.asset.kernel.model.AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String settings, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Throws:
com.liferay.portal.kernel.exception.PortalException
-