Package com.liferay.asset.kernel.service
Class AssetVocabularyServiceUtil
Object
com.liferay.asset.kernel.service.AssetVocabularyServiceUtil
Provides the remote service utility for AssetVocabulary. This utility wraps
com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl and is an
access point for service operations in application layer code running on a
remote server. 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}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AssetVocabularyaddVocabulary(long groupId, String title, ServiceContext serviceContext) static AssetVocabularyaddVocabulary(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) static AssetVocabularyaddVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) static AssetVocabularyaddVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) static AssetVocabularyaddVocabulary(String externalReferenceCode, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) static List<AssetVocabulary>deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) static voiddeleteVocabulary(long vocabularyId) static AssetVocabularyfetchVocabulary(long vocabularyId) static AssetVocabularygetAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) static List<AssetVocabulary>getGroupsVocabularies(long[] groupIds) static List<AssetVocabulary>getGroupsVocabularies(long[] groupIds, String className) static List<AssetVocabulary>getGroupsVocabularies(long[] groupIds, String className, long classTypePK) static List<AssetVocabulary>getGroupVocabularies(long groupId) static List<AssetVocabulary>getGroupVocabularies(long[] groupIds) static List<AssetVocabulary>getGroupVocabularies(long[] groupIds, int[] visibilityTypes) static List<AssetVocabulary>getGroupVocabularies(long groupId, boolean createDefaultVocabulary) static List<AssetVocabulary>getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) static List<AssetVocabulary>getGroupVocabularies(long groupId, int visibilityType) static List<AssetVocabulary>getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) static List<AssetVocabulary>getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) static intgetGroupVocabulariesCount(long groupId) static intgetGroupVocabulariesCount(long[] groupIds) static intgetGroupVocabulariesCount(long groupId, String name) static AssetVocabularyDisplaygetGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) static AssetVocabularyDisplaygetGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) static StringReturns the OSGi service identifier.static AssetVocabularyServicestatic AssetVocabularygetVocabulary(long vocabularyId) static AssetVocabularyDisplaysearchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) static AssetVocabularyDisplaysearchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) static voidsetService(AssetVocabularyService service) static AssetVocabularyupdateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) static AssetVocabularyupdateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings) static AssetVocabularyupdateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType)
-
Constructor Details
-
AssetVocabularyServiceUtil
public AssetVocabularyServiceUtil()
-
-
Method Details
-
addVocabulary
public static AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) - Throws:
PortalException
-
addVocabulary
public static AssetVocabulary addVocabulary(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Throws:
PortalException
-
addVocabulary
public static AssetVocabulary addVocabulary(long groupId, String title, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
addVocabulary
public static AssetVocabulary addVocabulary(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Throws:
PortalException
-
addVocabulary
public static 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
public static List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException - Throws:
PortalException
-
deleteVocabulary
- Throws:
PortalException
-
fetchVocabulary
- Throws:
PortalException
-
getAssetVocabularyByExternalReferenceCode
public static AssetVocabulary getAssetVocabularyByExternalReferenceCode(long groupId, String externalReferenceCode) throws PortalException - Throws:
PortalException
-
getGroupsVocabularies
-
getGroupsVocabularies
-
getGroupsVocabularies
public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK) -
getGroupVocabularies
- Throws:
PortalException
-
getGroupVocabularies
public static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException - Throws:
PortalException
-
getGroupVocabularies
public static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Throws:
PortalException
-
getGroupVocabularies
-
getGroupVocabularies
public static List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) -
getGroupVocabularies
public static List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) -
getGroupVocabularies
-
getGroupVocabularies
-
getGroupVocabulariesCount
public static int getGroupVocabulariesCount(long groupId) -
getGroupVocabulariesCount
-
getGroupVocabulariesCount
public static int getGroupVocabulariesCount(long[] groupIds) -
getGroupVocabulariesDisplay
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Throws:
PortalException
-
getGroupVocabulariesDisplay
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException - Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getVocabulary
- Throws:
PortalException
-
searchVocabulariesDisplay
public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) throws PortalException - Throws:
PortalException
-
searchVocabulariesDisplay
public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException - Throws:
PortalException
-
updateVocabulary
public static AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings) - Throws:
PortalException
-
updateVocabulary
public static AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType) - Throws:
PortalException
-
updateVocabulary
public static AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Throws:
PortalException
-
getService
-
setService
-