public class AssetVocabularyServiceUtil
extends Object
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.AssetVocabularyService
Constructor and Description |
---|
AssetVocabularyServiceUtil() |
Modifier and Type | Method and Description |
---|---|
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(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(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 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 |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetVocabularyService |
getService() |
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 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) |
static AssetVocabulary |
updateVocabulary(long vocabularyId,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext) |
static AssetVocabulary |
updateVocabulary(long vocabularyId,
String name,
String title,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
String settings,
ServiceContext serviceContext) |
public static AssetVocabulary addVocabulary(long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabulary addVocabulary(long groupId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabulary addVocabulary(long groupId, String title, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabulary addVocabulary(long groupId, String name, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException
public 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) throws PortalException
PortalException
public static List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteVocabulary(long vocabularyId) throws PortalException
PortalException
public static AssetVocabulary fetchVocabulary(long vocabularyId) throws PortalException
PortalException
public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className)
public static List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK)
public static List<AssetVocabulary> getGroupVocabularies(long groupId) throws PortalException
PortalException
public static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException
PortalException
public static List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException
PortalException
public static List<AssetVocabulary> getGroupVocabularies(long groupId, int visibilityType)
public static List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator)
public static List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator)
public static List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
public static List<AssetVocabulary> getGroupVocabularies(long[] groupIds, int[] visibilityTypes)
public static int getGroupVocabulariesCount(long groupId)
public static int getGroupVocabulariesCount(long groupId, String name)
public static int getGroupVocabulariesCount(long[] groupIds)
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException
PortalException
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static AssetVocabulary getVocabulary(long vocabularyId) throws PortalException
PortalException
public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end) throws PortalException
PortalException
public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException
PortalException
public static AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings) throws PortalException
PortalException
public static AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, int visibilityType) throws PortalException
PortalException
public static AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabulary updateVocabulary(long vocabularyId, String name, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabularyService getService()