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)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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
AssetCategoryServiceUtil to access the asset category remote service. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.addCategory in interface AssetCategoryServicePortalExceptionpublic AssetCategory addCategory(long groupId, String title, long vocabularyId, ServiceContext serviceContext) throws PortalException
addCategory in interface AssetCategoryServicePortalExceptionpublic void deleteCategories(long[] categoryIds)
throws PortalException
deleteCategories in interface AssetCategoryServicePortalException@Deprecated public List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException
deleteCategories(long[])deleteCategories in interface AssetCategoryServicePortalExceptionpublic void deleteCategory(long categoryId)
throws PortalException
deleteCategory in interface AssetCategoryServicePortalExceptionpublic AssetCategory fetchCategory(long categoryId) throws PortalException
fetchCategory in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> getCategories(long classNameId, long classPK, int start, int end)
getCategories in interface AssetCategoryServiceclassNameId - 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 AssetCategoryServicePortalExceptionpublic int getCategoriesCount(long classNameId,
long classPK)
getCategoriesCount in interface AssetCategoryServiceclassNameId - the className of the assetclassPK - the classPK of the assetpublic AssetCategory getCategory(long categoryId) throws PortalException
getCategory in interface AssetCategoryServicePortalExceptionpublic String getCategoryPath(long categoryId)
throws PortalException
getCategoryPath in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException
getChildCategories in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getChildCategories in interface AssetCategoryServiceparentCategoryId - the parent category IDstart - the lower bound of the range of resultsend - the upper bound of the range of results (not inclusive)obc - the comparatorPortalExceptionpublic int getChildCategoriesCount(long parentCategoryId)
throws PortalException
getChildCategoriesCount in interface AssetCategoryServiceparentCategoryId - the parent category IDPortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface AssetCategoryServicepublic List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategories in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategories in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyCategories in interface AssetCategoryServicepublic List<AssetCategory> getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyCategories in interface AssetCategoryServicepublic int getVocabularyCategoriesCount(long groupId,
long vocabularyId)
getVocabularyCategoriesCount in interface AssetCategoryServicepublic int getVocabularyCategoriesCount(long groupId,
long parentCategory,
long vocabularyId)
getVocabularyCategoriesCount in interface AssetCategoryServicepublic int getVocabularyCategoriesCount(long groupId,
String name,
long vocabularyId)
getVocabularyCategoriesCount in interface AssetCategoryServicepublic AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyRootCategories in interface AssetCategoryServicepublic int getVocabularyRootCategoriesCount(long groupId,
long vocabularyId)
getVocabularyRootCategoriesCount in interface AssetCategoryServicepublic AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException
moveCategory in interface AssetCategoryServicePortalExceptionpublic List<AssetCategory> search(long groupId, String keywords, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
search in interface AssetCategoryServicepublic JSONArray search(long groupId, String name, String[] categoryProperties, int start, int end) throws PortalException
search in interface AssetCategoryServicePortalExceptionpublic JSONArray search(long[] groupIds, String name, long[] vocabularyIds, int start, int end) throws PortalException
search in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, int start, int end) throws PortalException
searchCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long parentCategoryId, long vocabularyId, int start, int end) throws PortalException
searchCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay searchCategoriesDisplay(long groupId, String title, long vocabularyId, long parentCategoryId, int start, int end, Sort sort) throws PortalException
searchCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws PortalException
searchCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException
searchCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) throws PortalException
searchCategoriesDisplay in interface AssetCategoryServicePortalExceptionpublic 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 AssetCategoryServicePortalExceptionpublic AssetCategoryService getWrappedService()
getWrappedService in interface ServiceWrapper<AssetCategoryService>public void setWrappedService(AssetCategoryService assetCategoryService)
setWrappedService in interface ServiceWrapper<AssetCategoryService>