@ProviderType public class AssetCategoryServiceWrapper extends Object implements AssetCategoryService, ServiceWrapper<AssetCategoryService>
AssetCategoryService
.AssetCategoryService
Constructor and Description |
---|
AssetCategoryServiceWrapper(AssetCategoryService assetCategoryService) |
Modifier and Type | Method and Description |
---|---|
AssetCategory |
addCategory(long groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
AssetCategory |
addCategory(long groupId,
String title,
long vocabularyId,
ServiceContext serviceContext) |
void |
deleteCategories(long[] categoryIds) |
List<AssetCategory> |
deleteCategories(long[] categoryIds,
ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), Replaced by
deleteCategories(long[]) |
void |
deleteCategory(long categoryId) |
AssetCategory |
fetchCategory(long categoryId) |
List<AssetCategory> |
getCategories(long classNameId,
long classPK,
int start,
int end)
Returns a range of assetCategories related to an AssetEntry with the
given "classNameId-classPK".
|
List<AssetCategory> |
getCategories(String className,
long classPK) |
int |
getCategoriesCount(long classNameId,
long classPK)
Returns the number of assetCategories related to an AssetEntry with the
given "classNameId-classPK".
|
AssetCategory |
getCategory(long categoryId) |
String |
getCategoryPath(long categoryId) |
List<AssetCategory> |
getChildCategories(long parentCategoryId) |
List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
eturns a range of child assetCategories.
|
int |
getChildCategoriesCount(long parentCategoryId)
Returns the number of child categories
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
List<AssetCategory> |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
List<AssetCategory> |
getVocabularyCategories(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
int |
getVocabularyCategoriesCount(long groupId,
long vocabularyId) |
int |
getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId) |
int |
getVocabularyCategoriesCount(long groupId,
String name,
long vocabularyId) |
AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
List<AssetCategory> |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
int |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId) |
AssetCategoryService |
getWrappedService() |
AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext) |
JSONArray |
search(long[] groupIds,
String name,
long[] vocabularyIds,
int start,
int end) |
List<AssetCategory> |
search(long groupId,
String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
JSONArray |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
Sort sort) |
AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long vocabularyId,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long parentCategoryId,
long vocabularyId,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
String title,
long vocabularyId,
long parentCategoryId,
int start,
int end,
Sort sort) |
void |
setWrappedService(AssetCategoryService assetCategoryService) |
AssetCategory |
updateCategory(long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
public AssetCategoryServiceWrapper(AssetCategoryService assetCategoryService)
public AssetCategory addCategory(long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException
addCategory
in interface AssetCategoryService
PortalException
public AssetCategory addCategory(long groupId, String title, long vocabularyId, ServiceContext serviceContext) throws PortalException
addCategory
in interface AssetCategoryService
PortalException
public void deleteCategories(long[] categoryIds) throws PortalException
deleteCategories
in interface AssetCategoryService
PortalException
@Deprecated public List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException
deleteCategories(long[])
deleteCategories
in interface AssetCategoryService
PortalException
public void deleteCategory(long categoryId) throws PortalException
deleteCategory
in interface AssetCategoryService
PortalException
public AssetCategory fetchCategory(long categoryId) throws PortalException
fetchCategory
in interface AssetCategoryService
PortalException
public List<AssetCategory> getCategories(long classNameId, long classPK, int start, int end)
getCategories
in interface AssetCategoryService
classNameId
- the className of the assetclassPK
- the classPK of the assetstart
- the lower bound of the range of resultsend
- the upper bound of the range of results (not inclusive)public List<AssetCategory> getCategories(String className, long classPK) throws PortalException
getCategories
in interface AssetCategoryService
PortalException
public int getCategoriesCount(long classNameId, long classPK)
getCategoriesCount
in interface AssetCategoryService
classNameId
- the className of the assetclassPK
- the classPK of the assetpublic AssetCategory getCategory(long categoryId) throws PortalException
getCategory
in interface AssetCategoryService
PortalException
public String getCategoryPath(long categoryId) throws PortalException
getCategoryPath
in interface AssetCategoryService
PortalException
public List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException
getChildCategories
in interface AssetCategoryService
PortalException
public List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getChildCategories
in interface AssetCategoryService
parentCategoryId
- the parent category IDstart
- the lower bound of the range of resultsend
- the upper bound of the range of results (not inclusive)obc
- the comparatorPortalException
public int getChildCategoriesCount(long parentCategoryId) throws PortalException
getChildCategoriesCount
in interface AssetCategoryService
parentCategoryId
- the parent category IDPortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AssetCategoryService
public List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategories
in interface AssetCategoryService
PortalException
public List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategories
in interface AssetCategoryService
PortalException
public List<AssetCategory> getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyCategories
in interface AssetCategoryService
public List<AssetCategory> getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyCategories
in interface AssetCategoryService
public int getVocabularyCategoriesCount(long groupId, long vocabularyId)
getVocabularyCategoriesCount
in interface AssetCategoryService
public int getVocabularyCategoriesCount(long groupId, long parentCategory, long vocabularyId)
getVocabularyCategoriesCount
in interface AssetCategoryService
public int getVocabularyCategoriesCount(long groupId, String name, long vocabularyId)
getVocabularyCategoriesCount
in interface AssetCategoryService
public AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay
in interface AssetCategoryService
PortalException
public List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyRootCategories
in interface AssetCategoryService
public int getVocabularyRootCategoriesCount(long groupId, long vocabularyId)
getVocabularyRootCategoriesCount
in interface AssetCategoryService
public AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException
moveCategory
in interface AssetCategoryService
PortalException
public List<AssetCategory> search(long groupId, String keywords, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
search
in interface AssetCategoryService
public JSONArray search(long groupId, String name, String[] categoryProperties, int start, int end) throws PortalException
search
in interface AssetCategoryService
PortalException
public JSONArray search(long[] groupIds, String name, long[] vocabularyIds, int start, int end) throws PortalException
search
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, int start, int end) throws PortalException
searchCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long parentCategoryId, long vocabularyId, int start, int end) throws PortalException
searchCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, long parentCategoryId, int start, int end, Sort sort) throws PortalException
searchCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws PortalException
searchCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException
searchCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) throws PortalException
searchCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategory updateCategory(long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException
updateCategory
in interface AssetCategoryService
PortalException
public AssetCategoryService getWrappedService()
getWrappedService
in interface ServiceWrapper<AssetCategoryService>
public void setWrappedService(AssetCategoryService assetCategoryService)
setWrappedService
in interface ServiceWrapper<AssetCategoryService>