public class AssetCategoryServiceWrapper extends Object implements AssetCategoryService, ServiceWrapper<AssetCategoryService>
AssetCategoryService
.AssetCategoryService
Constructor and Description |
---|
AssetCategoryServiceWrapper() |
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) |
AssetCategory |
addCategory(String externalReferenceCode,
long groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
void |
deleteCategories(long[] categoryIds) |
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> orderByComparator)
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> orderByComparator) |
List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator) |
List<AssetCategory> |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator) |
List<AssetCategory> |
getVocabularyCategories(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator) |
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> orderByComparator) |
AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator) |
List<AssetCategory> |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator) |
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> orderByComparator) |
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()
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 AssetCategory addCategory(String externalReferenceCode, 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 void deleteCategories(long[] categoryIds) throws PortalException
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> orderByComparator) 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)orderByComparator
- 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> orderByComparator) throws PortalException
getVocabularyCategories
in interface AssetCategoryService
PortalException
public List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) throws PortalException
getVocabularyCategories
in interface AssetCategoryService
PortalException
public List<AssetCategory> getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
getVocabularyCategories
in interface AssetCategoryService
public List<AssetCategory> getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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> orderByComparator) throws PortalException
getVocabularyCategoriesDisplay
in interface AssetCategoryService
PortalException
public AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) throws PortalException
getVocabularyCategoriesDisplay
in interface AssetCategoryService
PortalException
public List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
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> orderByComparator)
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>