@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetCategoryService extends BaseService
AssetCategoryServiceUtil,
com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl| Modifier and Type | Method and Description |
|---|---|
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) |
AssetCategory |
addCategory(long groupId,
java.lang.String title,
long vocabularyId,
ServiceContext serviceContext) |
void |
deleteCategories(long[] categoryIds) |
java.util.List<AssetCategory> |
deleteCategories(long[] categoryIds,
ServiceContext serviceContext)
Deprecated.
As of 7.0.0, Replaced by
deleteCategories(long[]) |
void |
deleteCategory(long categoryId) |
AssetCategory |
fetchCategory(long categoryId) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK) |
AssetCategory |
getCategory(long categoryId) |
java.lang.String |
getCategoryPath(long categoryId) |
java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId) |
java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
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) |
JSONObject |
getJSONVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator) |
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) |
java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
java.util.List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
java.util.List<AssetCategory> |
getVocabularyCategories(long groupId,
long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
java.util.List<AssetCategory> |
getVocabularyCategories(long groupId,
java.lang.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,
java.lang.String name,
long vocabularyId) |
AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
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) |
java.util.List<AssetCategory> |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
int |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId) |
AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext) |
JSONArray |
search(long[] groupIds,
java.lang.String name,
long[] vocabularyIds,
int start,
int end) |
java.util.List<AssetCategory> |
search(long groupId,
java.lang.String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long[] groupIds,
java.lang.String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end) |
AssetCategoryDisplay |
searchCategoriesDisplay(long groupId,
java.lang.String title,
long parentCategoryId,
long vocabularyId,
int start,
int end) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
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) |
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
PortalExceptionAssetCategory addCategory(long groupId, java.lang.String title, long vocabularyId, ServiceContext serviceContext) throws PortalException
PortalExceptionvoid deleteCategories(long[] categoryIds)
throws PortalException
PortalException@Deprecated java.util.List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException
deleteCategories(long[])PortalExceptionvoid deleteCategory(long categoryId)
throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategory fetchCategory(long categoryId) throws PortalException
PortalExceptionjava.lang.String getBeanIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getCategories(java.lang.String className, long classPK) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategory getCategory(long categoryId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getCategoryPath(long categoryId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) JSONArray getJSONSearch(long groupId, java.lang.String name, long[] vocabularyIds, int start, int end) throws PortalException
search(long[], String,
long[], int, int)PortalException@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) 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 @Transactional(propagation=SUPPORTS, readOnly=true) JSONObject getJSONVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator)PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getVocabularyCategories(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getVocabularyCategories(long groupId, long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyCategoriesCount(long groupId, java.lang.String name, long vocabularyId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyCategoriesCount(long groupId, long parentCategory, long vocabularyId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyCategoriesCount(long groupId, long vocabularyId)
@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId, java.lang.String name, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
@Deprecated @Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc) throws PortalException
getVocabularyRootCategories(long, long, int, int,
OrderByComparator)PortalException@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyRootCategoriesCount(long groupId, long vocabularyId)
AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<AssetCategory> search(long groupId, java.lang.String keywords, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray search(long groupId, java.lang.String name, java.lang.String[] categoryProperties, int start, int end) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray search(long[] groupIds, java.lang.String name, long[] vocabularyIds, int start, int end) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategoryDisplay searchCategoriesDisplay(long groupId, java.lang.String title, long parentCategoryId, long vocabularyId, int start, int end) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategoryDisplay searchCategoriesDisplay(long groupId, java.lang.String title, long vocabularyId, int start, int end) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, java.lang.String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException
PortalException@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategoryDisplay searchCategoriesDisplay(long[] groupIds, java.lang.String title, long[] vocabularyIds, int start, int end) throws PortalException
PortalExceptionvoid setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanAssetCategory 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
PortalException