Class AssetTagGroupRelLocalServiceWrapper
- All Implemented Interfaces:
AssetTagGroupRelLocalService
,BaseLocalService
,CTService<AssetTagGroupRel>
,PersistedModelLocalService
,ServiceWrapper<AssetTagGroupRelLocalService>
AssetTagGroupRelLocalService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
ConstructorsConstructorDescriptionAssetTagGroupRelLocalServiceWrapper
(AssetTagGroupRelLocalService assetTagGroupRelLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddAssetTagGroupRel
(long groupId, long tagId) addAssetTagGroupRel
(AssetTagGroupRel assetTagGroupRel) Adds the asset tag group rel to the database.createAssetTagGroupRel
(long assetTagGroupRelId) Creates a new asset tag group rel with the primary key.createPersistedModel
(Serializable primaryKeyObj) deleteAssetTagGroupRel
(long assetTagGroupRelId) Deletes the asset tag group rel with the primary key from the database.deleteAssetTagGroupRel
(AssetTagGroupRel assetTagGroupRel) Deletes the asset tag group rel from the database.void
deleteAssetTagGroupRelsByGroupId
(long groupId) void
deleteAssetTagGroupRelsByTagId
(long tagId) deletePersistedModel
(PersistedModel persistedModel) <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.fetchAssetTagGroupRel
(long assetTagGroupRelId) fetchAssetTagGroupRelByUuidAndGroupId
(String uuid, long groupId) Returns the asset tag group rel matching the UUID and group.getAssetTagGroupRel
(long assetTagGroupRelId) Returns the asset tag group rel with the primary key.getAssetTagGroupRelByUuidAndGroupId
(String uuid, long groupId) Returns the asset tag group rel matching the UUID and group.getAssetTagGroupRels
(int start, int end) Returns a range of all the asset tag group rels.getAssetTagGroupRelsByGroupyId
(long groupId) getAssetTagGroupRelsByTagId
(long tagId) getAssetTagGroupRelsByUuidAndCompanyId
(String uuid, long companyId) Returns all the asset tag group rels matching the UUID and company.getAssetTagGroupRelsByUuidAndCompanyId
(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns a range of asset tag group rels matching the UUID and company.int
Returns the number of asset tag group rels.Returns the OSGi service identifier.getPersistedModel
(Serializable primaryKeyObj) void
setAssetTagGroupRels
(long tagId, long[] groupIds) void
setWrappedService
(AssetTagGroupRelLocalService assetTagGroupRelLocalService) updateAssetTagGroupRel
(AssetTagGroupRel assetTagGroupRel) Updates the asset tag group rel in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetTagGroupRel>, 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
-
AssetTagGroupRelLocalServiceWrapper
public AssetTagGroupRelLocalServiceWrapper() -
AssetTagGroupRelLocalServiceWrapper
public AssetTagGroupRelLocalServiceWrapper(AssetTagGroupRelLocalService assetTagGroupRelLocalService)
-
-
Method Details
-
addAssetTagGroupRel
Adds the asset tag group rel to the database. Also notifies the appropriate model listeners.Important: Inspect AssetTagGroupRelLocalServiceImpl 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:
addAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Parameters:
assetTagGroupRel
- the asset tag group rel- Returns:
- the asset tag group rel that was added
-
addAssetTagGroupRel
- Specified by:
addAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Throws:
PortalException
-
createAssetTagGroupRel
Creates a new asset tag group rel with the primary key. Does not add the asset tag group rel to the database.- Specified by:
createAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Parameters:
assetTagGroupRelId
- the primary key for the new asset tag group rel- Returns:
- the new asset tag group rel
-
createPersistedModel
- Specified by:
createPersistedModel
in interfaceAssetTagGroupRelLocalService
- Specified by:
createPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
deleteAssetTagGroupRel
Deletes the asset tag group rel from the database. Also notifies the appropriate model listeners.Important: Inspect AssetTagGroupRelLocalServiceImpl 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:
deleteAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Parameters:
assetTagGroupRel
- the asset tag group rel- Returns:
- the asset tag group rel that was removed
-
deleteAssetTagGroupRel
Deletes the asset tag group rel with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect AssetTagGroupRelLocalServiceImpl 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:
deleteAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel that was removed
- Throws:
PortalException
- if a asset tag group rel with the primary key could not be foundPortalException
-
deleteAssetTagGroupRelsByGroupId
public void deleteAssetTagGroupRelsByGroupId(long groupId) - Specified by:
deleteAssetTagGroupRelsByGroupId
in interfaceAssetTagGroupRelLocalService
-
deleteAssetTagGroupRelsByTagId
public void deleteAssetTagGroupRelsByTagId(long tagId) - Specified by:
deleteAssetTagGroupRelsByTagId
in interfaceAssetTagGroupRelLocalService
-
deletePersistedModel
- Specified by:
deletePersistedModel
in interfaceAssetTagGroupRelLocalService
- Specified by:
deletePersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceAssetTagGroupRelLocalService
- Specified by:
dslQuery
in interfacePersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceAssetTagGroupRelLocalService
- Specified by:
dslQueryCount
in interfacePersistedModelLocalService
-
dynamicQuery
- Specified by:
dynamicQuery
in interfaceAssetTagGroupRelLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceAssetTagGroupRelLocalService
- 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.AssetTagGroupRelModelImpl
.- Specified by:
dynamicQuery
in interfaceAssetTagGroupRelLocalService
- 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.AssetTagGroupRelModelImpl
.- Specified by:
dynamicQuery
in interfaceAssetTagGroupRelLocalService
- 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 interfaceAssetTagGroupRelLocalService
- 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 interfaceAssetTagGroupRelLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchAssetTagGroupRel
- Specified by:
fetchAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
-
fetchAssetTagGroupRelByUuidAndGroupId
Returns the asset tag group rel matching the UUID and group.- Specified by:
fetchAssetTagGroupRelByUuidAndGroupId
in interfaceAssetTagGroupRelLocalService
- Parameters:
uuid
- the asset tag group rel's UUIDgroupId
- the primary key of the group- Returns:
- the matching asset tag group rel, or
null
if a matching asset tag group rel could not be found
-
getActionableDynamicQuery
- Specified by:
getActionableDynamicQuery
in interfaceAssetTagGroupRelLocalService
-
getAssetTagGroupRel
Returns the asset tag group rel with the primary key.- Specified by:
getAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Parameters:
assetTagGroupRelId
- the primary key of the asset tag group rel- Returns:
- the asset tag group rel
- Throws:
PortalException
- if a asset tag group rel with the primary key could not be foundPortalException
-
getAssetTagGroupRelByUuidAndGroupId
public AssetTagGroupRel getAssetTagGroupRelByUuidAndGroupId(String uuid, long groupId) throws PortalException Returns the asset tag group rel matching the UUID and group.- Specified by:
getAssetTagGroupRelByUuidAndGroupId
in interfaceAssetTagGroupRelLocalService
- Parameters:
uuid
- the asset tag group rel's UUIDgroupId
- the primary key of the group- Returns:
- the matching asset tag group rel
- Throws:
PortalException
- if a matching asset tag group rel could not be foundPortalException
-
getAssetTagGroupRels
Returns a range of all the asset tag group rels.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.AssetTagGroupRelModelImpl
.- Specified by:
getAssetTagGroupRels
in interfaceAssetTagGroupRelLocalService
- Parameters:
start
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)- Returns:
- the range of asset tag group rels
-
getAssetTagGroupRelsByGroupyId
- Specified by:
getAssetTagGroupRelsByGroupyId
in interfaceAssetTagGroupRelLocalService
-
getAssetTagGroupRelsByTagId
- Specified by:
getAssetTagGroupRelsByTagId
in interfaceAssetTagGroupRelLocalService
-
getAssetTagGroupRelsByUuidAndCompanyId
Returns all the asset tag group rels matching the UUID and company.- Specified by:
getAssetTagGroupRelsByUuidAndCompanyId
in interfaceAssetTagGroupRelLocalService
- Parameters:
uuid
- the UUID of the asset tag group relscompanyId
- the primary key of the company- Returns:
- the matching asset tag group rels, or an empty list if no matches were found
-
getAssetTagGroupRelsByUuidAndCompanyId
public List<AssetTagGroupRel> getAssetTagGroupRelsByUuidAndCompanyId(String uuid, long companyId, int start, int end, OrderByComparator<AssetTagGroupRel> orderByComparator) Returns a range of asset tag group rels matching the UUID and company.- Specified by:
getAssetTagGroupRelsByUuidAndCompanyId
in interfaceAssetTagGroupRelLocalService
- Parameters:
uuid
- the UUID of the asset tag group relscompanyId
- the primary key of the companystart
- the lower bound of the range of asset tag group relsend
- the upper bound of the range of asset tag group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching asset tag group rels, or an empty list if no matches were found
-
getAssetTagGroupRelsCount
public int getAssetTagGroupRelsCount()Returns the number of asset tag group rels.- Specified by:
getAssetTagGroupRelsCount
in interfaceAssetTagGroupRelLocalService
- Returns:
- the number of asset tag group rels
-
getIndexableActionableDynamicQuery
- Specified by:
getIndexableActionableDynamicQuery
in interfaceAssetTagGroupRelLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceAssetTagGroupRelLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
- Specified by:
getPersistedModel
in interfaceAssetTagGroupRelLocalService
- Specified by:
getPersistedModel
in interfacePersistedModelLocalService
- Throws:
PortalException
PortalException
-
setAssetTagGroupRels
- Specified by:
setAssetTagGroupRels
in interfaceAssetTagGroupRelLocalService
- Throws:
PortalException
-
updateAssetTagGroupRel
Updates the asset tag group rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect AssetTagGroupRelLocalServiceImpl 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:
updateAssetTagGroupRel
in interfaceAssetTagGroupRelLocalService
- Parameters:
assetTagGroupRel
- the asset tag group rel- Returns:
- the asset tag group rel that was updated
-
getBasePersistence
- Specified by:
getBasePersistence
in interfacePersistedModelLocalService
-
getCTPersistence
- Specified by:
getCTPersistence
in interfaceAssetTagGroupRelLocalService
- Specified by:
getCTPersistence
in interfaceCTService<AssetTagGroupRel>
-
getModelClass
- Specified by:
getModelClass
in interfaceAssetTagGroupRelLocalService
- Specified by:
getModelClass
in interfaceCTService<AssetTagGroupRel>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<AssetTagGroupRel>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceAssetTagGroupRelLocalService
- Specified by:
updateWithUnsafeFunction
in interfaceCTService<AssetTagGroupRel>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<AssetTagGroupRelLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<AssetTagGroupRelLocalService>
-