public class AssetVocabularyServiceUtil
extends java.lang.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,
java.lang.String title,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String settings,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static AssetVocabulary |
addVocabulary(long groupId,
java.lang.String title,
ServiceContext serviceContext) |
static java.util.List<AssetVocabulary> |
deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext) |
static void |
deleteVocabulary(long vocabularyId) |
static AssetVocabulary |
fetchVocabulary(long vocabularyId) |
static java.util.List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
Deprecated.
As of Wilberforce (7.0.x), with no direct replacement
|
static java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds) |
static java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
java.lang.String className) |
static java.util.List<AssetVocabulary> |
getGroupsVocabularies(long[] groupIds,
java.lang.String className,
long classTypePK) |
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId) |
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long[] groupIds) |
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary) |
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
boolean createDefaultVocabulary,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static java.util.List<AssetVocabulary> |
getGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static int |
getGroupVocabulariesCount(long groupId) |
static int |
getGroupVocabulariesCount(long[] groupIds) |
static int |
getGroupVocabulariesCount(long groupId,
java.lang.String name) |
static AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
java.lang.String name,
int start,
int end,
boolean addDefaultVocabulary,
OrderByComparator<AssetVocabulary> obc) |
static AssetVocabularyDisplay |
getGroupVocabulariesDisplay(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetVocabularyService |
getService() |
static java.util.List<AssetVocabulary> |
getVocabularies(long[] vocabularyIds)
Deprecated.
As of Wilberforce (7.0.x), replaced by
AssetUtil#filterVocabularyIds(PermissionChecker, long[]) |
static AssetVocabulary |
getVocabulary(long vocabularyId) |
static AssetVocabularyDisplay |
searchVocabulariesDisplay(long groupId,
java.lang.String title,
boolean addDefaultVocabulary,
int start,
int end) |
static AssetVocabularyDisplay |
searchVocabulariesDisplay(long groupId,
java.lang.String title,
boolean addDefaultVocabulary,
int start,
int end,
Sort sort) |
static AssetVocabulary |
updateVocabulary(long vocabularyId,
java.lang.String title,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.lang.String settings,
ServiceContext serviceContext) |
public static AssetVocabulary addVocabulary(long groupId, java.lang.String title, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, ServiceContext serviceContext) throws PortalException
AssetVocabularyServiceUtil
to access the asset vocabulary remote service. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
public static AssetVocabulary addVocabulary(long groupId, java.lang.String title, ServiceContext serviceContext) throws PortalException
PortalException
public static java.util.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 java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId) throws PortalException
PortalException
public static java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds)
public static java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, java.lang.String className)
public static java.util.List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, java.lang.String className, long classTypePK)
public static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId) throws PortalException
PortalException
public static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException
PortalException
public static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
public static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, int start, int end, OrderByComparator<AssetVocabulary> obc)
public static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc)
public static java.util.List<AssetVocabulary> getGroupVocabularies(long[] groupIds)
public static int getGroupVocabulariesCount(long groupId)
public static int getGroupVocabulariesCount(long groupId, java.lang.String name)
public static int getGroupVocabulariesCount(long[] groupIds)
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, java.lang.String name, int start, int end, boolean addDefaultVocabulary, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
public static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
@Deprecated public static java.util.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, java.lang.String title, boolean addDefaultVocabulary, int start, int end) throws PortalException
PortalException
public static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, java.lang.String title, boolean addDefaultVocabulary, int start, int end, Sort sort) throws PortalException
PortalException
public static AssetVocabulary updateVocabulary(long vocabularyId, java.lang.String title, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String settings, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetVocabularyService getService()