@ProviderType
public class AssetVocabularyServiceUtil
extends java.lang.Object
com.liferay.portlet.asset.service.impl.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,
com.liferay.portlet.asset.service.base.AssetVocabularyServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl| 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) |
static AssetVocabulary |
addVocabulary(long groupId,
java.lang.String title,
ServiceContext serviceContext) |
static void |
deleteVocabularies(long[] vocabularyIds)
Deprecated.
As of 6.2.0, Replaced by
deleteVocabularies(long[],
ServiceContext) |
static java.util.List<AssetVocabulary> |
deleteVocabularies(long[] vocabularyIds,
ServiceContext serviceContext) |
static void |
deleteVocabulary(long vocabularyId) |
static AssetVocabulary |
fetchVocabulary(long vocabularyId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<AssetVocabulary> |
getCompanyVocabularies(long companyId)
Deprecated.
As of 7.0.0, 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 JSONObject |
getJSONGroupVocabularies(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<AssetVocabulary> obc)
Deprecated.
As of 6.2.0, with no direct replacement
|
static AssetVocabularyService |
getService() |
static java.util.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,
java.lang.String title,
int start,
int end,
boolean addDefaultVocabulary) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(AssetVocabularyService service)
Deprecated.
As of 6.2.0
|
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, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic 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
PortalException@Deprecated
public static void deleteVocabularies(long[] vocabularyIds)
throws PortalException
deleteVocabularies(long[],
ServiceContext)PortalExceptionpublic static java.util.List<AssetVocabulary> deleteVocabularies(long[] vocabularyIds, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteVocabulary(long vocabularyId)
throws PortalException
PortalExceptionpublic static AssetVocabulary fetchVocabulary(long vocabularyId) throws PortalException
PortalExceptionpublic static java.lang.String getBeanIdentifier()
@Deprecated public static java.util.List<AssetVocabulary> getCompanyVocabularies(long companyId) throws PortalException
PortalExceptionpublic static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId) throws PortalException
PortalExceptionpublic static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary) throws PortalException
PortalExceptionpublic static java.util.List<AssetVocabulary> getGroupVocabularies(long groupId, boolean createDefaultVocabulary, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalExceptionpublic 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 groupId, 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
PortalExceptionpublic static AssetVocabularyDisplay getGroupVocabulariesDisplay(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalExceptionpublic 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)
@Deprecated public static JSONObject getJSONGroupVocabularies(long groupId, java.lang.String name, int start, int end, OrderByComparator<AssetVocabulary> obc) throws PortalException
PortalException@Deprecated public static java.util.List<AssetVocabulary> getVocabularies(long[] vocabularyIds) throws PortalException
AssetUtil#filterVocabularyIds(PermissionChecker, long[])PortalExceptionpublic static AssetVocabulary getVocabulary(long vocabularyId) throws PortalException
PortalExceptionpublic static AssetVocabularyDisplay searchVocabulariesDisplay(long groupId, java.lang.String title, int start, int end, boolean addDefaultVocabulary) throws PortalException
PortalExceptionpublic static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic 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
PortalExceptionpublic static AssetVocabularyService getService()
@Deprecated public void setService(AssetVocabularyService service)