Package com.liferay.asset.kernel.service
Class AssetVocabularyServiceWrapper
Object
com.liferay.asset.kernel.service.AssetVocabularyServiceWrapper
- All Implemented Interfaces:
AssetVocabularyService
,BaseService
,ServiceWrapper<AssetVocabularyService>
public class AssetVocabularyServiceWrapper
extends Object
implements AssetVocabularyService, ServiceWrapper<AssetVocabularyService>
Provides a wrapper for
AssetVocabularyService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAssetVocabularyServiceWrapper
(AssetVocabularyService assetVocabularyService) -
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) void
setWrappedService
(AssetVocabularyService assetVocabularyService) 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)
-
Constructor Details
-
AssetVocabularyServiceWrapper
public AssetVocabularyServiceWrapper() -
AssetVocabularyServiceWrapper
-
-
Method Details
-
addVocabulary
public AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) - Specified by:
addVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Specified by:
addVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long groupId, String title, ServiceContext serviceContext) throws PortalException - Specified by:
addVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Specified by:
addVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
addVocabulary
public 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) - Specified by:
addVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
deleteVocabularies
public List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException - Specified by:
deleteVocabularies
in interfaceAssetVocabularyService
- Throws:
PortalException
-
deleteVocabulary
- Specified by:
deleteVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
fetchVocabulary
- Specified by:
fetchVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getAssetVocabularyByExternalReferenceCode
public AssetVocabulary getAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) throws PortalException - Specified by:
getAssetVocabularyByExternalReferenceCode
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getGroupsVocabularies
- Specified by:
getGroupsVocabularies
in interfaceAssetVocabularyService
-
getGroupsVocabularies
- Specified by:
getGroupsVocabularies
in interfaceAssetVocabularyService
-
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK) - Specified by:
getGroupsVocabularies
in interfaceAssetVocabularyService
-
getGroupVocabularies
- Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException - Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getGroupVocabularies
- Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
-
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) - Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
-
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) - Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
-
getGroupVocabularies
- Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
-
getGroupVocabularies
- Specified by:
getGroupVocabularies
in interfaceAssetVocabularyService
-
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long groupId) - Specified by:
getGroupVocabulariesCount
in interfaceAssetVocabularyService
-
getGroupVocabulariesCount
- Specified by:
getGroupVocabulariesCount
in interfaceAssetVocabularyService
-
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long[] groupIds) - Specified by:
getGroupVocabulariesCount
in interfaceAssetVocabularyService
-
getGroupVocabulariesDisplay
public AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Specified by:
getGroupVocabulariesDisplay
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getGroupVocabulariesDisplay
public AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Specified by:
getGroupVocabulariesDisplay
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAssetVocabularyService
- Returns:
- the OSGi service identifier
-
getVocabulary
- Specified by:
getVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
searchVocabulariesDisplay
public AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) throws PortalException - Specified by:
searchVocabulariesDisplay
in interfaceAssetVocabularyService
- Throws:
PortalException
-
searchVocabulariesDisplay
public AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException - Specified by:
searchVocabulariesDisplay
in interfaceAssetVocabularyService
- Throws:
PortalException
-
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings) - Specified by:
updateVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType) - Specified by:
updateVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Specified by:
updateVocabulary
in interfaceAssetVocabularyService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AssetVocabularyService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AssetVocabularyService>
-