Class CommerceChannelRelLocalServiceWrapper
- All Implemented Interfaces:
CommerceChannelRelLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>
CommerceChannelRelLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionCommerceChannelRelLocalServiceWrapper
(CommerceChannelRelLocalService commerceChannelRelLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCommerceChannelRel
(CommerceChannelRel commerceChannelRel) Adds the commerce channel rel to the database.addCommerceChannelRel
(String className, long classPK, long commerceChannelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) addCommerceChannelRels
(String className, long[] classPKs, long commerceChannelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) createCommerceChannelRel
(long commerceChannelRelId) Creates a new commerce channel rel with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteCommerceChannelRel
(long commerceChannelRelId) Deletes the commerce channel rel with the primary key from the database.deleteCommerceChannelRel
(CommerceChannelRel commerceChannelRel) Deletes the commerce channel rel from the database.void
deleteCommerceChannelRels
(long commerceChannelId) void
deleteCommerceChannelRels
(String className, long classPK) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.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
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.fetchCommerceChannelRel
(long commerceChannelRelId) fetchCommerceChannelRel
(String className, long classPK, long commerceChannelId) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCommerceChannelCountries
(long commerceChannelId, String name, int start, int end) int
getCommerceChannelCountriesCount
(long commerceChannelId, String name) getCommerceChannelRel
(long commerceChannelRelId) Returns the commerce channel rel with the primary key.getCommerceChannelRels
(int start, int end) Returns a range of all the commerce channel rels.getCommerceChannelRels
(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) getCommerceChannelRels
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) getCommerceChannelRels
(String className, long classPK, String name, int start, int end) int
Returns the number of commerce channel rels.int
getCommerceChannelRelsCount
(long commerceChannelId) int
getCommerceChannelRelsCount
(String className, long classPK) int
getCommerceChannelRelsCount
(String className, long classPK, String name) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel>
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) void
setWrappedService
(CommerceChannelRelLocalService commerceChannelRelLocalService) updateCommerceChannelRel
(CommerceChannelRel commerceChannelRel) Updates the commerce channel rel in the database or adds it if it does not yet exist.<R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel>, 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
-
CommerceChannelRelLocalServiceWrapper
public CommerceChannelRelLocalServiceWrapper() -
CommerceChannelRelLocalServiceWrapper
public CommerceChannelRelLocalServiceWrapper(CommerceChannelRelLocalService commerceChannelRelLocalService)
-
-
Method Details
-
addCommerceChannelRel
Adds the commerce channel rel to the database. Also notifies the appropriate model listeners.Important: Inspect CommerceChannelRelLocalServiceImpl 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:
addCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Parameters:
commerceChannelRel
- the commerce channel rel- Returns:
- the commerce channel rel that was added
-
addCommerceChannelRel
public CommerceChannelRel addCommerceChannelRel(String className, long classPK, long commerceChannelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addCommerceChannelRels
public List<CommerceChannelRel> addCommerceChannelRels(String className, long[] classPKs, long commerceChannelId, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addCommerceChannelRels
in interfaceCommerceChannelRelLocalService
-
createCommerceChannelRel
Creates a new commerce channel rel with the primary key. Does not add the commerce channel rel to the database.- Specified by:
createCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Parameters:
commerceChannelRelId
- the primary key for the new commerce channel rel- Returns:
- the new commerce channel rel
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceCommerceChannelRelLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteCommerceChannelRel
Deletes the commerce channel rel from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceChannelRelLocalServiceImpl 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:
deleteCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Parameters:
commerceChannelRel
- the commerce channel rel- Returns:
- the commerce channel rel that was removed
-
deleteCommerceChannelRel
public CommerceChannelRel deleteCommerceChannelRel(long commerceChannelRelId) throws com.liferay.portal.kernel.exception.PortalException Deletes the commerce channel rel with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect CommerceChannelRelLocalServiceImpl 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:
deleteCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Parameters:
commerceChannelRelId
- the primary key of the commerce channel rel- Returns:
- the commerce channel rel that was removed
- Throws:
PortalException
- if a commerce channel rel with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteCommerceChannelRels
public void deleteCommerceChannelRels(long commerceChannelId) - Specified by:
deleteCommerceChannelRels
in interfaceCommerceChannelRelLocalService
-
deleteCommerceChannelRels
- Specified by:
deleteCommerceChannelRels
in interfaceCommerceChannelRelLocalService
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceCommerceChannelRelLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceCommerceChannelRelLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceCommerceChannelRelLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceCommerceChannelRelLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceCommerceChannelRelLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) 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.commerce.product.model.impl.CommerceChannelRelModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceChannelRelLocalService
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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.commerce.product.model.impl.CommerceChannelRelModelImpl
.- Specified by:
dynamicQuery
in interfaceCommerceChannelRelLocalService
- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceChannelRelLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceCommerceChannelRelLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchCommerceChannelRel
- Specified by:
fetchCommerceChannelRel
in interfaceCommerceChannelRelLocalService
-
fetchCommerceChannelRel
public CommerceChannelRel fetchCommerceChannelRel(String className, long classPK, long commerceChannelId) - Specified by:
fetchCommerceChannelRel
in interfaceCommerceChannelRelLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelCountries
public List<CommerceChannelRel> getCommerceChannelCountries(long commerceChannelId, String name, int start, int end) - Specified by:
getCommerceChannelCountries
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelCountriesCount
- Specified by:
getCommerceChannelCountriesCount
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelRel
public CommerceChannelRel getCommerceChannelRel(long commerceChannelRelId) throws com.liferay.portal.kernel.exception.PortalException Returns the commerce channel rel with the primary key.- Specified by:
getCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Parameters:
commerceChannelRelId
- the primary key of the commerce channel rel- Returns:
- the commerce channel rel
- Throws:
PortalException
- if a commerce channel rel with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getCommerceChannelRels
Returns a range of all the commerce channel 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.commerce.product.model.impl.CommerceChannelRelModelImpl
.- Specified by:
getCommerceChannelRels
in interfaceCommerceChannelRelLocalService
- Parameters:
start
- the lower bound of the range of commerce channel relsend
- the upper bound of the range of commerce channel rels (not inclusive)- Returns:
- the range of commerce channel rels
-
getCommerceChannelRels
public List<CommerceChannelRel> getCommerceChannelRels(long commerceChannelId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) - Specified by:
getCommerceChannelRels
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelRels
public List<CommerceChannelRel> getCommerceChannelRels(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) - Specified by:
getCommerceChannelRels
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelRels
public List<CommerceChannelRel> getCommerceChannelRels(String className, long classPK, String name, int start, int end) - Specified by:
getCommerceChannelRels
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelRelsCount
public int getCommerceChannelRelsCount()Returns the number of commerce channel rels.- Specified by:
getCommerceChannelRelsCount
in interfaceCommerceChannelRelLocalService
- Returns:
- the number of commerce channel rels
-
getCommerceChannelRelsCount
public int getCommerceChannelRelsCount(long commerceChannelId) - Specified by:
getCommerceChannelRelsCount
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelRelsCount
- Specified by:
getCommerceChannelRelsCount
in interfaceCommerceChannelRelLocalService
-
getCommerceChannelRelsCount
- Specified by:
getCommerceChannelRelsCount
in interfaceCommerceChannelRelLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceCommerceChannelRelLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceCommerceChannelRelLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceCommerceChannelRelLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
updateCommerceChannelRel
Updates the commerce channel rel in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect CommerceChannelRelLocalServiceImpl 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:
updateCommerceChannelRel
in interfaceCommerceChannelRelLocalService
- Parameters:
commerceChannelRel
- the commerce channel rel- Returns:
- the commerce channel rel that was updated
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel> getCTPersistence()- Specified by:
getCTPersistence
in interfaceCommerceChannelRelLocalService
- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
-
getModelClass
- Specified by:
getModelClass
in interfaceCommerceChannelRelLocalService
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfaceCommerceChannelRelLocalService
- Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>
-