@ProviderType
public class AssetCategoryServiceUtil
extends java.lang.Object
com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl 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.AssetCategoryService,
com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl| Constructor and Description |
|---|
AssetCategoryServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AssetCategory |
addCategory(long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext) |
static AssetCategory |
addCategory(java.lang.String title,
long vocabularyId,
ServiceContext serviceContext) |
static void |
deleteCategories(long[] categoryIds)
Deprecated.
As of 6.2.0, Replaced by
deleteCategories(long[],
ServiceContext) |
static java.util.List<AssetCategory> |
deleteCategories(long[] categoryIds,
ServiceContext serviceContext) |
static void |
deleteCategory(long categoryId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK) |
static AssetCategory |
getCategory(long categoryId) |
static java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId) |
static java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc) |
static JSONArray |
getJSONSearch(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
search(long[], String,
long[], int, int) |
static JSONObject |
getJSONVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator) |
static JSONObject |
getJSONVocabularyCategories(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, String, long, int, int,
OrderByComparator) |
static AssetCategoryService |
getService() |
static java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static java.util.List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static java.util.List<AssetCategory> |
getVocabularyCategories(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static int |
getVocabularyCategoriesCount(long groupId,
long vocabularyId) |
static int |
getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId) |
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyRootCategories(long, long, int, int,
OrderByComparator) |
static java.util.List<AssetCategory> |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static int |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId) |
static AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext) |
static JSONArray |
search(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
static java.util.List<AssetCategory> |
search(long groupId,
java.lang.String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator obc) |
static JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(AssetCategoryService service)
Deprecated.
As of 6.2.0
|
static AssetCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static AssetCategory addCategory(long parentCategoryId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long vocabularyId, java.lang.String[] categoryProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static AssetCategory addCategory(java.lang.String title, long vocabularyId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteCategories(long[] categoryIds)
throws PortalException,
SystemException
deleteCategories(long[],
ServiceContext)PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteCategory(long categoryId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getCategories(java.lang.String className, long classPK) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static AssetCategory getCategory(long categoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static JSONArray getJSONSearch(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end) throws PortalException, SystemException
search(long[], String,
long[], int, int)PortalExceptionSystemExceptionpublic static JSONObject getJSONVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator)PortalExceptionSystemExceptionpublic static JSONObject getJSONVocabularyCategories(long groupId, java.lang.String title, long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
getVocabularyCategoriesDisplay(long, String, long, int, int,
OrderByComparator)PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getVocabularyCategories(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static int getVocabularyCategoriesCount(long groupId,
long vocabularyId)
throws SystemException
SystemExceptionpublic static int getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId)
throws SystemException
SystemExceptionpublic static AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
getVocabularyRootCategories(long, long, int, int,
OrderByComparator)PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static int getVocabularyRootCategoriesCount(long groupId,
long vocabularyId)
throws SystemException
SystemExceptionpublic static AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<AssetCategory> search(long groupId, java.lang.String keywords, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static JSONArray search(long groupId, java.lang.String name, java.lang.String[] categoryProperties, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static JSONArray search(long[] groupIds, java.lang.String title, long[] vocabularyIds, int start, int end) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static AssetCategory updateCategory(long categoryId, long parentCategoryId, java.util.Map<java.util.Locale,java.lang.String> titleMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, long vocabularyId, java.lang.String[] categoryProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static AssetCategoryService getService()
public void setService(AssetCategoryService service)