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 AssetVocabulary
addVocabulary
(long groupId, String title, ServiceContext serviceContext) static AssetVocabulary
addVocabulary
(long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) static AssetVocabulary
addVocabulary
(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) static AssetVocabulary
addVocabulary
(long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) static AssetVocabulary
addVocabulary
(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 void
deleteVocabulary
(long vocabularyId) static AssetVocabulary
fetchVocabulary
(long vocabularyId) static AssetVocabulary
getAssetVocabularyByExternalReferenceCode
(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 int
getGroupVocabulariesCount
(long groupId) static int
getGroupVocabulariesCount
(long[] groupIds) static int
getGroupVocabulariesCount
(long groupId, String name) static AssetVocabularyDisplay
getGroupVocabulariesDisplay
(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) static AssetVocabularyDisplay
getGroupVocabulariesDisplay
(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) static String
Returns the OSGi service identifier.static AssetVocabularyService
static AssetVocabulary
getVocabulary
(long vocabularyId) static AssetVocabularyDisplay
searchVocabulariesDisplay
(long groupId, String title, boolean addDefaultVocabulary, int start, int end) static AssetVocabularyDisplay
searchVocabulariesDisplay
(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) static void
setService
(AssetVocabularyService service) static AssetVocabulary
updateVocabulary
(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) static AssetVocabulary
updateVocabulary
(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings) static AssetVocabulary
updateVocabulary
(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
-