com.liferay.portlet.asset.service
Interface AssetCategoryService
- All Known Implementing Classes:
- AssetCategoryServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AssetCategoryService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.asset.service.impl.AssetCategoryServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetCategoryServiceUtil
- Generated:
Method Summary |
AssetCategory |
addCategory(long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
void |
deleteCategory(long categoryId)
|
java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK)
|
AssetCategory |
getCategory(long categoryId)
|
java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId)
|
java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId)
|
java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId)
|
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
|
AssetCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
addCategory
AssetCategory addCategory(long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteCategory
void deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getCategories(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCategory
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetCategory getCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getChildCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getChildCategories(long parentCategoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getVocabularyCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getVocabularyRootCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateCategory
AssetCategory updateCategory(long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException