|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface AssetCategoryService
The interface for the asset category remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
AssetCategoryServiceUtil
,
com.liferay.portlet.asset.service.base.AssetCategoryServiceBaseImpl
,
com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl
Method Summary | |
---|---|
AssetCategory |
addCategory(long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
void |
deleteCategories(long[] categoryIds)
Deprecated. As of 6.2.0, Replaced by deleteCategories(long[],
ServiceContext) |
List<AssetCategory> |
deleteCategories(long[] categoryIds,
ServiceContext serviceContext)
|
void |
deleteCategory(long categoryId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<AssetCategory> |
getCategories(String className,
long classPK)
|
AssetCategory |
getCategory(long categoryId)
|
List<AssetCategory> |
getChildCategories(long parentCategoryId)
|
List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
|
JSONArray |
getJSONSearch(long groupId,
String name,
long[] vocabularyIds,
int start,
int end)
Deprecated. search(long[], String, long[], int, int) |
JSONArray |
getJSONSearch(long groupId,
String keywords,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
Deprecated. |
JSONObject |
getJSONVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
JSONObject |
getJSONVocabularyCategories(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
List<AssetCategory> |
getVocabularyCategories(long groupId,
String name,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
int |
getVocabularyCategoriesCount(long groupId,
long vocabularyId)
|
int |
getVocabularyCategoriesCount(long groupId,
String name,
long vocabularyId)
|
List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
Deprecated. replaced by getVocabularyRootCategories(long, long,
int, int, OrderByComparator) |
List<AssetCategory> |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
int |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId)
|
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 obc)
|
JSONArray |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
AssetCategory |
updateCategory(long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanAssetCategory addCategory(long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void deleteCategories(long[] categoryIds) throws PortalException, SystemException
deleteCategories(long[],
ServiceContext)
PortalException
SystemException
List<AssetCategory> deleteCategories(long[] categoryIds, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void deleteCategory(long categoryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getCategories(String className, long classPK) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) AssetCategory getCategory(long categoryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getChildCategories(long parentCategoryId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray getJSONSearch(long groupId, String keywords, long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray getJSONSearch(long groupId, String name, long[] vocabularyIds, int start, int end) throws PortalException, SystemException
search(long[], String, long[], int, int)
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONObject getJSONVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONObject getJSONVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getVocabularyCategories(long groupId, String name, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyCategoriesCount(long groupId, long vocabularyId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyCategoriesCount(long groupId, String name, long vocabularyId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator obc) throws PortalException, SystemException
getVocabularyRootCategories(long, long,
int, int, OrderByComparator)
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> getVocabularyRootCategories(long groupId, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getVocabularyRootCategoriesCount(long groupId, long vocabularyId) throws SystemException
SystemException
AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<AssetCategory> search(long groupId, String keywords, long vocabularyId, int start, int end, OrderByComparator obc) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray search(long groupId, String name, String[] categoryProperties, int start, int end) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONArray search(long[] groupIds, String name, long[] vocabularyIds, int start, int end) throws PortalException, SystemException
PortalException
SystemException
AssetCategory updateCategory(long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |