public class AssetCategoryLocalServiceImpl extends AssetCategoryLocalServiceBaseImpl
assetCategoryFinder, assetCategoryLocalService, assetCategoryPersistence, assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetVocabularyFinder, assetVocabularyLocalService, assetVocabularyPersistence, classNameLocalService, classNamePersistence, counterLocalService, persistedModelLocalServiceRegistry, resourceLocalService, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
AssetCategoryLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.asset.kernel.model.AssetCategory |
addCategory(long userId,
long groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.asset.kernel.model.AssetCategory |
addCategory(long userId,
long groupId,
String title,
long vocabularyId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addCategoryResources(com.liferay.asset.kernel.model.AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(com.liferay.asset.kernel.model.AssetCategory category,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) |
protected com.liferay.portal.kernel.search.SearchContext |
buildSearchContext(long companyId,
long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
void |
deleteCategories(List<com.liferay.asset.kernel.model.AssetCategory> categories) |
void |
deleteCategories(long[] categoryIds) |
com.liferay.asset.kernel.model.AssetCategory |
deleteCategory(com.liferay.asset.kernel.model.AssetCategory category) |
com.liferay.asset.kernel.model.AssetCategory |
deleteCategory(com.liferay.asset.kernel.model.AssetCategory category,
boolean skipRebuildTree) |
com.liferay.asset.kernel.model.AssetCategory |
deleteCategory(long categoryId) |
void |
deleteVocabularyCategories(long vocabularyId) |
com.liferay.asset.kernel.model.AssetCategory |
fetchCategory(long categoryId) |
com.liferay.asset.kernel.model.AssetCategory |
fetchCategory(long groupId,
long parentCategoryId,
String name,
long vocabularyId) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getCategories() |
List<com.liferay.asset.kernel.model.AssetCategory> |
getCategories(com.liferay.portal.kernel.search.Hits hits) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getCategories(long classNameId,
long classPK) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getCategories(String className,
long classPK) |
com.liferay.asset.kernel.model.AssetCategory |
getCategory(long categoryId) |
com.liferay.asset.kernel.model.AssetCategory |
getCategory(String uuid,
long groupId) |
protected long[] |
getCategoryIds(List<com.liferay.asset.kernel.model.AssetCategory> categories) |
long[] |
getCategoryIds(String className,
long classPK) |
String[] |
getCategoryNames() |
protected String[] |
getCategoryNames(List<com.liferay.asset.kernel.model.AssetCategory> categories) |
String[] |
getCategoryNames(long classNameId,
long classPK) |
String[] |
getCategoryNames(String className,
long classPK) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getChildCategories(long parentCategoryId) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getChildCategories(long parentCategoryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
int |
getChildCategoriesCount(long parentCategoryId) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getDescendantCategories(com.liferay.asset.kernel.model.AssetCategory category) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getEntryCategories(long entryId) |
List<Long> |
getSubcategoryIds(long parentCategoryId) |
long[] |
getViewableCategoryIds(String className,
long classPK,
long[] categoryIds) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
int |
getVocabularyCategoriesCount(long vocabularyId) |
List<com.liferay.asset.kernel.model.AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc) |
int |
getVocabularyRootCategoriesCount(long vocabularyId) |
com.liferay.asset.kernel.model.AssetCategory |
mergeCategories(long fromCategoryId,
long toCategoryId) |
com.liferay.asset.kernel.model.AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
rebuildTree(long groupId,
boolean force) |
List<com.liferay.asset.kernel.model.AssetCategory> |
search(long groupId,
String name,
String[] categoryProperties,
int start,
int end) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
com.liferay.portal.kernel.search.Sort sort) |
com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> |
searchCategories(long companyId,
long groupIds,
String title,
long vocabularyId,
int start,
int end) |
protected com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> |
searchCategories(com.liferay.portal.kernel.search.SearchContext searchContext) |
com.liferay.asset.kernel.model.AssetCategory |
updateCategory(long userId,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
updateChildrenVocabularyId(com.liferay.asset.kernel.model.AssetCategory category,
long vocabularyId) |
protected void |
validate(long categoryId,
long parentCategoryId,
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, fetchAssetCategoryByReferenceCode, fetchAssetCategoryByUuidAndGroupId, getActionableDynamicQuery, getAssetCategories, getAssetCategoriesByUuidAndCompanyId, getAssetCategoriesByUuidAndCompanyId, getAssetCategoriesCount, getAssetCategory, getAssetCategoryByUuidAndGroupId, getAssetCategoryFinder, getAssetCategoryLocalService, getAssetCategoryPersistence, getAssetEntryAssetCategories, getAssetEntryAssetCategories, getAssetEntryAssetCategories, getAssetEntryAssetCategoriesCount, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryPrimaryKeys, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getClassNameLocalService, getClassNamePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getUserFinder, getUserLocalService, getUserPersistence, hasAssetEntryAssetCategories, hasAssetEntryAssetCategory, initActionableDynamicQuery, runSQL, setAssetCategoryFinder, setAssetCategoryLocalService, setAssetCategoryPersistence, setAssetEntryAssetCategories, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setClassNameLocalService, setClassNamePersistence, setCounterLocalService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, updateAssetCategory
@Indexable(type=REINDEX) public com.liferay.asset.kernel.model.AssetCategory addCategory(long userId, long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetCategory addCategory(long userId, long groupId, String title, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addCategoryResources(com.liferay.asset.kernel.model.AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addCategoryResources(com.liferay.asset.kernel.model.AssetCategory category, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteCategories(List<com.liferay.asset.kernel.model.AssetCategory> categories) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteCategories(long[] categoryIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetCategory deleteCategory(com.liferay.asset.kernel.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.asset.kernel.model.AssetCategory deleteCategory(com.liferay.asset.kernel.model.AssetCategory category, boolean skipRebuildTree) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetCategory deleteCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteVocabularyCategories(long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetCategory fetchCategory(long categoryId)
public com.liferay.asset.kernel.model.AssetCategory fetchCategory(long groupId, long parentCategoryId, String name, long vocabularyId)
public List<com.liferay.asset.kernel.model.AssetCategory> getCategories()
public List<com.liferay.asset.kernel.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 List<com.liferay.asset.kernel.model.AssetCategory> getCategories(long classNameId, long classPK)
public List<com.liferay.asset.kernel.model.AssetCategory> getCategories(String className, long classPK)
public com.liferay.asset.kernel.model.AssetCategory getCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.asset.kernel.model.AssetCategory getCategory(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public long[] getCategoryIds(String className, long classPK)
public String[] getCategoryNames()
public String[] getCategoryNames(long classNameId, long classPK)
public String[] getCategoryNames(String className, long classPK)
public List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(long parentCategoryId)
public List<com.liferay.asset.kernel.model.AssetCategory> getChildCategories(long parentCategoryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
public int getChildCategoriesCount(long parentCategoryId)
public List<com.liferay.asset.kernel.model.AssetCategory> getDescendantCategories(com.liferay.asset.kernel.model.AssetCategory category)
public List<com.liferay.asset.kernel.model.AssetCategory> getEntryCategories(long entryId)
public List<Long> getSubcategoryIds(long parentCategoryId)
public long[] getViewableCategoryIds(String className, long classPK, long[] categoryIds) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
public List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
public int getVocabularyCategoriesCount(long vocabularyId)
public List<com.liferay.asset.kernel.model.AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.asset.kernel.model.AssetCategory> obc)
public int getVocabularyRootCategoriesCount(long vocabularyId)
@Indexable(type=REINDEX) public com.liferay.asset.kernel.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.asset.kernel.model.AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void rebuildTree(long groupId, boolean force)
public List<com.liferay.asset.kernel.model.AssetCategory> search(long groupId, String name, String[] categoryProperties, int start, int end)
public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> searchCategories(long companyId, long groupIds, String title, long vocabularyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Indexable(type=REINDEX) public com.liferay.asset.kernel.model.AssetCategory updateCategory(long userId, long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end, com.liferay.portal.kernel.search.Sort sort)
protected long[] getCategoryIds(List<com.liferay.asset.kernel.model.AssetCategory> categories)
protected String[] getCategoryNames(List<com.liferay.asset.kernel.model.AssetCategory> categories)
protected com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.asset.kernel.model.AssetCategory> searchCategories(com.liferay.portal.kernel.search.SearchContext searchContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void updateChildrenVocabularyId(com.liferay.asset.kernel.model.AssetCategory category, long vocabularyId)
protected void validate(long categoryId, long parentCategoryId, String name, long vocabularyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException