public class CommercePriceListChannelRelLocalServiceWrapper extends java.lang.Object implements CommercePriceListChannelRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListChannelRelLocalService>
CommercePriceListChannelRelLocalService
.CommercePriceListChannelRelLocalService
Constructor and Description |
---|
CommercePriceListChannelRelLocalServiceWrapper() |
CommercePriceListChannelRelLocalServiceWrapper(CommercePriceListChannelRelLocalService commercePriceListChannelRelLocalService) |
Modifier and Type | Method and Description |
---|---|
CommercePriceListChannelRel |
addCommercePriceListChannelRel(CommercePriceListChannelRel commercePriceListChannelRel)
Adds the commerce price list channel rel to the database.
|
CommercePriceListChannelRel |
addCommercePriceListChannelRel(long userId,
long commercePriceListId,
long commerceChannelId,
int order,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceListChannelRel |
createCommercePriceListChannelRel(long CommercePriceListChannelRelId)
Creates a new commerce price list channel rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceListChannelRel |
deleteCommercePriceListChannelRel(CommercePriceListChannelRel commercePriceListChannelRel)
Deletes the commerce price list channel rel from the database.
|
CommercePriceListChannelRel |
deleteCommercePriceListChannelRel(long CommercePriceListChannelRelId)
Deletes the commerce price list channel rel with the primary key from the database.
|
void |
deleteCommercePriceListChannelRels(long commercePriceListId) |
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 |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.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> java.util.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.
|
CommercePriceListChannelRel |
fetchCommercePriceListChannelRel(long CommercePriceListChannelRelId) |
CommercePriceListChannelRel |
fetchCommercePriceListChannelRel(long commerceChannelId,
long commercePriceListId) |
CommercePriceListChannelRel |
fetchCommercePriceListChannelRelByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price list channel rel with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommercePriceListChannelRel |
getCommercePriceListChannelRel(long CommercePriceListChannelRelId)
Returns the commerce price list channel rel with the primary key.
|
CommercePriceListChannelRel |
getCommercePriceListChannelRelByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price list channel rel with the matching UUID and company.
|
java.util.List<CommercePriceListChannelRel> |
getCommercePriceListChannelRels(int start,
int end)
Returns a range of all the commerce price list channel rels.
|
java.util.List<CommercePriceListChannelRel> |
getCommercePriceListChannelRels(long commercePriceListId) |
java.util.List<CommercePriceListChannelRel> |
getCommercePriceListChannelRels(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator) |
java.util.List<CommercePriceListChannelRel> |
getCommercePriceListChannelRels(long commercePriceListId,
java.lang.String name,
int start,
int end) |
int |
getCommercePriceListChannelRelsCount()
Returns the number of commerce price list channel rels.
|
int |
getCommercePriceListChannelRelsCount(long commercePriceListId) |
int |
getCommercePriceListChannelRelsCount(long commercePriceListId,
java.lang.String name) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceListChannelRelLocalService |
getWrappedService() |
void |
setWrappedService(CommercePriceListChannelRelLocalService commercePriceListChannelRelLocalService) |
CommercePriceListChannelRel |
updateCommercePriceListChannelRel(CommercePriceListChannelRel commercePriceListChannelRel)
Updates the commerce price list channel rel in the database or adds it if it does not yet exist.
|
public CommercePriceListChannelRelLocalServiceWrapper()
public CommercePriceListChannelRelLocalServiceWrapper(CommercePriceListChannelRelLocalService commercePriceListChannelRelLocalService)
public CommercePriceListChannelRel addCommercePriceListChannelRel(CommercePriceListChannelRel commercePriceListChannelRel)
Important: Inspect CommercePriceListChannelRelLocalServiceImpl 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.
addCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
commercePriceListChannelRel
- the commerce price list channel relpublic CommercePriceListChannelRel addCommercePriceListChannelRel(long userId, long commercePriceListId, long commerceChannelId, int order, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceListChannelRel createCommercePriceListChannelRel(long CommercePriceListChannelRelId)
createCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
CommercePriceListChannelRelId
- the primary key for the new commerce price list channel relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CommercePriceListChannelRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommercePriceListChannelRel deleteCommercePriceListChannelRel(CommercePriceListChannelRel commercePriceListChannelRel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceListChannelRelLocalServiceImpl 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.
deleteCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
commercePriceListChannelRel
- the commerce price list channel relPortalException
public CommercePriceListChannelRel deleteCommercePriceListChannelRel(long CommercePriceListChannelRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceListChannelRelLocalServiceImpl 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.
deleteCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
CommercePriceListChannelRelId
- the primary key of the commerce price list channel relPortalException
- if a commerce price list channel rel with the primary key could not be foundpublic void deleteCommercePriceListChannelRels(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceListChannelRels
in interface CommercePriceListChannelRelLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface CommercePriceListChannelRelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery
in interface CommercePriceListChannelRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommercePriceListChannelRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommercePriceListChannelRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommercePriceListChannelRelLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceListChannelRelModelImpl
.
dynamicQuery
in interface CommercePriceListChannelRelLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceListChannelRelModelImpl
.
dynamicQuery
in interface CommercePriceListChannelRelLocalService
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 (optionally null
)public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface CommercePriceListChannelRelLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface CommercePriceListChannelRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommercePriceListChannelRel fetchCommercePriceListChannelRel(long CommercePriceListChannelRelId)
fetchCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
public CommercePriceListChannelRel fetchCommercePriceListChannelRel(long commerceChannelId, long commercePriceListId)
fetchCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
public CommercePriceListChannelRel fetchCommercePriceListChannelRelByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCommercePriceListChannelRelByUuidAndCompanyId
in interface CommercePriceListChannelRelLocalService
uuid
- the commerce price list channel rel's UUIDcompanyId
- the primary key of the companynull
if a matching commerce price list channel rel could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommercePriceListChannelRelLocalService
public CommercePriceListChannelRel getCommercePriceListChannelRel(long CommercePriceListChannelRelId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
CommercePriceListChannelRelId
- the primary key of the commerce price list channel relPortalException
- if a commerce price list channel rel with the primary key could not be foundpublic CommercePriceListChannelRel getCommercePriceListChannelRelByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListChannelRelByUuidAndCompanyId
in interface CommercePriceListChannelRelLocalService
uuid
- the commerce price list channel rel's UUIDcompanyId
- the primary key of the companyPortalException
- if a matching commerce price list channel rel could not be foundpublic java.util.List<CommercePriceListChannelRel> getCommercePriceListChannelRels(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.commerce.price.list.model.impl.CommercePriceListChannelRelModelImpl
.
getCommercePriceListChannelRels
in interface CommercePriceListChannelRelLocalService
start
- the lower bound of the range of commerce price list channel relsend
- the upper bound of the range of commerce price list channel rels (not inclusive)public java.util.List<CommercePriceListChannelRel> getCommercePriceListChannelRels(long commercePriceListId)
getCommercePriceListChannelRels
in interface CommercePriceListChannelRelLocalService
public java.util.List<CommercePriceListChannelRel> getCommercePriceListChannelRels(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListChannelRel> orderByComparator)
getCommercePriceListChannelRels
in interface CommercePriceListChannelRelLocalService
public java.util.List<CommercePriceListChannelRel> getCommercePriceListChannelRels(long commercePriceListId, java.lang.String name, int start, int end)
getCommercePriceListChannelRels
in interface CommercePriceListChannelRelLocalService
public int getCommercePriceListChannelRelsCount()
getCommercePriceListChannelRelsCount
in interface CommercePriceListChannelRelLocalService
public int getCommercePriceListChannelRelsCount(long commercePriceListId)
getCommercePriceListChannelRelsCount
in interface CommercePriceListChannelRelLocalService
public int getCommercePriceListChannelRelsCount(long commercePriceListId, java.lang.String name)
getCommercePriceListChannelRelsCount
in interface CommercePriceListChannelRelLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CommercePriceListChannelRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommercePriceListChannelRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommercePriceListChannelRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommercePriceListChannelRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommercePriceListChannelRel updateCommercePriceListChannelRel(CommercePriceListChannelRel commercePriceListChannelRel)
Important: Inspect CommercePriceListChannelRelLocalServiceImpl 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.
updateCommercePriceListChannelRel
in interface CommercePriceListChannelRelLocalService
commercePriceListChannelRel
- the commerce price list channel relpublic CommercePriceListChannelRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListChannelRelLocalService>
public void setWrappedService(CommercePriceListChannelRelLocalService commercePriceListChannelRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListChannelRelLocalService>