Package com.liferay.asset.kernel.service
Interface AssetVocabularyService
- All Superinterfaces:
BaseService
- All Known Implementing Classes:
AssetVocabularyServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AssetVocabularyService
extends BaseService
Provides the remote service interface for AssetVocabulary. Methods of this
service are expected to have security checks based on the propagated JAAS
credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionaddVocabulary
(long groupId, String title, ServiceContext serviceContext) addVocabulary
(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) addVocabulary
(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) addVocabulary
(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) addVocabulary
(String externalReferenceCode, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) deleteVocabularies
(long[] vocabularyIds, ServiceContext serviceContext) void
deleteVocabulary
(long vocabularyId) fetchVocabulary
(long vocabularyId) getAssetVocabularyByExternalReferenceCode
(long groupId, String externalReferenceCode) getGroupsVocabularies
(long[] groupIds) getGroupsVocabularies
(long[] groupIds, String className) getGroupsVocabularies
(long[] groupIds, String className, long classTypePK) getGroupVocabularies
(long groupId) getGroupVocabularies
(long[] groupIds) getGroupVocabularies
(long[] groupIds, int[] visibilityTypes) getGroupVocabularies
(long groupId, boolean createDefaultVocabulary) getGroupVocabularies
(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) getGroupVocabularies
(long groupId, int visibilityType) getGroupVocabularies
(long groupId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) getGroupVocabularies
(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) int
getGroupVocabulariesCount
(long groupId) int
getGroupVocabulariesCount
(long[] groupIds) int
getGroupVocabulariesCount
(long groupId, String name) getGroupVocabulariesDisplay
(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) getGroupVocabulariesDisplay
(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) Returns the OSGi service identifier.getVocabulary
(long vocabularyId) searchVocabulariesDisplay
(long groupId, String title, boolean addDefaultVocabulary, int start, int end) searchVocabulariesDisplay
(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) updateVocabulary
(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) updateVocabulary
(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings) updateVocabulary
(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType)
-
Method Details
-
addVocabulary
AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) - Throws:
PortalException
-
addVocabulary
AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Throws:
PortalException
-
addVocabulary
AssetVocabulary addVocabulary(long groupId, String title, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
addVocabulary
AssetVocabulary addVocabulary(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Throws:
PortalException
-
addVocabulary
AssetVocabulary addVocabulary(String externalReferenceCode, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) - Throws:
PortalException
-
deleteVocabularies
List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteVocabulary
- Throws:
PortalException
-
fetchVocabulary
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabulary fetchVocabulary(long vocabularyId) throws PortalException - Throws:
PortalException
-
getAssetVocabularyByExternalReferenceCode
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabulary getAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) throws PortalException - Throws:
PortalException
-
getGroupsVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupsVocabularies(long[] groupIds) -
getGroupsVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className) -
getGroupsVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK) -
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId) throws PortalException - Throws:
PortalException
-
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException - Throws:
PortalException
-
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Throws:
PortalException
-
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, int visibilityType) -
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) -
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) -
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long[] groupIds) -
getGroupVocabularies
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetVocabulary> getGroupVocabularies(long[] groupIds, int[] visibilityTypes) -
getGroupVocabulariesCount
-
getGroupVocabulariesCount
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupVocabulariesCount(long groupId, String name) -
getGroupVocabulariesCount
-
getGroupVocabulariesDisplay
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Throws:
PortalException
-
getGroupVocabulariesDisplay
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getVocabulary
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabulary getVocabulary(long vocabularyId) throws PortalException - Throws:
PortalException
-
searchVocabulariesDisplay
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) throws PortalException - Throws:
PortalException
-
searchVocabulariesDisplay
@Transactional(propagation=SUPPORTS, readOnly=true) AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException - Throws:
PortalException
-
updateVocabulary
AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings) - Throws:
PortalException
-
updateVocabulary
AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType) - Throws:
PortalException
-
updateVocabulary
AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Throws:
PortalException
-