public class AssetCategoryServiceImpl extends AssetCategoryServiceBaseImpl
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, resourceLocalService, userFinder, userLocalService, userPersistence, userService| Constructor and Description |
|---|
AssetCategoryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portlet.asset.model.AssetCategory |
addCategory(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(java.lang.String title,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext) |
protected com.liferay.portal.kernel.search.SearchContext |
buildSearchContext(long companyId,
long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
void |
deleteCategories(long[] categoryIds)
Deprecated.
As of 6.2.0, Replaced by
deleteCategories(long[],
ServiceContext) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
deleteCategories(long[] categoryIds,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
deleteCategory(long categoryId) |
protected java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
filterCategories(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories) |
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) |
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) |
com.liferay.portal.kernel.json.JSONArray |
getJSONSearch(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
search(long[], String,
long[], int, int) |
com.liferay.portal.kernel.json.JSONObject |
getJSONVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator) |
com.liferay.portal.kernel.json.JSONObject |
getJSONVocabularyCategories(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyCategoriesDisplay(long, String, long, int, int,
OrderByComparator) |
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) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getVocabularyCategories(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getVocabularyCategoriesCount(long groupId,
long vocabularyId) |
int |
getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId) |
com.liferay.portlet.asset.model.AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
com.liferay.portlet.asset.model.AssetCategoryDisplay |
getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
Deprecated.
As of 6.2.0, replaced by
getVocabularyRootCategories(long, long, int, int,
OrderByComparator) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
getVocabularyRootCategories(long groupId,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getVocabularyRootCategoriesCount(long groupId,
long vocabularyId) |
com.liferay.portlet.asset.model.AssetCategory |
moveCategory(long categoryId,
long parentCategoryId,
long vocabularyId,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.json.JSONArray |
search(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
search(long groupId,
java.lang.String keywords,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end) |
protected java.util.List<com.liferay.portlet.asset.model.AssetCategory> |
searchCategories(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end) |
protected com.liferay.portal.kernel.json.JSONArray |
toJSONArray(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories) |
com.liferay.portlet.asset.model.AssetCategory |
updateCategory(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) |
afterPropertiesSet, destroy, 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, getAssetVocabularyFinder, getAssetVocabularyLocalService, getAssetVocabularyPersistence, getAssetVocabularyService, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getResourceLocalService, 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, setAssetVocabularyFinder, setAssetVocabularyLocalService, setAssetVocabularyPersistence, setAssetVocabularyService, setBeanIdentifier, setCounterLocalService, setResourceLocalService, setUserFinder, setUserLocalService, setUserPersistence, setUserServicepublic com.liferay.portlet.asset.model.AssetCategory addCategory(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(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 deleteCategories(long[] categoryIds)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
deleteCategories(long[],
ServiceContext)com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> deleteCategories(long[] categoryIds,
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 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 java.util.List<com.liferay.portlet.asset.model.AssetCategory> getCategories(java.lang.String className,
long classPK)
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(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 java.util.List<com.liferay.portlet.asset.model.AssetCategory> getChildCategories(long parentCategoryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.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.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.json.JSONArray getJSONSearch(long groupId,
java.lang.String name,
long[] vocabularyIds,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
search(long[], String,
long[], int, int)com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getVocabularyCategoriesDisplay(long, int, int,
OrderByComparator)com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.kernel.json.JSONObject getJSONVocabularyCategories(long groupId,
java.lang.String title,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
getVocabularyCategoriesDisplay(long, String, long, int, int,
OrderByComparator)com.liferay.portal.kernel.exception.PortalExceptioncom.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.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.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.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyCategories(long groupId,
java.lang.String name,
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 groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getVocabularyCategoriesCount(long groupId,
java.lang.String name,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.asset.model.AssetCategoryDisplay getVocabularyCategoriesDisplay(long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
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.AssetCategoryDisplay getVocabularyCategoriesDisplay(long groupId,
java.lang.String name,
long vocabularyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.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.PortalException,
com.liferay.portal.kernel.exception.SystemException
getVocabularyRootCategories(long, long, int, int,
OrderByComparator)com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.asset.model.AssetCategory> getVocabularyRootCategories(long groupId,
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 groupId,
long vocabularyId)
throws com.liferay.portal.kernel.exception.SystemException
com.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 java.util.List<com.liferay.portlet.asset.model.AssetCategory> search(long groupId,
java.lang.String keywords,
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 com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] categoryProperties,
int start,
int end)
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.portal.kernel.json.JSONArray search(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end)
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 updateCategory(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 com.liferay.portal.kernel.search.SearchContext buildSearchContext(long companyId,
long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end)
protected java.util.List<com.liferay.portlet.asset.model.AssetCategory> filterCategories(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.util.List<com.liferay.portlet.asset.model.AssetCategory> searchCategories(long[] groupIds,
java.lang.String title,
long[] vocabularyIds,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.kernel.json.JSONArray toJSONArray(java.util.List<com.liferay.portlet.asset.model.AssetCategory> categories)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException