public class AssetCategoryLocalServiceImpl extends AssetCategoryLocalServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetCategoryPropertyFinder, assetCategoryPropertyLocalService, assetCategoryPropertyPersistence, assetCategoryPropertyService, assetCategoryService, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, assetVocabularyService, classNameLocalService, classNamePersistence, classNameService, 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 groupId,
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,
long groupId,
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,
com.liferay.portal.service.permission.ModelPermissions modelPermissions) |
protected com.liferay.portal.kernel.search.SearchContext |
buildSearchContext(long companyId,
long[] groupIds,
java.lang.String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
void |
deleteCategories(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories) |
void |
deleteCategories(long[] categoryIds) |
com.liferay.portlet.asset.model.AssetCategory |
deleteCategory(com.liferay.portlet.asset.model.AssetCategory category) |
com.liferay.portlet.asset.model.AssetCategory |
deleteCategory(com.liferay.portlet.asset.model.AssetCategory category,
boolean skipRebuildTree) |
com.liferay.portlet.asset.model.AssetCategory |
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(com.liferay.portal.kernel.search.Hits hits) |
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<com.liferay.portlet.asset.model.AssetCategory> 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<com.liferay.portlet.asset.model.AssetCategory> 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<com.liferay.portlet.asset.model.AssetCategory> 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<com.liferay.portlet.asset.model.AssetCategory> obc) |
int |
getVocabularyRootCategoriesCount(long vocabularyId) |
com.liferay.portlet.asset.model.AssetCategory |
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.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
java.lang.String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> |
searchCategories(long companyId,
long groupIds,
java.lang.String title,
long vocabularyId,
int start,
int end) |
protected com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> |
searchCategories(com.liferay.portal.kernel.search.SearchContext searchContext) |
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, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAssetCategory, fetchAssetCategoryByUuidAndGroupId, getActionableDynamicQuery, getAssetCategories, getAssetCategoriesByUuidAndCompanyId, getAssetCategoriesByUuidAndCompanyId, getAssetCategoriesCount, getAssetCategory, getAssetCategoryByUuidAndGroupId, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetCategoryPropertyFinder, getAssetCategoryPropertyLocalService, getAssetCategoryPropertyPersistence, getAssetCategoryPropertyService, getAssetCategoryService, getAssetEntryAssetCategories, getAssetEntryAssetCategories, getAssetEntryAssetCategories, getAssetEntryAssetCategoriesCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryPrimaryKeys, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getExportActionableDynamicQuery, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, hasAssetEntryAssetCategories, hasAssetEntryAssetCategory, initActionableDynamicQuery, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetCategoryPropertyFinder, setAssetCategoryPropertyLocalService, setAssetCategoryPropertyPersistence, setAssetCategoryPropertyService, setAssetCategoryService, setAssetEntryAssetCategories, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateAssetCategory@Indexable(type=REINDEX)
public com.liferay.portlet.asset.model.AssetCategory addCategory(long userId,
long groupId,
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.PortalExceptionpublic com.liferay.portlet.asset.model.AssetCategory addCategory(long userId,
long groupId,
java.lang.String title,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic void addCategoryResources(com.liferay.portlet.asset.model.AssetCategory category,
com.liferay.portal.service.permission.ModelPermissions modelPermissions)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCategories(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteCategories(long[] categoryIds)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portlet.asset.model.AssetCategory deleteCategory(com.liferay.portlet.asset.model.AssetCategory category)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=DELETE)
@SystemEvent(type=1)
public com.liferay.portlet.asset.model.AssetCategory deleteCategory(com.liferay.portlet.asset.model.AssetCategory category,
boolean skipRebuildTree)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portlet.asset.model.AssetCategory deleteCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteVocabularyCategories(long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portlet.asset.model.AssetCategory fetchCategory(long categoryId)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories()
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(com.liferay.portal.kernel.search.Hits hits)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@ThreadLocalCachable
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(long classNameId,
long classPK)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(java.lang.String className,
long classPK)
public com.liferay.portlet.asset.model.AssetCategory getCategory(long categoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic 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.PortalExceptionpublic long[] getCategoryIds(java.lang.String className,
long classPK)
public java.lang.String[] getCategoryNames()
public java.lang.String[] getCategoryNames(long classNameId,
long classPK)
public java.lang.String[] getCategoryNames(java.lang.String className,
long classPK)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(long parentCategoryId)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
public int getChildCategoriesCount(long parentCategoryId)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getEntryCategories(long entryId)
public java.util.List<java.lang.Long> getSubcategoryIds(long parentCategoryId)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
public int getVocabularyCategoriesCount(long vocabularyId)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.asset.model.AssetCategory> obc)
public int getVocabularyRootCategoriesCount(long vocabularyId)
@Indexable(type=REINDEX)
public com.liferay.portlet.asset.model.AssetCategory mergeCategories(long fromCategoryId,
long toCategoryId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX)
public 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.PortalExceptionpublic void rebuildTree(long groupId,
boolean force)
public java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(long companyId,
long groupIds,
java.lang.String title,
long vocabularyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(long companyId,
long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(long companyId,
long[] groupIds,
java.lang.String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException@Indexable(type=REINDEX)
public 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.PortalExceptionprotected com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId,
long[] groupIds,
java.lang.String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end)
protected 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 com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.asset.model.AssetCategory> searchCategories(com.liferay.portal.kernel.search.SearchContext searchContext)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void updateChildrenVocabularyId(com.liferay.portlet.asset.model.AssetCategory category,
long vocabularyId)
protected void validate(long categoryId,
long parentCategoryId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException