public class CommercePriceListAccountRelLocalServiceWrapper extends java.lang.Object implements CommercePriceListAccountRelLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListAccountRelLocalService>
CommercePriceListAccountRelLocalService
.CommercePriceListAccountRelLocalService
Constructor and Description |
---|
CommercePriceListAccountRelLocalServiceWrapper() |
CommercePriceListAccountRelLocalServiceWrapper(CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService) |
Modifier and Type | Method and Description |
---|---|
CommercePriceListAccountRel |
addCommercePriceListAccountRel(CommercePriceListAccountRel commercePriceListAccountRel)
Adds the commerce price list account rel to the database.
|
CommercePriceListAccountRel |
addCommercePriceListAccountRel(long userId,
long commercePriceListId,
long commerceAccountId,
int order,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommercePriceListAccountRel |
createCommercePriceListAccountRel(long commercePriceListAccountRelId)
Creates a new commerce price list account rel with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommercePriceListAccountRel |
deleteCommercePriceListAccountRel(CommercePriceListAccountRel commercePriceListAccountRel)
Deletes the commerce price list account rel from the database.
|
CommercePriceListAccountRel |
deleteCommercePriceListAccountRel(long commercePriceListAccountRelId)
Deletes the commerce price list account rel with the primary key from the database.
|
void |
deleteCommercePriceListAccountRels(long commercePriceListId) |
void |
deleteCommercePriceListAccountRelsByCommercePriceListId(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.
|
CommercePriceListAccountRel |
fetchCommercePriceListAccountRel(long commercePriceListAccountRelId) |
CommercePriceListAccountRel |
fetchCommercePriceListAccountRel(long commerceAccountId,
long commercePriceListId) |
CommercePriceListAccountRel |
fetchCommercePriceListAccountRelByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price list account rel with the matching UUID and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommercePriceListAccountRel |
getCommercePriceListAccountRel(long commercePriceListAccountRelId)
Returns the commerce price list account rel with the primary key.
|
CommercePriceListAccountRel |
getCommercePriceListAccountRelByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the commerce price list account rel with the matching UUID and company.
|
java.util.List<CommercePriceListAccountRel> |
getCommercePriceListAccountRels(int start,
int end)
Returns a range of all the commerce price list account rels.
|
java.util.List<CommercePriceListAccountRel> |
getCommercePriceListAccountRels(long commercePriceListId) |
java.util.List<CommercePriceListAccountRel> |
getCommercePriceListAccountRels(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) |
java.util.List<CommercePriceListAccountRel> |
getCommercePriceListAccountRels(long commercePriceListId,
java.lang.String name,
int start,
int end) |
int |
getCommercePriceListAccountRelsCount()
Returns the number of commerce price list account rels.
|
int |
getCommercePriceListAccountRelsCount(long commercePriceListId) |
int |
getCommercePriceListAccountRelsCount(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) |
CommercePriceListAccountRelLocalService |
getWrappedService() |
void |
setWrappedService(CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService) |
CommercePriceListAccountRel |
updateCommercePriceListAccountRel(CommercePriceListAccountRel commercePriceListAccountRel)
Updates the commerce price list account rel in the database or adds it if it does not yet exist.
|
public CommercePriceListAccountRelLocalServiceWrapper()
public CommercePriceListAccountRelLocalServiceWrapper(CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService)
public CommercePriceListAccountRel addCommercePriceListAccountRel(CommercePriceListAccountRel commercePriceListAccountRel)
Important: Inspect CommercePriceListAccountRelLocalServiceImpl 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.
addCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
commercePriceListAccountRel
- the commerce price list account relpublic CommercePriceListAccountRel addCommercePriceListAccountRel(long userId, long commercePriceListId, long commerceAccountId, int order, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
com.liferay.portal.kernel.exception.PortalException
public CommercePriceListAccountRel createCommercePriceListAccountRel(long commercePriceListAccountRelId)
createCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
commercePriceListAccountRelId
- the primary key for the new commerce price list account relpublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CommercePriceListAccountRelLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommercePriceListAccountRel deleteCommercePriceListAccountRel(CommercePriceListAccountRel commercePriceListAccountRel) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceListAccountRelLocalServiceImpl 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.
deleteCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
commercePriceListAccountRel
- the commerce price list account relPortalException
public CommercePriceListAccountRel deleteCommercePriceListAccountRel(long commercePriceListAccountRelId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommercePriceListAccountRelLocalServiceImpl 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.
deleteCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
commercePriceListAccountRelId
- the primary key of the commerce price list account relPortalException
- if a commerce price list account rel with the primary key could not be foundpublic void deleteCommercePriceListAccountRels(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceListAccountRels
in interface CommercePriceListAccountRelLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteCommercePriceListAccountRelsByCommercePriceListId(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommercePriceListAccountRelsByCommercePriceListId
in interface CommercePriceListAccountRelLocalService
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 CommercePriceListAccountRelLocalService
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 CommercePriceListAccountRelLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommercePriceListAccountRelLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommercePriceListAccountRelLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommercePriceListAccountRelLocalService
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.CommercePriceListAccountRelModelImpl
.
dynamicQuery
in interface CommercePriceListAccountRelLocalService
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.CommercePriceListAccountRelModelImpl
.
dynamicQuery
in interface CommercePriceListAccountRelLocalService
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 CommercePriceListAccountRelLocalService
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 CommercePriceListAccountRelLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommercePriceListAccountRel fetchCommercePriceListAccountRel(long commercePriceListAccountRelId)
fetchCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
public CommercePriceListAccountRel fetchCommercePriceListAccountRel(long commerceAccountId, long commercePriceListId)
fetchCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
public CommercePriceListAccountRel fetchCommercePriceListAccountRelByUuidAndCompanyId(java.lang.String uuid, long companyId)
fetchCommercePriceListAccountRelByUuidAndCompanyId
in interface CommercePriceListAccountRelLocalService
uuid
- the commerce price list account rel's UUIDcompanyId
- the primary key of the companynull
if a matching commerce price list account rel could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommercePriceListAccountRelLocalService
public CommercePriceListAccountRel getCommercePriceListAccountRel(long commercePriceListAccountRelId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
commercePriceListAccountRelId
- the primary key of the commerce price list account relPortalException
- if a commerce price list account rel with the primary key could not be foundpublic CommercePriceListAccountRel getCommercePriceListAccountRelByUuidAndCompanyId(java.lang.String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommercePriceListAccountRelByUuidAndCompanyId
in interface CommercePriceListAccountRelLocalService
uuid
- the commerce price list account rel's UUIDcompanyId
- the primary key of the companyPortalException
- if a matching commerce price list account rel could not be foundpublic java.util.List<CommercePriceListAccountRel> getCommercePriceListAccountRels(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.CommercePriceListAccountRelModelImpl
.
getCommercePriceListAccountRels
in interface CommercePriceListAccountRelLocalService
start
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)public java.util.List<CommercePriceListAccountRel> getCommercePriceListAccountRels(long commercePriceListId)
getCommercePriceListAccountRels
in interface CommercePriceListAccountRelLocalService
public java.util.List<CommercePriceListAccountRel> getCommercePriceListAccountRels(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
getCommercePriceListAccountRels
in interface CommercePriceListAccountRelLocalService
public java.util.List<CommercePriceListAccountRel> getCommercePriceListAccountRels(long commercePriceListId, java.lang.String name, int start, int end)
getCommercePriceListAccountRels
in interface CommercePriceListAccountRelLocalService
public int getCommercePriceListAccountRelsCount()
getCommercePriceListAccountRelsCount
in interface CommercePriceListAccountRelLocalService
public int getCommercePriceListAccountRelsCount(long commercePriceListId)
getCommercePriceListAccountRelsCount
in interface CommercePriceListAccountRelLocalService
public int getCommercePriceListAccountRelsCount(long commercePriceListId, java.lang.String name)
getCommercePriceListAccountRelsCount
in interface CommercePriceListAccountRelLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CommercePriceListAccountRelLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommercePriceListAccountRelLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommercePriceListAccountRelLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommercePriceListAccountRelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommercePriceListAccountRel updateCommercePriceListAccountRel(CommercePriceListAccountRel commercePriceListAccountRel)
Important: Inspect CommercePriceListAccountRelLocalServiceImpl 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.
updateCommercePriceListAccountRel
in interface CommercePriceListAccountRelLocalService
commercePriceListAccountRel
- the commerce price list account relpublic CommercePriceListAccountRelLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListAccountRelLocalService>
public void setWrappedService(CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommercePriceListAccountRelLocalService>