Class AssetVocabularyLocalServiceWrapper
- All Implemented Interfaces:
AssetVocabularyLocalService,BaseLocalService,CTService<AssetVocabulary>,PersistedModelLocalService,ServiceWrapper<AssetVocabularyLocalService>
AssetVocabularyLocalService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAssetVocabularyLocalServiceWrapper(AssetVocabularyLocalService assetVocabularyLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAssetVocabulary(AssetVocabulary assetVocabulary) Adds the asset vocabulary to the database.addDefaultVocabulary(long groupId) addVocabulary(long userId, long groupId, String title, ServiceContext serviceContext) addVocabulary(long userId, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) addVocabulary(long userId, long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) addVocabulary(long userId, long groupId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) addVocabulary(String externalReferenceCode, long userId, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) voidaddVocabularyResources(AssetVocabulary vocabulary, boolean addGroupPermissions, boolean addGuestPermissions) voidaddVocabularyResources(AssetVocabulary vocabulary, ModelPermissions modelPermissions) createAssetVocabulary(long vocabularyId) Creates a new asset vocabulary with the primary key.createPersistedModel(Serializable primaryKeyObj) deleteAssetVocabulary(long vocabularyId) Deletes the asset vocabulary with the primary key from the database.deleteAssetVocabulary(AssetVocabulary assetVocabulary) Deletes the asset vocabulary from the database.deletePersistedModel(PersistedModel persistedModel) voiddeleteVocabularies(long groupId) voiddeleteVocabulary(long vocabularyId) deleteVocabulary(AssetVocabulary vocabulary) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.fetchAssetVocabulary(long vocabularyId) fetchAssetVocabularyByExternalReferenceCode(String externalReferenceCode, long groupId) fetchAssetVocabularyByUuidAndGroupId(String uuid, long groupId) Returns the asset vocabulary matching the UUID and group.fetchGroupVocabulary(long groupId, String name) getAssetVocabularies(int start, int end) Returns a range of all the asset vocabularies.getAssetVocabulariesByUuidAndCompanyId(String uuid, long companyId) Returns all the asset vocabularies matching the UUID and company.getAssetVocabulariesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) Returns a range of asset vocabularies matching the UUID and company.intReturns the number of asset vocabularies.getAssetVocabulary(long vocabularyId) Returns the asset vocabulary with the primary key.getAssetVocabularyByExternalReferenceCode(String externalReferenceCode, long groupId) getAssetVocabularyByUuidAndGroupId(String uuid, long groupId) Returns the asset vocabulary matching the UUID and group.getCompanyVocabularies(long companyId) getExportActionableDynamicQuery(PortletDataContext portletDataContext) getGroupsVocabularies(long[] groupIds) getGroupsVocabularies(long[] groupIds, String className) getGroupsVocabularies(long[] groupIds, String className, long classTypePK) getGroupVocabularies(long groupId) getGroupVocabularies(long[] groupIds) getGroupVocabularies(long[] groupIds, int[] visibilityTypes) getGroupVocabularies(long groupId, boolean addDefaultVocabulary) getGroupVocabularies(long groupId, int visibilityType) intgetGroupVocabulariesCount(long[] groupIds) getGroupVocabulary(long groupId, String name) Returns the OSGi service identifier.getPersistedModel(Serializable primaryKeyObj) getVocabularies(long[] vocabularyIds) getVocabularies(Hits hits) getVocabulary(long vocabularyId) searchVocabularies(long companyId, long[] groupIds, String title, int[] visibilityTypes, int start, int end, Sort sort) voidsetWrappedService(AssetVocabularyLocalService assetVocabularyLocalService) updateAssetVocabulary(AssetVocabulary assetVocabulary) Updates the asset vocabulary in the database or adds it if it does not yet exist.updateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, ServiceContext serviceContext) updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings) updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, String> descriptionMap, String settings, int visibilityType) <R,E extends Throwable>
RupdateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetVocabulary>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
AssetVocabularyLocalServiceWrapper
public AssetVocabularyLocalServiceWrapper() -
AssetVocabularyLocalServiceWrapper
-
-
Method Details
-
addAssetVocabulary
Adds the asset vocabulary to the database. Also notifies the appropriate model listeners.Important: Inspect AssetVocabularyLocalServiceImpl 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:
addAssetVocabularyin interfaceAssetVocabularyLocalService- Parameters:
assetVocabulary- the asset vocabulary- Returns:
- the asset vocabulary that was added
-
addDefaultVocabulary
- Specified by:
addDefaultVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long userId, long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) - Specified by:
addVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long userId, long groupId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Specified by:
addVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long userId, long groupId, String title, ServiceContext serviceContext) throws PortalException - Specified by:
addVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(long userId, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Specified by:
addVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabulary
public AssetVocabulary addVocabulary(String externalReferenceCode, long userId, long groupId, String name, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType, ServiceContext serviceContext) - Specified by:
addVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabularyResources
public void addVocabularyResources(AssetVocabulary vocabulary, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException - Specified by:
addVocabularyResourcesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
addVocabularyResources
public void addVocabularyResources(AssetVocabulary vocabulary, ModelPermissions modelPermissions) throws PortalException - Specified by:
addVocabularyResourcesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
createAssetVocabulary
Creates a new asset vocabulary with the primary key. Does not add the asset vocabulary to the database.- Specified by:
createAssetVocabularyin interfaceAssetVocabularyLocalService- Parameters:
vocabularyId- the primary key for the new asset vocabulary- Returns:
- the new asset vocabulary
-
createPersistedModel
- Specified by:
createPersistedModelin interfaceAssetVocabularyLocalService- Specified by:
createPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteAssetVocabulary
Deletes the asset vocabulary from the database. Also notifies the appropriate model listeners.Important: Inspect AssetVocabularyLocalServiceImpl 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:
deleteAssetVocabularyin interfaceAssetVocabularyLocalService- Parameters:
assetVocabulary- the asset vocabulary- Returns:
- the asset vocabulary that was removed
-
deleteAssetVocabulary
Deletes the asset vocabulary with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AssetVocabularyLocalServiceImpl 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:
deleteAssetVocabularyin interfaceAssetVocabularyLocalService- Parameters:
vocabularyId- the primary key of the asset vocabulary- Returns:
- the asset vocabulary that was removed
- Throws:
PortalException- if a asset vocabulary with the primary key could not be foundPortalException
-
deletePersistedModel
- Specified by:
deletePersistedModelin interfaceAssetVocabularyLocalService- Specified by:
deletePersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
deleteVocabularies
- Specified by:
deleteVocabulariesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
deleteVocabulary
- Specified by:
deleteVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
deleteVocabulary
- Specified by:
deleteVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceAssetVocabularyLocalService- Specified by:
dslQueryin interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceAssetVocabularyLocalService- Specified by:
dslQueryCountin interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQueryin interfaceAssetVocabularyLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceAssetVocabularyLocalService- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl.- Specified by:
dynamicQueryin interfaceAssetVocabularyLocalService- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl.- Specified by:
dynamicQueryin interfaceAssetVocabularyLocalService- 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:
dynamicQueryCountin interfaceAssetVocabularyLocalService- 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:
dynamicQueryCountin interfaceAssetVocabularyLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAssetVocabulary
- Specified by:
fetchAssetVocabularyin interfaceAssetVocabularyLocalService
-
fetchAssetVocabularyByExternalReferenceCode
public AssetVocabulary fetchAssetVocabularyByExternalReferenceCode(String externalReferenceCode, long groupId) - Specified by:
fetchAssetVocabularyByExternalReferenceCodein interfaceAssetVocabularyLocalService
-
fetchAssetVocabularyByUuidAndGroupId
Returns the asset vocabulary matching the UUID and group.- Specified by:
fetchAssetVocabularyByUuidAndGroupIdin interfaceAssetVocabularyLocalService- Parameters:
uuid- the asset vocabulary's UUIDgroupId- the primary key of the group- Returns:
- the matching asset vocabulary, or
nullif a matching asset vocabulary could not be found
-
fetchGroupVocabulary
- Specified by:
fetchGroupVocabularyin interfaceAssetVocabularyLocalService
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQueryin interfaceAssetVocabularyLocalService
-
getAssetVocabularies
Returns a range of all the asset vocabularies.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.asset.model.impl.AssetVocabularyModelImpl.- Specified by:
getAssetVocabulariesin interfaceAssetVocabularyLocalService- Parameters:
start- the lower bound of the range of asset vocabulariesend- the upper bound of the range of asset vocabularies (not inclusive)- Returns:
- the range of asset vocabularies
-
getAssetVocabulariesByUuidAndCompanyId
Returns all the asset vocabularies matching the UUID and company.- Specified by:
getAssetVocabulariesByUuidAndCompanyIdin interfaceAssetVocabularyLocalService- Parameters:
uuid- the UUID of the asset vocabulariescompanyId- the primary key of the company- Returns:
- the matching asset vocabularies, or an empty list if no matches were found
-
getAssetVocabulariesByUuidAndCompanyId
public List<AssetVocabulary> getAssetVocabulariesByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<AssetVocabulary> orderByComparator) Returns a range of asset vocabularies matching the UUID and company.- Specified by:
getAssetVocabulariesByUuidAndCompanyIdin interfaceAssetVocabularyLocalService- Parameters:
uuid- the UUID of the asset vocabulariescompanyId- the primary key of the companystart- the lower bound of the range of asset vocabulariesend- the upper bound of the range of asset vocabularies (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the range of matching asset vocabularies, or an empty list if no matches were found
-
getAssetVocabulariesCount
public int getAssetVocabulariesCount()Returns the number of asset vocabularies.- Specified by:
getAssetVocabulariesCountin interfaceAssetVocabularyLocalService- Returns:
- the number of asset vocabularies
-
getAssetVocabulary
Returns the asset vocabulary with the primary key.- Specified by:
getAssetVocabularyin interfaceAssetVocabularyLocalService- Parameters:
vocabularyId- the primary key of the asset vocabulary- Returns:
- the asset vocabulary
- Throws:
PortalException- if a asset vocabulary with the primary key could not be foundPortalException
-
getAssetVocabularyByExternalReferenceCode
public AssetVocabulary getAssetVocabularyByExternalReferenceCode(String externalReferenceCode, long groupId) throws PortalException - Specified by:
getAssetVocabularyByExternalReferenceCodein interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getAssetVocabularyByUuidAndGroupId
public AssetVocabulary getAssetVocabularyByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the asset vocabulary matching the UUID and group.- Specified by:
getAssetVocabularyByUuidAndGroupIdin interfaceAssetVocabularyLocalService- Parameters:
uuid- the asset vocabulary's UUIDgroupId- the primary key of the group- Returns:
- the matching asset vocabulary
- Throws:
PortalException- if a matching asset vocabulary could not be foundPortalException
-
getCompanyVocabularies
- Specified by:
getCompanyVocabulariesin interfaceAssetVocabularyLocalService
-
getExportActionableDynamicQuery
public ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceAssetVocabularyLocalService
-
getGroupsVocabularies
- Specified by:
getGroupsVocabulariesin interfaceAssetVocabularyLocalService
-
getGroupsVocabularies
- Specified by:
getGroupsVocabulariesin interfaceAssetVocabularyLocalService
-
getGroupsVocabularies
public List<AssetVocabulary> getGroupsVocabularies(long[] groupIds, String className, long classTypePK) - Specified by:
getGroupsVocabulariesin interfaceAssetVocabularyLocalService
-
getGroupVocabularies
- Specified by:
getGroupVocabulariesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getGroupVocabularies
public List<AssetVocabulary> getGroupVocabularies(long groupId, boolean addDefaultVocabulary) throws PortalException - Specified by:
getGroupVocabulariesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getGroupVocabularies
- Specified by:
getGroupVocabulariesin interfaceAssetVocabularyLocalService
-
getGroupVocabularies
- Specified by:
getGroupVocabulariesin interfaceAssetVocabularyLocalService
-
getGroupVocabularies
- Specified by:
getGroupVocabulariesin interfaceAssetVocabularyLocalService
-
getGroupVocabulariesCount
public int getGroupVocabulariesCount(long[] groupIds) - Specified by:
getGroupVocabulariesCountin interfaceAssetVocabularyLocalService
-
getGroupVocabulary
- Specified by:
getGroupVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQueryin interfaceAssetVocabularyLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceAssetVocabularyLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModelin interfaceAssetVocabularyLocalService- Specified by:
getPersistedModelin interfacePersistedModelLocalService- Throws:
PortalExceptionPortalException
-
getVocabularies
- Specified by:
getVocabulariesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getVocabularies
- Specified by:
getVocabulariesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getVocabulary
- Specified by:
getVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
searchVocabularies
public BaseModelSearchResult<AssetVocabulary> searchVocabularies(long companyId, long[] groupIds, String title, int[] visibilityTypes, int start, int end, Sort sort) throws PortalException - Specified by:
searchVocabulariesin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
updateAssetVocabulary
Updates the asset vocabulary in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AssetVocabularyLocalServiceImpl 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:
updateAssetVocabularyin interfaceAssetVocabularyLocalService- Parameters:
assetVocabulary- the asset vocabulary- Returns:
- the asset vocabulary that was updated
-
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings) - Specified by:
updateVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, int visibilityType) - Specified by:
updateVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
updateVocabulary
public AssetVocabulary updateVocabulary(long vocabularyId, String title, Map<Locale, String> titleMap, Map<Locale, throws PortalExceptionString> descriptionMap, String settings, ServiceContext serviceContext) - Specified by:
updateVocabularyin interfaceAssetVocabularyLocalService- Throws:
PortalException
-
getBasePersistence
- Specified by:
getBasePersistencein interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistencein interfaceAssetVocabularyLocalService- Specified by:
getCTPersistencein interfaceCTService<AssetVocabulary>
-
getModelClass
- Specified by:
getModelClassin interfaceAssetVocabularyLocalService- Specified by:
getModelClassin interfaceCTService<AssetVocabulary>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetVocabulary>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunctionin interfaceAssetVocabularyLocalService- Specified by:
updateWithUnsafeFunctionin interfaceCTService<AssetVocabulary>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<AssetVocabularyLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<AssetVocabularyLocalService>
-