Class AssetCategoryLocalServiceWrapper
- All Implemented Interfaces:
AssetCategoryLocalService
,BaseLocalService
,CTService<AssetCategory>
,PersistedModelLocalService
,ServiceWrapper<AssetCategoryLocalService>
AssetCategoryLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAssetCategoryLocalServiceWrapper
(AssetCategoryLocalService assetCategoryLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAssetCategory
(AssetCategory assetCategory) Adds the asset category to the database.addCategory
(long userId, long groupId, String title, long vocabularyId, ServiceContext serviceContext) addCategory
(String externalReferenceCode, long userId, long groupId, long parentCategoryId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) void
addCategoryResources
(AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions) void
addCategoryResources
(AssetCategory category, ModelPermissions modelPermissions) createAssetCategory
(long categoryId) Creates a new asset category with the primary key.createPersistedModel
(Serializable primaryKeyObj) deleteAssetCategory
(long categoryId) Deletes the asset category with the primary key from the database.deleteAssetCategory
(AssetCategory assetCategory) Deletes the asset category from the database.void
deleteCategories
(long[] categoryIds) void
deleteCategories
(List<AssetCategory> categories) deleteCategory
(long categoryId) deleteCategory
(AssetCategory category) deleteCategory
(AssetCategory category, boolean skipRebuildTree) deletePersistedModel
(PersistedModel persistedModel) void
deleteVocabularyCategories
(long vocabularyId) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) <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.fetchAssetCategory
(long categoryId) fetchAssetCategoryByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchAssetCategoryByUuidAndGroupId
(String uuid, long groupId) Returns the asset category matching the UUID and group.fetchCategory
(long categoryId) fetchCategory
(long groupId, long parentCategoryId, String name, long vocabularyId) getAssetCategories
(int start, int end) Returns a range of all the asset categories.getAssetCategoriesByUuidAndCompanyId
(String uuid, long companyId) Returns all the asset categories matching the UUID and company.getAssetCategoriesByUuidAndCompanyId
(String uuid, long companyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) Returns a range of asset categories matching the UUID and company.int
Returns the number of asset categories.getAssetCategory
(long categoryId) Returns the asset category with the primary key.getAssetCategoryByExternalReferenceCode
(String externalReferenceCode, long groupId) getAssetCategoryByUuidAndGroupId
(String uuid, long groupId) Returns the asset category matching the UUID and group.getCategories
(long classNameId, long classPK) getCategories
(long classNameId, long classPK, int start, int end) getCategories
(Hits hits) getCategories
(String className, long classPK) int
getCategoriesCount
(long classNameId, long classPK) getCategory
(long categoryId) getCategory
(String uuid, long groupId) long[]
getCategoryIds
(String className, long classPK) String[]
String[]
getCategoryNames
(long classNameId, long classPK) String[]
getCategoryNames
(String className, long classPK) getChildCategories
(long parentCategoryId) getChildCategories
(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) int
getChildCategoriesCount
(long parentCategoryId) getDescendantCategories
(AssetCategory category) getEntryCategories
(long entryId) getExportActionableDynamicQuery
(PortletDataContext portletDataContext) Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) getSubcategoryIds
(long parentCategoryId) long[]
getViewableCategoryIds
(String className, long classPK, long[] categoryIds) getVocabularyCategories
(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) getVocabularyCategories
(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) int
getVocabularyCategoriesCount
(long vocabularyId) getVocabularyRootCategories
(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) int
getVocabularyRootCategoriesCount
(long vocabularyId) mergeCategories
(long fromCategoryId, long toCategoryId) moveCategory
(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) searchCategories
(long companyId, long[] groupIds, String title, long[] vocabularyIds, int start, int end) searchCategories
(long companyId, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) searchCategories
(long companyId, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) searchCategories
(long companyId, long groupIds, String title, long vocabularyId, int start, int end) void
setWrappedService
(AssetCategoryLocalService assetCategoryLocalService) updateAssetCategory
(AssetCategory assetCategory) Updates the asset category in the database or adds it if it does not yet exist.updateCategory
(long userId, long categoryId, long parentCategoryId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetCategory>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
AssetCategoryLocalServiceWrapper
public AssetCategoryLocalServiceWrapper() -
AssetCategoryLocalServiceWrapper
-
-
Method Details
-
addAssetCategory
Adds the asset category to the database. Also notifies the appropriate model listeners.Important: Inspect AssetCategoryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addAssetCategory
in interfaceAssetCategoryLocalService
- Parameters:
assetCategory
- the asset category- Returns:
- the asset category that was added
-
addCategory
public AssetCategory addCategory(long userId, long groupId, String title, long vocabularyId, ServiceContext serviceContext) throws PortalException - Specified by:
addCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
addCategory
public AssetCategory addCategory(String externalReferenceCode, long userId, long groupId, long parentCategoryId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) - Specified by:
addCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
addCategoryResources
public void addCategoryResources(AssetCategory category, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException - Specified by:
addCategoryResources
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
addCategoryResources
public void addCategoryResources(AssetCategory category, ModelPermissions modelPermissions) throws PortalException - Specified by:
addCategoryResources
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
createAssetCategory
Creates a new asset category with the primary key. Does not add the asset category to the database.- Specified by:
createAssetCategory
in interfaceAssetCategoryLocalService
- Parameters:
categoryId
- the primary key for the new asset category- Returns:
- the new asset category
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceAssetCategoryLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
deleteAssetCategory
Deletes the asset category from the database. Also notifies the appropriate model listeners.Important: Inspect AssetCategoryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteAssetCategory
in interfaceAssetCategoryLocalService
- Parameters:
assetCategory
- the asset category- Returns:
- the asset category that was removed
-
deleteAssetCategory
Deletes the asset category with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AssetCategoryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteAssetCategory
in interfaceAssetCategoryLocalService
- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category that was removed
- Throws:
PortalException
- if a asset category with the primary key could not be foundPortalException
-
deleteCategories
- Specified by:
deleteCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
deleteCategories
- Specified by:
deleteCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
deleteCategory
- Specified by:
deleteCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
deleteCategory
public AssetCategory deleteCategory(AssetCategory category, boolean skipRebuildTree) throws PortalException - Specified by:
deleteCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
deleteCategory
- Specified by:
deleteCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceAssetCategoryLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
deleteVocabularyCategories
- Specified by:
deleteVocabularyCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceAssetCategoryLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceAssetCategoryLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceAssetCategoryLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceAssetCategoryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
.- Specified by:
dynamicQuery
in interfaceAssetCategoryLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
.- Specified by:
dynamicQuery
in interfaceAssetCategoryLocalService
- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceAssetCategoryLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceAssetCategoryLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAssetCategory
- Specified by:
fetchAssetCategory
in interfaceAssetCategoryLocalService
-
fetchAssetCategoryByExternalReferenceCode
public AssetCategory fetchAssetCategoryByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchAssetCategoryByExternalReferenceCode
in interfaceAssetCategoryLocalService
-
fetchAssetCategoryByUuidAndGroupId
Returns the asset category matching the UUID and group.- Specified by:
fetchAssetCategoryByUuidAndGroupId
in interfaceAssetCategoryLocalService
- Parameters:
uuid
- the asset category's UUIDgroupId
- the primary key of the group- Returns:
- the matching asset category, or
null
if a matching asset category could not be found
-
fetchCategory
- Specified by:
fetchCategory
in interfaceAssetCategoryLocalService
-
fetchCategory
public AssetCategory fetchCategory(long groupId, long parentCategoryId, String name, long vocabularyId) - Specified by:
fetchCategory
in interfaceAssetCategoryLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceAssetCategoryLocalService
-
getAssetCategories
Returns a range of all the asset categories.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetCategoryModelImpl
.- Specified by:
getAssetCategories
in interfaceAssetCategoryLocalService
- Parameters:
start
- the lower bound of the range of asset categoriesend
- the upper bound of the range of asset categories (not inclusive)- Returns:
- the range of asset categories
-
getAssetCategoriesByUuidAndCompanyId
Returns all the asset categories matching the UUID and company.- Specified by:
getAssetCategoriesByUuidAndCompanyId
in interfaceAssetCategoryLocalService
- Parameters:
uuid
- the UUID of the asset categoriescompanyId
- the primary key of the company- Returns:
- the matching asset categories, or an empty list if no matches were found
-
getAssetCategoriesByUuidAndCompanyId
public 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.- Specified by:
getAssetCategoriesByUuidAndCompanyId
in interfaceAssetCategoryLocalService
- Parameters:
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 (optionallynull
)- Returns:
- the range of matching asset categories, or an empty list if no matches were found
-
getAssetCategoriesCount
public int getAssetCategoriesCount()Returns the number of asset categories.- Specified by:
getAssetCategoriesCount
in interfaceAssetCategoryLocalService
- Returns:
- the number of asset categories
-
getAssetCategory
Returns the asset category with the primary key.- Specified by:
getAssetCategory
in interfaceAssetCategoryLocalService
- Parameters:
categoryId
- the primary key of the asset category- Returns:
- the asset category
- Throws:
PortalException
- if a asset category with the primary key could not be foundPortalException
-
getAssetCategoryByExternalReferenceCode
public AssetCategory getAssetCategoryByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getAssetCategoryByExternalReferenceCode
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
getAssetCategoryByUuidAndGroupId
public AssetCategory getAssetCategoryByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the asset category matching the UUID and group.- Specified by:
getAssetCategoryByUuidAndGroupId
in interfaceAssetCategoryLocalService
- Parameters:
uuid
- the asset category's UUIDgroupId
- the primary key of the group- Returns:
- the matching asset category
- Throws:
PortalException
- if a matching asset category could not be foundPortalException
-
getCategories
- Specified by:
getCategories
in interfaceAssetCategoryLocalService
-
getCategories
- Specified by:
getCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
getCategories
- Specified by:
getCategories
in interfaceAssetCategoryLocalService
-
getCategories
- Specified by:
getCategories
in interfaceAssetCategoryLocalService
-
getCategories
- Specified by:
getCategories
in interfaceAssetCategoryLocalService
-
getCategoriesCount
public int getCategoriesCount(long classNameId, long classPK) - Specified by:
getCategoriesCount
in interfaceAssetCategoryLocalService
-
getCategory
- Specified by:
getCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
getCategory
- Specified by:
getCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
getCategoryIds
- Specified by:
getCategoryIds
in interfaceAssetCategoryLocalService
-
getCategoryNames
- Specified by:
getCategoryNames
in interfaceAssetCategoryLocalService
-
getCategoryNames
- Specified by:
getCategoryNames
in interfaceAssetCategoryLocalService
-
getCategoryNames
- Specified by:
getCategoryNames
in interfaceAssetCategoryLocalService
-
getChildCategories
- Specified by:
getChildCategories
in interfaceAssetCategoryLocalService
-
getChildCategories
public List<AssetCategory> getChildCategories(long parentCategoryId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) - Specified by:
getChildCategories
in interfaceAssetCategoryLocalService
-
getChildCategoriesCount
public int getChildCategoriesCount(long parentCategoryId) - Specified by:
getChildCategoriesCount
in interfaceAssetCategoryLocalService
-
getDescendantCategories
- Specified by:
getDescendantCategories
in interfaceAssetCategoryLocalService
-
getEntryCategories
- Specified by:
getEntryCategories
in interfaceAssetCategoryLocalService
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceAssetCategoryLocalService
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceAssetCategoryLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAssetCategoryLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceAssetCategoryLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
getSubcategoryIds
- Specified by:
getSubcategoryIds
in interfaceAssetCategoryLocalService
-
getViewableCategoryIds
public long[] getViewableCategoryIds(String className, long classPK, long[] categoryIds) throws PortalException - Specified by:
getViewableCategoryIds
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
getVocabularyCategories
public List<AssetCategory> getVocabularyCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) - Specified by:
getVocabularyCategories
in interfaceAssetCategoryLocalService
-
getVocabularyCategories
public List<AssetCategory> getVocabularyCategories(long parentCategoryId, long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) - Specified by:
getVocabularyCategories
in interfaceAssetCategoryLocalService
-
getVocabularyCategoriesCount
public int getVocabularyCategoriesCount(long vocabularyId) - Specified by:
getVocabularyCategoriesCount
in interfaceAssetCategoryLocalService
-
getVocabularyRootCategories
public List<AssetCategory> getVocabularyRootCategories(long vocabularyId, int start, int end, OrderByComparator<AssetCategory> orderByComparator) - Specified by:
getVocabularyRootCategories
in interfaceAssetCategoryLocalService
-
getVocabularyRootCategoriesCount
public int getVocabularyRootCategoriesCount(long vocabularyId) - Specified by:
getVocabularyRootCategoriesCount
in interfaceAssetCategoryLocalService
-
mergeCategories
- Specified by:
mergeCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
moveCategory
public AssetCategory moveCategory(long categoryId, long parentCategoryId, long vocabularyId, ServiceContext serviceContext) throws PortalException - Specified by:
moveCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
search
public List<AssetCategory> search(long groupId, String name, String[] categoryProperties, int start, int end) - Specified by:
search
in interfaceAssetCategoryLocalService
-
searchCategories
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long groupIds, String title, long vocabularyId, int start, int end) throws PortalException - Specified by:
searchCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
searchCategories
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, int start, int end) throws PortalException - Specified by:
searchCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
searchCategories
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] parentCategoryIds, long[] vocabularyIds, int start, int end) throws PortalException - Specified by:
searchCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
searchCategories
public BaseModelSearchResult<AssetCategory> searchCategories(long companyId, long[] groupIds, String title, long[] vocabularyIds, long[] parentCategoryIds, int start, int end, Sort sort) throws PortalException - Specified by:
searchCategories
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
updateAssetCategory
Updates the asset category in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AssetCategoryLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateAssetCategory
in interfaceAssetCategoryLocalService
- Parameters:
assetCategory
- the asset category- Returns:
- the asset category that was updated
-
updateCategory
public AssetCategory updateCategory(long userId, long categoryId, long parentCategoryId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, long vocabularyId, String[] categoryProperties, ServiceContext serviceContext) - Specified by:
updateCategory
in interfaceAssetCategoryLocalService
- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceAssetCategoryLocalService
- Specified by:
getCTPersistence
in interfaceCTService<AssetCategory>
-
getModelClass
- Specified by:
getModelClass
in interfaceAssetCategoryLocalService
- Specified by:
getModelClass
in interfaceCTService<AssetCategory>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetCategory>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceAssetCategoryLocalService
- Specified by:
updateWithUnsafeFunction
in interfaceCTService<AssetCategory>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AssetCategoryLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AssetCategoryLocalService>
-