com.liferay.portlet.asset.service
Interface AssetCategoryLocalService
- All Known Implementing Classes:
- AssetCategoryLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AssetCategoryLocalService
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.AssetCategoryLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
AssetCategoryLocalServiceUtil
- Generated:
Method Summary |
AssetCategory |
addAssetCategory(AssetCategory assetCategory)
|
AssetCategory |
addCategory(java.lang.String uuid,
long userId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
void |
addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(AssetCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
AssetCategory |
createAssetCategory(long categoryId)
|
void |
deleteAssetCategory(AssetCategory assetCategory)
|
void |
deleteAssetCategory(long categoryId)
|
void |
deleteCategory(AssetCategory category)
|
void |
deleteCategory(long categoryId)
|
void |
deleteVocabularyCategories(long vocabularyId)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
java.util.List<AssetCategory> |
getAssetCategories(int start,
int end)
|
int |
getAssetCategoriesCount()
|
AssetCategory |
getAssetCategory(long categoryId)
|
AssetCategory |
getAssetCategoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
java.util.List<AssetCategory> |
getCategories()
|
java.util.List<AssetCategory> |
getCategories(long classNameId,
long classPK)
|
java.util.List<AssetCategory> |
getCategories(java.lang.String className,
long classPK)
|
AssetCategory |
getCategory(long categoryId)
|
long[] |
getCategoryIds(java.lang.String className,
long classPK)
|
java.util.List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
|
int |
getChildCategoriesCount(long parentCategoryId)
|
java.util.List<AssetCategory> |
getEntryCategories(long entryId)
|
java.util.List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
java.util.List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
java.util.List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
void |
mergeCategories(long fromCategoryId,
long toCategoryId)
|
JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
|
AssetCategory |
updateAssetCategory(AssetCategory assetCategory)
|
AssetCategory |
updateAssetCategory(AssetCategory assetCategory,
boolean merge)
|
AssetCategory |
updateCategory(long userId,
long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
|
addAssetCategory
AssetCategory addAssetCategory(AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
createAssetCategory
AssetCategory createAssetCategory(long categoryId)
deleteAssetCategory
void deleteAssetCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteAssetCategory
void deleteAssetCategory(AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getAssetCategory
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetCategory getAssetCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetCategoryByUuidAndGroupId
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetCategory getAssetCategoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getAssetCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getAssetCategories(int start,
int end)
throws SystemException
- Throws:
SystemException
getAssetCategoriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getAssetCategoriesCount()
throws SystemException
- Throws:
SystemException
updateAssetCategory
AssetCategory updateAssetCategory(AssetCategory assetCategory)
throws SystemException
- Throws:
SystemException
updateAssetCategory
AssetCategory updateAssetCategory(AssetCategory assetCategory,
boolean merge)
throws SystemException
- Throws:
SystemException
addCategory
AssetCategory addCategory(java.lang.String uuid,
long userId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
void addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
void addCategoryResources(AssetCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
void deleteCategory(AssetCategory category)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabularyCategories
void deleteVocabularyCategories(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getCategories()
throws SystemException
- Throws:
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getCategories(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getCategories(java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getCategory
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getCategoryIds(java.lang.String className,
long classPK)
throws SystemException
- Throws:
SystemException
getChildCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getChildCategoriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getChildCategoriesCount(long parentCategoryId)
throws SystemException
- Throws:
SystemException
getEntryCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getEntryCategories(long entryId)
throws SystemException
- Throws:
SystemException
getVocabularyCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyRootCategories
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
mergeCategories
void mergeCategories(long fromCategoryId,
long toCategoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateCategory
AssetCategory updateCategory(long userId,
long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
long vocabularyId,
java.lang.String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException