@ProviderType
public class AssetCategoryServiceUtil
extends Object
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
,
AssetCategoryServiceBaseImpl
,
AssetCategoryServiceImpl
Constructor and Description |
---|
AssetCategoryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static AssetCategory |
addCategory(long groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
static AssetCategory |
addCategory(long groupId,
String title,
long vocabularyId,
ServiceContext serviceContext) |
static void |
deleteCategories(long[] categoryIds) |
static List<AssetCategory> |
deleteCategories(long[] categoryIds,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), Replaced by
deleteCategories(long[]) |
static void |
deleteCategory(long categoryId) |
static AssetCategory |
fetchCategory(long categoryId) |
static List<AssetCategory> |
getCategories(String className,
long classPK) |
static AssetCategory |
getCategory(long categoryId) |
static String |
getCategoryPath(long categoryId) |
static List<AssetCategory> |
getChildCategories(long parentCategoryId) |
static List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static AssetCategoryService |
getService() |
static List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static List<AssetCategory> |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static List<AssetCategory> |
getVocabularyCategories(long groupId,
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,
String name,
long vocabularyId) |
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static 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,
String name,
long[] vocabularyIds,
int start,
int end) |
static List<AssetCategory> |
search(long groupId,
String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
static JSONArray |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
Sort sort) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long vocabularyId,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long parentCategoryId,
long vocabularyId,
int start,
int end) |
static AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
Sort sort) |
static AssetCategory |
updateCategory(long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
public static AssetCategory addCategory(long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetCategory addCategory(long groupId, String title, long vocabularyId, ServiceContext serviceContext) throws PortalException
PortalException
public static void deleteCategories(long[] categoryIds) throws PortalException
PortalException
@Deprecated public static List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException
deleteCategories(long[])
PortalException
public static void deleteCategory(long categoryId) throws PortalException
PortalException
public static AssetCategory fetchCategory(long categoryId) throws PortalException
PortalException
public static List<AssetCategory> getCategories(String className, long classPK) throws PortalException
PortalException
public static AssetCategory getCategory(long categoryId) throws PortalException
PortalException
public static String getCategoryPath(long categoryId) throws PortalException
PortalException
public static List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException
PortalException
public static List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException
public static List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException
public static List<AssetCategory> getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static List<AssetCategory> getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static int getVocabularyCategoriesCount(long groupId, long vocabularyId)
public static int getVocabularyCategoriesCount(long groupId, long parentCategory, long vocabularyId)
public static int getVocabularyCategoriesCount(long groupId, String name, long vocabularyId)
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException
public static AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException
public static List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static int getVocabularyRootCategoriesCount(long groupId, long vocabularyId)
public static AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException
PortalException
public static List<AssetCategory> search(long groupId, String keywords, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
public static JSONArray search(long groupId, String name, String[] categoryProperties, int start, int end) throws PortalException
PortalException
public static JSONArray search(long[] groupIds, String name, long[] vocabularyIds, int start, int end) throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, int start, int end) throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long parentCategoryId, long vocabularyId, int start, int end) throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, long parentCategoryId, int start, int end, Sort sort) throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException
PortalException
public static AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) throws PortalException
PortalException
public static AssetCategory updateCategory(long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException
PortalException
public static AssetCategoryService getService()