@ProviderType public class AssetCategoryLocalServiceWrapper extends Object implements AssetCategoryLocalService, ServiceWrapper<AssetCategoryLocalService>
AssetCategoryLocalService
.AssetCategoryLocalService
Constructor and Description |
---|
AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService) |
Modifier and Type | Method and Description |
---|---|
AssetCategory |
addAssetCategory(AssetCategory assetCategory)
Adds the asset category to the database.
|
void |
addAssetEntryAssetCategories(long entryId,
List<AssetCategory> assetCategories) |
void |
addAssetEntryAssetCategories(long entryId,
long[] categoryIds) |
void |
addAssetEntryAssetCategory(long entryId,
AssetCategory assetCategory) |
void |
addAssetEntryAssetCategory(long entryId,
long categoryId) |
AssetCategory |
addCategory(long userId,
long groupId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
AssetCategory |
addCategory(long userId,
long groupId,
String title,
long vocabularyId,
ServiceContext serviceContext) |
void |
addCategoryResources(AssetCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(AssetCategory category,
ModelPermissions modelPermissions) |
void |
clearAssetEntryAssetCategories(long entryId) |
AssetCategory |
createAssetCategory(long categoryId)
Creates a new asset category with the primary key.
|
AssetCategory |
deleteAssetCategory(AssetCategory assetCategory)
Deletes the asset category from the database.
|
AssetCategory |
deleteAssetCategory(long categoryId)
Deletes the asset category with the primary key from the database.
|
void |
deleteAssetEntryAssetCategories(long entryId,
List<AssetCategory> assetCategories) |
void |
deleteAssetEntryAssetCategories(long entryId,
long[] categoryIds) |
void |
deleteAssetEntryAssetCategory(long entryId,
AssetCategory assetCategory) |
void |
deleteAssetEntryAssetCategory(long entryId,
long categoryId) |
void |
deleteCategories(List<AssetCategory> categories) |
void |
deleteCategories(long[] categoryIds) |
AssetCategory |
deleteCategory(AssetCategory category) |
AssetCategory |
deleteCategory(AssetCategory category,
boolean skipRebuildTree) |
AssetCategory |
deleteCategory(long categoryId) |
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteVocabularyCategories(long vocabularyId) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
AssetCategory |
fetchAssetCategory(long categoryId) |
AssetCategory |
fetchAssetCategoryByReferenceCode(long companyId,
String externalReferenceCode)
Returns the asset category with the matching external reference code and company.
|
AssetCategory |
fetchAssetCategoryByUuidAndGroupId(String uuid,
long groupId)
Returns the asset category matching the UUID and group.
|
AssetCategory |
fetchCategory(long categoryId) |
AssetCategory |
fetchCategory(long groupId,
long parentCategoryId,
String name,
long vocabularyId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<AssetCategory> |
getAssetCategories(int start,
int end)
Returns a range of all the asset categories.
|
List<AssetCategory> |
getAssetCategoriesByUuidAndCompanyId(String uuid,
long companyId)
Returns all the asset categories matching the UUID and company.
|
List<AssetCategory> |
getAssetCategoriesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator)
Returns a range of asset categories matching the UUID and company.
|
int |
getAssetCategoriesCount()
Returns the number of asset categories.
|
AssetCategory |
getAssetCategory(long categoryId)
Returns the asset category with the primary key.
|
AssetCategory |
getAssetCategoryByUuidAndGroupId(String uuid,
long groupId)
Returns the asset category matching the UUID and group.
|
List<AssetCategory> |
getAssetEntryAssetCategories(long entryId) |
List<AssetCategory> |
getAssetEntryAssetCategories(long entryId,
int start,
int end) |
List<AssetCategory> |
getAssetEntryAssetCategories(long entryId,
int start,
int end,
OrderByComparator<AssetCategory> orderByComparator) |
int |
getAssetEntryAssetCategoriesCount(long entryId) |
long[] |
getAssetEntryPrimaryKeys(long categoryId)
Returns the entryIds of the asset entries associated with the asset category.
|
List<AssetCategory> |
getCategories() |
List<AssetCategory> |
getCategories(Hits hits) |
List<AssetCategory> |
getCategories(long classNameId,
long classPK) |
List<AssetCategory> |
getCategories(String className,
long classPK) |
AssetCategory |
getCategory(long categoryId) |
AssetCategory |
getCategory(String uuid,
long groupId) |
long[] |
getCategoryIds(String className,
long classPK) |
String[] |
getCategoryNames() |
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<AssetCategory> obc) |
int |
getChildCategoriesCount(long parentCategoryId) |
List<AssetCategory> |
getDescendantCategories(AssetCategory category) |
List<AssetCategory> |
getEntryCategories(long entryId) |
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
List<Long> |
getSubcategoryIds(long parentCategoryId) |
long[] |
getViewableCategoryIds(String className,
long classPK,
long[] categoryIds) |
List<AssetCategory> |
getVocabularyCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
List<AssetCategory> |
getVocabularyCategories(long parentCategoryId,
long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
int |
getVocabularyCategoriesCount(long vocabularyId) |
List<AssetCategory> |
getVocabularyRootCategories(long vocabularyId,
int start,
int end,
OrderByComparator<AssetCategory> obc) |
int |
getVocabularyRootCategoriesCount(long vocabularyId) |
AssetCategoryLocalService |
getWrappedService() |
boolean |
hasAssetEntryAssetCategories(long entryId) |
boolean |
hasAssetEntryAssetCategory(long entryId,
long categoryId) |
AssetCategory |
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) |
BaseModelSearchResult<AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
String title,
long[] vocabularyIds,
int start,
int end) |
BaseModelSearchResult<AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
String title,
long[] parentCategoryIds,
long[] vocabularyIds,
int start,
int end) |
BaseModelSearchResult<AssetCategory> |
searchCategories(long companyId,
long[] groupIds,
String title,
long[] vocabularyIds,
long[] parentCategoryIds,
int start,
int end,
Sort sort) |
BaseModelSearchResult<AssetCategory> |
searchCategories(long companyId,
long groupIds,
String title,
long vocabularyId,
int start,
int end) |
void |
setAssetEntryAssetCategories(long entryId,
long[] categoryIds) |
void |
setWrappedService(AssetCategoryLocalService assetCategoryLocalService) |
AssetCategory |
updateAssetCategory(AssetCategory assetCategory)
Updates the asset category in the database or adds it if it does not yet exist.
|
AssetCategory |
updateCategory(long userId,
long categoryId,
long parentCategoryId,
Map<Locale,String> titleMap,
Map<Locale,String> descriptionMap,
long vocabularyId,
String[] categoryProperties,
ServiceContext serviceContext) |
public AssetCategoryLocalServiceWrapper(AssetCategoryLocalService assetCategoryLocalService)
public AssetCategory addAssetCategory(AssetCategory assetCategory)
addAssetCategory
in interface AssetCategoryLocalService
assetCategory
- the asset categorypublic void addAssetEntryAssetCategories(long entryId, List<AssetCategory> assetCategories)
addAssetEntryAssetCategories
in interface AssetCategoryLocalService
public void addAssetEntryAssetCategories(long entryId, long[] categoryIds)
addAssetEntryAssetCategories
in interface AssetCategoryLocalService
public void addAssetEntryAssetCategory(long entryId, AssetCategory assetCategory)
addAssetEntryAssetCategory
in interface AssetCategoryLocalService
public void addAssetEntryAssetCategory(long entryId, long categoryId)
addAssetEntryAssetCategory
in interface AssetCategoryLocalService
public AssetCategory addCategory(long userId, long groupId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException
addCategory
in interface AssetCategoryLocalService
PortalException
public AssetCategory addCategory(long userId, long groupId, String title, long vocabularyId, ServiceContext serviceContext) throws PortalException
addCategory
in interface AssetCategoryLocalService
PortalException
public void addCategoryResources(AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException
addCategoryResources
in interface AssetCategoryLocalService
PortalException
public void addCategoryResources(AssetCategory category, ModelPermissions modelPermissions) throws PortalException
addCategoryResources
in interface AssetCategoryLocalService
PortalException
public void clearAssetEntryAssetCategories(long entryId)
clearAssetEntryAssetCategories
in interface AssetCategoryLocalService
public AssetCategory createAssetCategory(long categoryId)
createAssetCategory
in interface AssetCategoryLocalService
categoryId
- the primary key for the new asset categorypublic AssetCategory deleteAssetCategory(AssetCategory assetCategory)
deleteAssetCategory
in interface AssetCategoryLocalService
assetCategory
- the asset categorypublic AssetCategory deleteAssetCategory(long categoryId) throws PortalException
deleteAssetCategory
in interface AssetCategoryLocalService
categoryId
- the primary key of the asset categoryPortalException
- if a asset category with the primary key could not be foundpublic void deleteAssetEntryAssetCategories(long entryId, List<AssetCategory> assetCategories)
deleteAssetEntryAssetCategories
in interface AssetCategoryLocalService
public void deleteAssetEntryAssetCategories(long entryId, long[] categoryIds)
deleteAssetEntryAssetCategories
in interface AssetCategoryLocalService
public void deleteAssetEntryAssetCategory(long entryId, AssetCategory assetCategory)
deleteAssetEntryAssetCategory
in interface AssetCategoryLocalService
public void deleteAssetEntryAssetCategory(long entryId, long categoryId)
deleteAssetEntryAssetCategory
in interface AssetCategoryLocalService
public void deleteCategories(List<AssetCategory> categories) throws PortalException
deleteCategories
in interface AssetCategoryLocalService
PortalException
public void deleteCategories(long[] categoryIds) throws PortalException
deleteCategories
in interface AssetCategoryLocalService
PortalException
public AssetCategory deleteCategory(AssetCategory category) throws PortalException
deleteCategory
in interface AssetCategoryLocalService
PortalException
public AssetCategory deleteCategory(AssetCategory category, boolean skipRebuildTree) throws PortalException
deleteCategory
in interface AssetCategoryLocalService
PortalException
public AssetCategory deleteCategory(long categoryId) throws PortalException
deleteCategory
in interface AssetCategoryLocalService
PortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface AssetCategoryLocalService
deletePersistedModel
in interface PersistedModelLocalService
PortalException
public void deleteVocabularyCategories(long vocabularyId) throws PortalException
deleteVocabularyCategories
in interface AssetCategoryLocalService
PortalException
public DynamicQuery dynamicQuery()
dynamicQuery
in interface AssetCategoryLocalService
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount
in interface AssetCategoryLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic AssetCategory fetchAssetCategory(long categoryId)
fetchAssetCategory
in interface AssetCategoryLocalService
public AssetCategory fetchAssetCategoryByReferenceCode(long companyId, String externalReferenceCode)
fetchAssetCategoryByReferenceCode
in interface AssetCategoryLocalService
companyId
- the primary key of the companyexternalReferenceCode
- the asset category's external reference codenull
if a matching asset category could not be foundpublic AssetCategory fetchAssetCategoryByUuidAndGroupId(String uuid, long groupId)
fetchAssetCategoryByUuidAndGroupId
in interface AssetCategoryLocalService
uuid
- the asset category's UUIDgroupId
- the primary key of the groupnull
if a matching asset category could not be foundpublic AssetCategory fetchCategory(long categoryId)
fetchCategory
in interface AssetCategoryLocalService
public AssetCategory fetchCategory(long groupId, long parentCategoryId, String name, long vocabularyId)
fetchCategory
in interface AssetCategoryLocalService
public ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface AssetCategoryLocalService
public List<AssetCategory> getAssetCategories(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from AssetCategoryModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getAssetCategories
in interface AssetCategoryLocalService
start
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)public List<AssetCategory> getAssetCategoriesByUuidAndCompanyId(String uuid, long companyId)
getAssetCategoriesByUuidAndCompanyId
in interface AssetCategoryLocalService
uuid
- the UUID of the asset categoriescompanyId
- the primary key of the companypublic List<AssetCategory> getAssetCategoriesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
getAssetCategoriesByUuidAndCompanyId
in interface AssetCategoryLocalService
uuid
- the UUID of the asset categoriescompanyId
- the primary key of the companystart
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getAssetCategoriesCount()
getAssetCategoriesCount
in interface AssetCategoryLocalService
public AssetCategory getAssetCategory(long categoryId) throws PortalException
getAssetCategory
in interface AssetCategoryLocalService
categoryId
- the primary key of the asset categoryPortalException
- if a asset category with the primary key could not be foundpublic AssetCategory getAssetCategoryByUuidAndGroupId(String uuid, long groupId) throws PortalException
getAssetCategoryByUuidAndGroupId
in interface AssetCategoryLocalService
uuid
- the asset category's UUIDgroupId
- the primary key of the groupPortalException
- if a matching asset category could not be foundpublic List<AssetCategory> getAssetEntryAssetCategories(long entryId)
getAssetEntryAssetCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getAssetEntryAssetCategories(long entryId, int start, int end)
getAssetEntryAssetCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getAssetEntryAssetCategories(long entryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator)
getAssetEntryAssetCategories
in interface AssetCategoryLocalService
public int getAssetEntryAssetCategoriesCount(long entryId)
getAssetEntryAssetCategoriesCount
in interface AssetCategoryLocalService
public long[] getAssetEntryPrimaryKeys(long categoryId)
getAssetEntryPrimaryKeys
in interface AssetCategoryLocalService
categoryId
- the categoryId of the asset categorypublic List<AssetCategory> getCategories()
getCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getCategories(Hits hits) throws PortalException
getCategories
in interface AssetCategoryLocalService
PortalException
public List<AssetCategory> getCategories(long classNameId, long classPK)
getCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getCategories(String className, long classPK)
getCategories
in interface AssetCategoryLocalService
public AssetCategory getCategory(long categoryId) throws PortalException
getCategory
in interface AssetCategoryLocalService
PortalException
public AssetCategory getCategory(String uuid, long groupId) throws PortalException
getCategory
in interface AssetCategoryLocalService
PortalException
public long[] getCategoryIds(String className, long classPK)
getCategoryIds
in interface AssetCategoryLocalService
public String[] getCategoryNames()
getCategoryNames
in interface AssetCategoryLocalService
public String[] getCategoryNames(long classNameId, long classPK)
getCategoryNames
in interface AssetCategoryLocalService
public String[] getCategoryNames(String className, long classPK)
getCategoryNames
in interface AssetCategoryLocalService
public List<AssetCategory> getChildCategories(long parentCategoryId)
getChildCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> obc)
getChildCategories
in interface AssetCategoryLocalService
public int getChildCategoriesCount(long parentCategoryId)
getChildCategoriesCount
in interface AssetCategoryLocalService
public List<AssetCategory> getDescendantCategories(AssetCategory category)
getDescendantCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getEntryCategories(long entryId)
getEntryCategories
in interface AssetCategoryLocalService
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface AssetCategoryLocalService
public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface AssetCategoryLocalService
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface AssetCategoryLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface AssetCategoryLocalService
getPersistedModel
in interface PersistedModelLocalService
PortalException
public List<Long> getSubcategoryIds(long parentCategoryId)
getSubcategoryIds
in interface AssetCategoryLocalService
public long[] getViewableCategoryIds(String className, long classPK, long[] categoryIds) throws PortalException
getViewableCategoryIds
in interface AssetCategoryLocalService
PortalException
public List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyCategories
in interface AssetCategoryLocalService
public List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyCategories
in interface AssetCategoryLocalService
public int getVocabularyCategoriesCount(long vocabularyId)
getVocabularyCategoriesCount
in interface AssetCategoryLocalService
public List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> obc)
getVocabularyRootCategories
in interface AssetCategoryLocalService
public int getVocabularyRootCategoriesCount(long vocabularyId)
getVocabularyRootCategoriesCount
in interface AssetCategoryLocalService
public boolean hasAssetEntryAssetCategories(long entryId)
hasAssetEntryAssetCategories
in interface AssetCategoryLocalService
public boolean hasAssetEntryAssetCategory(long entryId, long categoryId)
hasAssetEntryAssetCategory
in interface AssetCategoryLocalService
public AssetCategory mergeCategories(long fromCategoryId, long toCategoryId) throws PortalException
mergeCategories
in interface AssetCategoryLocalService
PortalException
public AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException
moveCategory
in interface AssetCategoryLocalService
PortalException
public void rebuildTree(long groupId, boolean force)
rebuildTree
in interface AssetCategoryLocalService
public List<AssetCategory> search(long groupId, String name, String[] categoryProperties, int start, int end)
search
in interface AssetCategoryLocalService
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long groupIds, String title, long vocabularyId, int start, int end) throws PortalException
searchCategories
in interface AssetCategoryLocalService
PortalException
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws PortalException
searchCategories
in interface AssetCategoryLocalService
PortalException
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException
searchCategories
in interface AssetCategoryLocalService
PortalException
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) throws PortalException
searchCategories
in interface AssetCategoryLocalService
PortalException
public void setAssetEntryAssetCategories(long entryId, long[] categoryIds)
setAssetEntryAssetCategories
in interface AssetCategoryLocalService
public AssetCategory updateAssetCategory(AssetCategory assetCategory)
updateAssetCategory
in interface AssetCategoryLocalService
assetCategory
- the asset categorypublic AssetCategory updateCategory(long userId, long categoryId, long parentCategoryId, Map<Locale,String> titleMap, Map<Locale,String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) throws PortalException
updateCategory
in interface AssetCategoryLocalService
PortalException
public AssetCategoryLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<AssetCategoryLocalService>
public void setWrappedService(AssetCategoryLocalService assetCategoryLocalService)
setWrappedService
in interface ServiceWrapper<AssetCategoryLocalService>