public class AssetCategoryLocalServiceImpl extends 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, resourceLocalService, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
AssetCategoryLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.asset.model.AssetCategory |
addCategory(long userId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long vocabularyId,
java.lang.String[] categoryProperties,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.asset.model.AssetCategory |
addCategory(long userId,
java.lang.String title,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
addCategoryResources(com.liferay.portlet.asset.model.AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(com.liferay.portlet.asset.model.AssetCategory category,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
deleteCategory(com.liferay.portlet.asset.model.AssetCategory category) |
protected void |
deleteCategory(com.liferay.portlet.asset.model.AssetCategory category,
boolean childCategory) |
void |
deleteCategory(long categoryId) |
void |
deleteVocabularyCategories(long vocabularyId) |
com.liferay.portlet.asset.model.AssetCategory |
fetchCategory(long categoryId) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getCategories() |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getCategories(long classNameId,
long classPK) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getCategories(java.lang.String className,
long classPK) |
com.liferay.portlet.asset.model.AssetCategory |
getCategory(long categoryId) |
com.liferay.portlet.asset.model.AssetCategory |
getCategory(java.lang.String uuid,
long groupId) |
protected long[] |
getCategoryIds(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories) |
long[] |
getCategoryIds(java.lang.String className,
long classPK) |
java.lang.String[] |
getCategoryNames() |
protected java.lang.String[] |
getCategoryNames(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories) |
java.lang.String[] |
getCategoryNames(long classNameId,
long classPK) |
java.lang.String[] |
getCategoryNames(java.lang.String className,
long classPK) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getChildCategories(long parentCategoryId) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getChildCategoriesCount(long parentCategoryId) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getEntryCategories(long entryId) |
java.util.List<java.lang.Long> |
getSubcategoryIds(long parentCategoryId) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getVocabularyCategoriesCount(long vocabularyId) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getVocabularyRootCategoriesCount(long vocabularyId) |
void |
mergeCategories(long fromCategoryId,
long toCategoryId) |
com.liferay.portlet.asset.model.AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
rebuildTree(long groupId,
boolean force) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end) |
com.liferay.portlet.asset.model.AssetCategory |
updateCategory(long userId,
long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long vocabularyId,
java.lang.String[] categoryProperties,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
updateChildrenVocabularyId(com.liferay.portlet.asset.model.AssetCategory category,
long vocabularyId) |
protected void |
validate(long categoryId,
long parentCategoryId,
java.lang.String name,
long vocabularyId) |
addAssetCategory, addAssetEntryAssetCategories, addAssetEntryAssetCategories, addAssetEntryAssetCategory, addAssetEntryAssetCategory, afterPropertiesSet, clearAssetEntryAssetCategories, createAssetCategory, deleteAssetCategory, deleteAssetCategory, deleteAssetEntryAssetCategories, deleteAssetEntryAssetCategories, deleteAssetEntryAssetCategory, deleteAssetEntryAssetCategory, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAssetCategory, fetchAssetCategoryByUuidAndCompanyId, fetchAssetCategoryByUuidAndGroupId, getAssetCategories, getAssetCategoriesCount, getAssetCategory, getAssetCategoryByUuidAndCompanyId, 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, getResourceLocalService, 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, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetCategorypublic com.liferay.portlet.asset.model.AssetCategory addCategory(long userId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long vocabularyId,
java.lang.String[] categoryProperties,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategory addCategory(long userId,
java.lang.String title,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addCategoryResources(com.liferay.portlet.asset.model.AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addCategoryResources(com.liferay.portlet.asset.model.AssetCategory category,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteCategory(com.liferay.portlet.asset.model.AssetCategory category)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteVocabularyCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategory fetchCategory(long categoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemException@ThreadLocalCachable
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategory getCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategory getCategory(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic long[] getCategoryIds(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String[] getCategoryNames()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String[] getCategoryNames(long classNameId,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String[] getCategoryNames(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getChildCategoriesCount(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(long entryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<java.lang.Long> getSubcategoryIds(long parentCategoryId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getVocabularyCategoriesCount(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getVocabularyRootCategoriesCount(long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void mergeCategories(long fromCategoryId,
long toCategoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategory moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void rebuildTree(long groupId,
boolean force)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategory updateCategory(long userId,
long categoryId,
long parentCategoryId,
java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
long vocabularyId,
java.lang.String[] categoryProperties,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void deleteCategory(com.liferay.portlet.asset.model.AssetCategory category,
boolean childCategory)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected long[] getCategoryIds(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories)
protected java.lang.String[] getCategoryNames(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories)
protected void updateChildrenVocabularyId(com.liferay.portlet.asset.model.AssetCategory category,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void validate(long categoryId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException