@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 groupId,
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(long groupId,
java.lang.String title,
long vocabularyId,
ServiceContext serviceContext) |
static void |
deleteCategories(long[] categoryIds) |
static java.util.List<AssetCategory> |
deleteCategories(long[] categoryIds,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, Replaced by
deleteCategories(long[]) |
static void |
deleteCategory(long categoryId) |
static AssetCategory |
fetchCategory(long categoryId) |
static java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK) |
static AssetCategory |
getCategory(long categoryId) |
static java.lang.String |
getCategoryPath(long categoryId) |
static java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId) |
static java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> 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<AssetCategory> obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator) |
static JSONObject |
getJSONVocabularyCategories(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, String, long, int, int,
OrderByComparator) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetCategoryService |
getService() |
static java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static java.util.List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static java.util.List<AssetCategory> |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static java.util.List<AssetCategory> |
getVocabularyCategories(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static int |
getVocabularyCategoriesCount(long groupId,
long vocabularyId) |
static int |
getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId) |
static int |
getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId) |
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> 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<AssetCategory> 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 name,
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<AssetCategory> obc) |
static JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
java.lang.String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
Sort sort) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long parentCategoryId,
long vocabularyId,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
Sort sort) |
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 AssetCategory addCategory(long groupId, 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
PortalExceptionpublic static AssetCategory addCategory(long groupId, java.lang.String title, long vocabularyId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static void deleteCategories(long[] categoryIds)
throws PortalException
PortalException@Deprecated public static java.util.List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException
deleteCategories(long[])PortalExceptionpublic static void deleteCategory(long categoryId)
throws PortalException
PortalExceptionpublic static AssetCategory fetchCategory(long categoryId) throws PortalException
PortalExceptionpublic static java.util.List<AssetCategory> getCategories(java.lang.String className, long classPK) throws PortalException
PortalExceptionpublic static AssetCategory getCategory(long categoryId) throws PortalException
PortalExceptionpublic static java.lang.String getCategoryPath(long categoryId)
throws PortalException
PortalExceptionpublic static java.util.List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException
PortalExceptionpublic static java.util.List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException@Deprecated public static JSONArray getJSONSearch(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end) throws PortalException
search(long[], String,
long[], int, int)PortalException@Deprecated public static JSONObject getJSONVocabularyCategories(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay(long, String, long, int, int,
OrderByComparator)PortalException@Deprecated public static JSONObject getJSONVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator)PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static java.util.List<AssetCategory> getVocabularyCategories(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static java.util.List<AssetCategory> getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static java.util.List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalExceptionpublic static java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalExceptionpublic static int getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId)
public static int getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId)
public static int getVocabularyCategoriesCount(long groupId,
long vocabularyId)
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalExceptionpublic static java.util.List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
@Deprecated public static java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyRootCategories(long, long, int, int,
OrderByComparator)PortalExceptionpublic static int getVocabularyRootCategoriesCount(long groupId,
long vocabularyId)
public static AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static java.util.List<AssetCategory> search(long groupId, java.lang.String keywords, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static JSONArray search(long groupId, java.lang.String name, java.lang.String[] categoryProperties, int start, int end) throws PortalException
PortalExceptionpublic static JSONArray search(long[] groupIds, java.lang.String name, long[] vocabularyIds, int start, int end) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay searchCategoriesDisplay(long groupId, java.lang.String title, long parentCategoryId, long vocabularyId, int start, int end) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay searchCategoriesDisplay(long groupId, java.lang.String title, long vocabularyId, long parentCategoryId, int start, int end, Sort sort) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay searchCategoriesDisplay(long groupId, java.lang.String title, long vocabularyId, int start, int end) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, java.lang.String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, java.lang.String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) throws PortalException
PortalExceptionpublic static AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, java.lang.String title, long[] vocabularyIds, int start, int end) throws PortalException
PortalExceptionpublic 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
PortalExceptionpublic static AssetCategoryService getService()