com.liferay.portlet.asset.service.impl
Class AssetCategoryLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.asset.service.base.AssetCategoryLocalServiceBaseImpl
com.liferay.portlet.asset.service.impl.AssetCategoryLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, 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, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, counterLocalService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
AssetCategory |
addCategory(long userId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
void |
addCategoryResources(AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(AssetCategory category,
String[] groupPermissions,
String[] guestPermissions)
|
void |
deleteCategory(AssetCategory category)
|
protected void |
deleteCategory(AssetCategory category,
boolean childCategory)
|
void |
deleteCategory(long categoryId)
|
void |
deleteVocabularyCategories(long vocabularyId)
|
AssetCategory |
fetchCategory(long categoryId)
|
List<AssetCategory> |
getCategories()
|
List<AssetCategory> |
getCategories(long classNameId,
long classPK)
|
List<AssetCategory> |
getCategories(String className,
long classPK)
|
AssetCategory |
getCategory(long categoryId)
|
AssetCategory |
getCategory(String uuid,
long groupId)
|
protected long[] |
getCategoryIds(List<AssetCategory> categories)
|
long[] |
getCategoryIds(String className,
long classPK)
|
String[] |
getCategoryNames()
|
protected String[] |
getCategoryNames(List<AssetCategory> categories)
|
String[] |
getCategoryNames(long classNameId,
long classPK)
|
String[] |
getCategoryNames(String className,
long classPK)
|
List<AssetCategory> |
getChildCategories(long parentCategoryId)
|
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)
|
int |
getVocabularyCategoriesCount(long vocabularyId)
|
List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
|
int |
getVocabularyRootCategoriesCount(long vocabularyId)
|
void |
mergeCategories(long fromCategoryId,
long toCategoryId)
|
AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext)
|
void |
rebuildTree(long groupId,
boolean force)
|
List<AssetCategory> |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end)
|
AssetCategory |
updateCategory(long userId,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
|
protected void |
updateChildrenVocabularyId(AssetCategory category,
long vocabularyId)
|
protected void |
validate(long categoryId,
long parentCategoryId,
String name,
long vocabularyId)
|
Methods inherited from class com.liferay.portlet.asset.service.base.AssetCategoryLocalServiceBaseImpl |
addAssetCategory, addAssetEntryAssetCategories, addAssetEntryAssetCategories, addAssetEntryAssetCategory, addAssetEntryAssetCategory, afterPropertiesSet, clearAssetEntryAssetCategories, createAssetCategory, deleteAssetCategory, deleteAssetCategory, deleteAssetEntryAssetCategories, deleteAssetEntryAssetCategories, deleteAssetEntryAssetCategory, deleteAssetEntryAssetCategory, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAssetCategory, getAssetCategories, getAssetCategoriesCount, getAssetCategory, getAssetCategoryByUuidAndGroupId, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryAssetCategories, getAssetEntryAssetCategories, getAssetEntryAssetCategories, getAssetEntryAssetCategoriesCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetLinkLocalService, getAssetLinkPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagPropertyFinder, getAssetTagPropertyKeyFinder, getAssetTagPropertyLocalService, getAssetTagPropertyPersistence, getAssetTagPropertyService, getAssetTagService, getAssetTagStatsLocalService, getAssetTagStatsPersistence, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasAssetEntryAssetCategories, hasAssetEntryAssetCategory, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryAssetCategories, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetLinkLocalService, setAssetLinkPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagPropertyFinder, setAssetTagPropertyKeyFinder, setAssetTagPropertyLocalService, setAssetTagPropertyPersistence, setAssetTagPropertyService, setAssetTagService, setAssetTagStatsLocalService, setAssetTagStatsPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, 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,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(AssetCategory category,
String[] groupPermissions,
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
fetchCategory
public AssetCategory fetchCategory(long categoryId)
throws SystemException
- Throws:
SystemException
getCategories
public List<AssetCategory> getCategories()
throws SystemException
- Throws:
SystemException
getCategories
@ThreadLocalCachable
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
getCategory
public AssetCategory getCategory(String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
public long[] getCategoryIds(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getCategoryNames
public String[] getCategoryNames()
throws SystemException
- Throws:
SystemException
getCategoryNames
public String[] getCategoryNames(long classNameId,
long classPK)
throws SystemException
- Throws:
SystemException
getCategoryNames
public String[] getCategoryNames(String className,
long classPK)
throws SystemException
- Throws:
SystemException
getChildCategories
public List<AssetCategory> getChildCategories(long parentCategoryId)
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
getVocabularyCategoriesCount
public int getVocabularyCategoriesCount(long vocabularyId)
throws SystemException
- Throws:
SystemException
getVocabularyRootCategories
public List<AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
getVocabularyRootCategoriesCount
public int getVocabularyRootCategoriesCount(long vocabularyId)
throws SystemException
- Throws:
SystemException
mergeCategories
public void mergeCategories(long fromCategoryId,
long toCategoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
moveCategory
public AssetCategory moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
rebuildTree
public void rebuildTree(long groupId,
boolean force)
throws SystemException
- Throws:
SystemException
search
public List<AssetCategory> 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,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
protected void deleteCategory(AssetCategory category,
boolean childCategory)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategoryIds
protected long[] getCategoryIds(List<AssetCategory> categories)
getCategoryNames
protected String[] getCategoryNames(List<AssetCategory> categories)
updateChildrenVocabularyId
protected void updateChildrenVocabularyId(AssetCategory category,
long vocabularyId)
throws SystemException
- Throws:
SystemException
validate
protected void validate(long categoryId,
long parentCategoryId,
String name,
long vocabularyId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException