public class CommercePricingClassCPDefinitionRelLocalServiceWrapper extends java.lang.Object implements CommercePricingClassCPDefinitionRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassCPDefinitionRelLocalService>
CommercePricingClassCPDefinitionRelLocalService
.CommercePricingClassCPDefinitionRelLocalService
Constructor and Description |
---|
CommercePricingClassCPDefinitionRelLocalServiceWrapper() |
CommercePricingClassCPDefinitionRelLocalServiceWrapper(CommercePricingClassCPDefinitionRelLocalService commercePricingClassCPDefinitionRelLocalService) |
Modifier and Type | Method and Description |
---|---|
CommercePricingClassCPDefinitionRel |
addCommercePricingClassCPDefinitionRel(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
Adds the commerce pricing class cp definition rel to the database.
|
CommercePricingClassCPDefinitionRel |
addCommercePricingClassCPDefinitionRel(long commercePricingClassId,
long cpDefinitionId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePricingClassCPDefinitionRel |
createCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId)
Creates a new commerce pricing class cp definition rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePricingClassCPDefinitionRel |
deleteCommercePricingClassCPDefinitionRel(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
Deletes the commerce pricing class cp definition rel from the database.
|
CommercePricingClassCPDefinitionRel |
deleteCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId)
Deletes the commerce pricing class cp definition rel with the primary key from the database.
|
void |
deleteCommercePricingClassCPDefinitionRels(long commercePricingClassId) |
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.
|
CommercePricingClassCPDefinitionRel |
fetchCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId) |
CommercePricingClassCPDefinitionRel |
fetchCommercePricingClassCPDefinitionRel(long commercePricingClassId,
long cpDefinitionId) |
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<CommercePricingClassCPDefinitionRel> |
getCommercePricingClassByCPDefinitionId(long cpDefinitionId) |
CommercePricingClassCPDefinitionRel |
getCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId)
Returns the commerce pricing class cp definition rel with the primary key.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
getCommercePricingClassCPDefinitionRels(int start,
int end)
Returns a range of all the commerce pricing class cp definition rels.
|
java.util.List<CommercePricingClassCPDefinitionRel> |
getCommercePricingClassCPDefinitionRels(long commercePricingClassId) |
java.util.List<CommercePricingClassCPDefinitionRel> |
getCommercePricingClassCPDefinitionRels(long commercePricingClassId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator) |
int |
getCommercePricingClassCPDefinitionRelsCount()
Returns the number of commerce pricing class cp definition rels.
|
int |
getCommercePricingClassCPDefinitionRelsCount(long commercePricingClassId) |
int |
getCommercePricingClassCPDefinitionRelsCount(long commercePricingClassId,
java.lang.String name,
java.lang.String languageId) |
long[] |
getCPDefinitionIds(long commercePricingClassId) |
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) |
CommercePricingClassCPDefinitionRelLocalService |
getWrappedService() |
java.util.List<CommercePricingClassCPDefinitionRel> |
searchByCommercePricingClassId(long commercePricingClassId,
java.lang.String name,
java.lang.String languageId,
int start,
int end) |
void |
setWrappedService(CommercePricingClassCPDefinitionRelLocalService commercePricingClassCPDefinitionRelLocalService) |
CommercePricingClassCPDefinitionRel |
updateCommercePricingClassCPDefinitionRel(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
Updates the commerce pricing class cp definition rel in the database or adds it if it does not yet exist.
|
public CommercePricingClassCPDefinitionRelLocalServiceWrapper()
public CommercePricingClassCPDefinitionRelLocalServiceWrapper(CommercePricingClassCPDefinitionRelLocalService commercePricingClassCPDefinitionRelLocalService)
public CommercePricingClassCPDefinitionRel addCommercePricingClassCPDefinitionRel(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
Important: Inspect CommercePricingClassCPDefinitionRelLocalServiceImpl 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.
addCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
commercePricingClassCPDefinitionRel
- the commerce pricing class cp definition relpublic CommercePricingClassCPDefinitionRel addCommercePricingClassCPDefinitionRel(long commercePricingClassId, long cpDefinitionId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CommercePricingClassCPDefinitionRel createCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId)
createCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
CommercePricingClassCPDefinitionRelId
- the primary key for the new commerce pricing class cp definition relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CommercePricingClassCPDefinitionRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommercePricingClassCPDefinitionRel deleteCommercePricingClassCPDefinitionRel(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePricingClassCPDefinitionRelLocalServiceImpl 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.
deleteCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
commercePricingClassCPDefinitionRel
- the commerce pricing class cp definition relPortalException
public CommercePricingClassCPDefinitionRel deleteCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePricingClassCPDefinitionRelLocalServiceImpl 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.
deleteCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
CommercePricingClassCPDefinitionRelId
- the primary key of the commerce pricing class cp definition relPortalException
- if a commerce pricing class cp definition rel with the primary key could not be foundpublic void deleteCommercePricingClassCPDefinitionRels(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePricingClassCPDefinitionRels
in interface CommercePricingClassCPDefinitionRelLocalService
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 CommercePricingClassCPDefinitionRelLocalService
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 CommercePricingClassCPDefinitionRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommercePricingClassCPDefinitionRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommercePricingClassCPDefinitionRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommercePricingClassCPDefinitionRelLocalService
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.pricing.model.impl.CommercePricingClassCPDefinitionRelModelImpl
.
dynamicQuery
in interface CommercePricingClassCPDefinitionRelLocalService
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.pricing.model.impl.CommercePricingClassCPDefinitionRelModelImpl
.
dynamicQuery
in interface CommercePricingClassCPDefinitionRelLocalService
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 CommercePricingClassCPDefinitionRelLocalService
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 CommercePricingClassCPDefinitionRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommercePricingClassCPDefinitionRel fetchCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId)
fetchCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
public CommercePricingClassCPDefinitionRel fetchCommercePricingClassCPDefinitionRel(long commercePricingClassId, long cpDefinitionId)
fetchCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommercePricingClassCPDefinitionRelLocalService
public java.util.List<CommercePricingClassCPDefinitionRel> getCommercePricingClassByCPDefinitionId(long cpDefinitionId)
getCommercePricingClassByCPDefinitionId
in interface CommercePricingClassCPDefinitionRelLocalService
public CommercePricingClassCPDefinitionRel getCommercePricingClassCPDefinitionRel(long CommercePricingClassCPDefinitionRelId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
CommercePricingClassCPDefinitionRelId
- the primary key of the commerce pricing class cp definition relPortalException
- if a commerce pricing class cp definition rel with the primary key could not be foundpublic java.util.List<CommercePricingClassCPDefinitionRel> getCommercePricingClassCPDefinitionRels(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.pricing.model.impl.CommercePricingClassCPDefinitionRelModelImpl
.
getCommercePricingClassCPDefinitionRels
in interface CommercePricingClassCPDefinitionRelLocalService
start
- the lower bound of the range of commerce pricing class cp definition relsend
- the upper bound of the range of commerce pricing class cp definition rels (not inclusive)public java.util.List<CommercePricingClassCPDefinitionRel> getCommercePricingClassCPDefinitionRels(long commercePricingClassId)
getCommercePricingClassCPDefinitionRels
in interface CommercePricingClassCPDefinitionRelLocalService
public java.util.List<CommercePricingClassCPDefinitionRel> getCommercePricingClassCPDefinitionRels(long commercePricingClassId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClassCPDefinitionRel> orderByComparator)
getCommercePricingClassCPDefinitionRels
in interface CommercePricingClassCPDefinitionRelLocalService
public int getCommercePricingClassCPDefinitionRelsCount()
getCommercePricingClassCPDefinitionRelsCount
in interface CommercePricingClassCPDefinitionRelLocalService
public int getCommercePricingClassCPDefinitionRelsCount(long commercePricingClassId)
getCommercePricingClassCPDefinitionRelsCount
in interface CommercePricingClassCPDefinitionRelLocalService
public int getCommercePricingClassCPDefinitionRelsCount(long commercePricingClassId, java.lang.String name, java.lang.String languageId)
getCommercePricingClassCPDefinitionRelsCount
in interface CommercePricingClassCPDefinitionRelLocalService
public long[] getCPDefinitionIds(long commercePricingClassId)
getCPDefinitionIds
in interface CommercePricingClassCPDefinitionRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommercePricingClassCPDefinitionRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommercePricingClassCPDefinitionRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommercePricingClassCPDefinitionRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public java.util.List<CommercePricingClassCPDefinitionRel> searchByCommercePricingClassId(long commercePricingClassId, java.lang.String name, java.lang.String languageId, int start, int end)
searchByCommercePricingClassId
in interface CommercePricingClassCPDefinitionRelLocalService
public CommercePricingClassCPDefinitionRel updateCommercePricingClassCPDefinitionRel(CommercePricingClassCPDefinitionRel commercePricingClassCPDefinitionRel)
Important: Inspect CommercePricingClassCPDefinitionRelLocalServiceImpl 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.
updateCommercePricingClassCPDefinitionRel
in interface CommercePricingClassCPDefinitionRelLocalService
commercePricingClassCPDefinitionRel
- the commerce pricing class cp definition relpublic CommercePricingClassCPDefinitionRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassCPDefinitionRelLocalService>
public void setWrappedService(CommercePricingClassCPDefinitionRelLocalService commercePricingClassCPDefinitionRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePricingClassCPDefinitionRelLocalService>