@ProviderType
public class AssetVocabularyServiceUtil
extends Object
AssetVocabularyServiceImpl
and is the
primary 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
,
AssetVocabularyServiceBaseImpl
,
AssetVocabularyServiceImpl
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,
ServiceContext serviceContext) |
static AssetVocabulary |
addVocabulary(long groupId,
String title,
ServiceContext serviceContext) |
static List<AssetVocabulary> |
deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext) |
static void |
deleteVocabulary(long vocabularyId) |
static AssetVocabulary |
fetchVocabulary(long vocabularyId) |
static List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
Deprecated.
As of 7.0.0, with no direct replacement
|
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 groupId,
boolean createDefaultVocabulary) |
static List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static List<AssetVocabulary> |
getGroupVocabularies(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static List<AssetVocabulary> |
getGroupVocabularies(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
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> obc) |
static AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetVocabularyService |
getService() |
static List<AssetVocabulary> |
getVocabularies(long[] vocabularyIds)
Deprecated.
As of 7.0.0, replaced by
AssetUtil#filterVocabularyIds(PermissionChecker, long[]) |
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,
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, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabulary addVocabulary(long groupId, String title, 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
@Deprecated public static List<AssetVocabulary> getCompanyVocabularies(long companyId) 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> obc) throws PortalException
PortalException
public static List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> obc)
public static List<AssetVocabulary> getGroupVocabularies(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
public static List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
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> obc) throws PortalException
PortalException
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
@Deprecated public static List<AssetVocabulary> getVocabularies(long[] vocabularyIds) throws PortalException
AssetUtil#filterVocabularyIds(PermissionChecker, long[])
PortalException
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, String title, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, String settings, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabularyService getService()