com.liferay.portlet.asset.service.impl
Class AssetCategoryLocalServiceImpl
java.lang.Object
com.liferay.portlet.asset.service.base.AssetCategoryLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetCategoryLocalServiceImpl
- All Implemented Interfaces:
- AssetCategoryLocalService
public class AssetCategoryLocalServiceImpl
- extends AssetCategoryLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.asset.service.base.AssetCategoryLocalServiceBaseImpl |
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetLinkLocalService, assetLinkPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagPropertyFinder, assetTagPropertyKeyFinder, assetTagPropertyLocalService, assetTagPropertyPersistence, assetTagPropertyService, assetTagService, assetTagStatsLocalService, assetTagStatsPersistence, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
AssetCategory |
addCategory(long userId,
long parentCategoryId,
Map<Locale,String> titleMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
void |
addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(AssetCategory category,
String[] communityPermissions,
String[] guestPermissions)
|
void |
deleteCategory(AssetCategory category)
|
void |
deleteCategory(long categoryId)
|
void |
deleteVocabularyCategories(long vocabularyId)
|
List<AssetCategory> |
getCategories()
|
List<AssetCategory> |
getCategories(long classNameId,
long classPK)
|
List<AssetCategory> |
getCategories(String className,
long classPK)
|
AssetCategory |
getCategory(long categoryId)
|
protected long[] |
getCategoryIds(List<AssetCategory> categories)
|
long[] |
getCategoryIds(String className,
long classPK)
|
List<AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
|
int |
getChildCategoriesCount(long parentCategoryId)
|
List<AssetCategory> |
getEntryCategories(long entryId)
|
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> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
void |
mergeCategories(long fromCategoryId,
long toCategoryId)
|
JSONArray |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end)
|
AssetCategory |
updateCategory(long userId,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
protected void |
validate(long categoryId,
long parentCategoryId,
String name,
long vocabularyId)
|
Methods inherited from class com.liferay.portlet.asset.service.base.AssetCategoryLocalServiceBaseImpl |
addAssetCategory, createAssetCategory, deleteAssetCategory, deleteAssetCategory, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAssetCategories, getAssetCategoriesCount, getAssetCategory, getAssetCategoryByUuidAndGroupId, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetCategory, updateAssetCategory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetCategoryLocalServiceImpl
public AssetCategoryLocalServiceImpl()
addCategory
public AssetCategory addCategory(long userId,
long parentCategoryId,
Map<Locale,String> titleMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(AssetCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(AssetCategory category,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public void deleteCategory(AssetCategory category)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteVocabularyCategories
public void deleteVocabularyCategories(long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
public List<AssetCategory> getCategories()
throws SystemException
- Throws:
SystemException
getCategories
public List<AssetCategory> getCategories(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getCategories
public List<AssetCategory> getCategories(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getCategory
public AssetCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
public long[] getCategoryIds(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getChildCategories
public List<AssetCategory> getChildCategories(long parentCategoryId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getChildCategoriesCount
public int getChildCategoriesCount(long parentCategoryId)
throws SystemException
- Throws:
SystemException
getEntryCategories
public List<AssetCategory> getEntryCategories(long entryId)
throws SystemException
- Throws:
SystemException
getVocabularyCategories
public List<AssetCategory> getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyCategories
public List<AssetCategory> getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyRootCategories
public List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
mergeCategories
public void mergeCategories(long fromCategoryId,
long toCategoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
public JSONArray search(long groupId,
String name,
String[] categoryProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateCategory
public AssetCategory updateCategory(long userId,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
protected long[] getCategoryIds(List<AssetCategory> categories)
validate
protected void validate(long categoryId,
long parentCategoryId,
String name,
long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException