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.PersistedModelcreatePersistedModel(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.voiddeleteCommerceChannelRels(long commerceChannelId) voiddeleteCommerceChannelRels(String className, long classPK) com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) <T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(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.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(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.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getCommerceChannelCountries(long commerceChannelId, String name, int start, int end) intgetCommerceChannelCountriesCount(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) intReturns the number of commerce channel rels.intgetCommerceChannelRelsCount(long commerceChannelId) intgetCommerceChannelRelsCount(String className, long classPK) intgetCommerceChannelRelsCount(String className, long classPK, String name) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel>com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQueryReturns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) voidsetWrappedService(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, waitMethods 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:
addCommerceChannelRelin 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:
addCommerceChannelRelin 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:
addCommerceChannelRelsin interfaceCommerceChannelRelLocalService
-
createCommerceChannelRel
Creates a new commerce channel rel with the primary key. Does not add the commerce channel rel to the database.- Specified by:
createCommerceChannelRelin 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:
createPersistedModelin interfaceCommerceChannelRelLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
deleteCommerceChannelRelin 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:
deleteCommerceChannelRelin 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:
deleteCommerceChannelRelsin interfaceCommerceChannelRelLocalService
-
deleteCommerceChannelRels
- Specified by:
deleteCommerceChannelRelsin 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:
deletePersistedModelin interfaceCommerceChannelRelLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceCommerceChannelRelLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceCommerceChannelRelLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceCommerceChannelRelLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin 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 - 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.commerce.product.model.impl.CommerceChannelRelModelImpl.- Specified by:
dynamicQueryin 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 - 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.commerce.product.model.impl.CommerceChannelRelModelImpl.- Specified by:
dynamicQueryin 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:
dynamicQueryCountin 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:
dynamicQueryCountin 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:
fetchCommerceChannelRelin interfaceCommerceChannelRelLocalService
-
fetchCommerceChannelRel
public CommerceChannelRel fetchCommerceChannelRel(String className, long classPK, long commerceChannelId) - Specified by:
fetchCommerceChannelRelin interfaceCommerceChannelRelLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceCommerceChannelRelLocalService
-
getCommerceChannelCountries
public List<CommerceChannelRel> getCommerceChannelCountries(long commerceChannelId, String name, int start, int end) - Specified by:
getCommerceChannelCountriesin interfaceCommerceChannelRelLocalService
-
getCommerceChannelCountriesCount
- Specified by:
getCommerceChannelCountriesCountin 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:
getCommerceChannelRelin 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 - 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.commerce.product.model.impl.CommerceChannelRelModelImpl.- Specified by:
getCommerceChannelRelsin 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:
getCommerceChannelRelsin interfaceCommerceChannelRelLocalService
-
getCommerceChannelRels
public List<CommerceChannelRel> getCommerceChannelRels(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceChannelRel> orderByComparator) - Specified by:
getCommerceChannelRelsin interfaceCommerceChannelRelLocalService
-
getCommerceChannelRels
public List<CommerceChannelRel> getCommerceChannelRels(String className, long classPK, String name, int start, int end) - Specified by:
getCommerceChannelRelsin interfaceCommerceChannelRelLocalService
-
getCommerceChannelRelsCount
public int getCommerceChannelRelsCount()Returns the number of commerce channel rels.- Specified by:
getCommerceChannelRelsCountin interfaceCommerceChannelRelLocalService- Returns:
- the number of commerce channel rels
-
getCommerceChannelRelsCount
public int getCommerceChannelRelsCount(long commerceChannelId) - Specified by:
getCommerceChannelRelsCountin interfaceCommerceChannelRelLocalService
-
getCommerceChannelRelsCount
- Specified by:
getCommerceChannelRelsCountin interfaceCommerceChannelRelLocalService
-
getCommerceChannelRelsCount
- Specified by:
getCommerceChannelRelsCountin interfaceCommerceChannelRelLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceCommerceChannelRelLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin 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:
getPersistedModelin interfaceCommerceChannelRelLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.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:
updateCommerceChannelRelin 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:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommerceChannelRel> getCTPersistence()- Specified by:
getCTPersistencein interfaceCommerceChannelRelLocalService- Specified by:
getCTPersistencein interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>
-
getModelClass
- Specified by:
getModelClassin interfaceCommerceChannelRelLocalService- Specified by:
getModelClassin 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:
updateWithUnsafeFunctionin interfaceCommerceChannelRelLocalService- Specified by:
updateWithUnsafeFunctionin interfacecom.liferay.portal.kernel.service.change.tracking.CTService<CommerceChannelRel>- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<CommerceChannelRelLocalService>
-