public class CommerceOrderNoteLocalServiceWrapper extends java.lang.Object implements CommerceOrderNoteLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderNoteLocalService>
CommerceOrderNoteLocalService
.CommerceOrderNoteLocalService
Constructor and Description |
---|
CommerceOrderNoteLocalServiceWrapper() |
CommerceOrderNoteLocalServiceWrapper(CommerceOrderNoteLocalService commerceOrderNoteLocalService) |
Modifier and Type | Method and Description |
---|---|
CommerceOrderNote |
addCommerceOrderNote(CommerceOrderNote commerceOrderNote)
Adds the commerce order note to the database.
|
CommerceOrderNote |
addCommerceOrderNote(long commerceOrderId,
java.lang.String content,
boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderNote |
addCommerceOrderNote(java.lang.String externalReferenceCode,
long commerceOrderId,
java.lang.String content,
boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderNote |
addOrUpdateCommerceOrderNote(java.lang.String externalReferenceCode,
long commerceOrderNoteId,
long commerceOrderId,
java.lang.String content,
boolean restricted,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderNote |
createCommerceOrderNote(long commerceOrderNoteId)
Creates a new commerce order note with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
createPersistedModel(java.io.Serializable primaryKeyObj) |
CommerceOrderNote |
deleteCommerceOrderNote(CommerceOrderNote commerceOrderNote)
Deletes the commerce order note from the database.
|
CommerceOrderNote |
deleteCommerceOrderNote(long commerceOrderNoteId)
Deletes the commerce order note with the primary key from the database.
|
void |
deleteCommerceOrderNotes(long commerceOrderId) |
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.
|
CommerceOrderNote |
fetchByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceOrderNote |
fetchCommerceOrderNote(long commerceOrderNoteId) |
CommerceOrderNote |
fetchCommerceOrderNoteByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceOrderNote |
fetchCommerceOrderNoteByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce order note matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
com.liferay.portal.kernel.service.persistence.BasePersistence<?> |
getBasePersistence() |
CommerceOrderNote |
getCommerceOrderNote(long commerceOrderNoteId)
Returns the commerce order note with the primary key.
|
CommerceOrderNote |
getCommerceOrderNoteByExternalReferenceCode(java.lang.String externalReferenceCode,
long companyId) |
CommerceOrderNote |
getCommerceOrderNoteByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the commerce order note matching the UUID and group.
|
java.util.List<CommerceOrderNote> |
getCommerceOrderNotes(int start,
int end)
Returns a range of all the commerce order notes.
|
java.util.List<CommerceOrderNote> |
getCommerceOrderNotes(long commerceOrderId,
boolean restricted) |
java.util.List<CommerceOrderNote> |
getCommerceOrderNotes(long commerceOrderId,
boolean restricted,
int start,
int end) |
java.util.List<CommerceOrderNote> |
getCommerceOrderNotes(long commerceOrderId,
int start,
int end) |
java.util.List<CommerceOrderNote> |
getCommerceOrderNotesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the commerce order notes matching the UUID and company.
|
java.util.List<CommerceOrderNote> |
getCommerceOrderNotesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns a range of commerce order notes matching the UUID and company.
|
int |
getCommerceOrderNotesCount()
Returns the number of commerce order notes.
|
int |
getCommerceOrderNotesCount(long commerceOrderId) |
int |
getCommerceOrderNotesCount(long commerceOrderId,
boolean restricted) |
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) |
CommerceOrderNoteLocalService |
getWrappedService() |
void |
setWrappedService(CommerceOrderNoteLocalService commerceOrderNoteLocalService) |
CommerceOrderNote |
updateCommerceOrderNote(CommerceOrderNote commerceOrderNote)
Updates the commerce order note in the database or adds it if it does not yet exist.
|
CommerceOrderNote |
updateCommerceOrderNote(long commerceOrderNoteId,
java.lang.String content,
boolean restricted) |
CommerceOrderNote |
updateCommerceOrderNote(java.lang.String externalReferenceCode,
long commerceOrderNoteId,
java.lang.String content,
boolean restricted) |
public CommerceOrderNoteLocalServiceWrapper()
public CommerceOrderNoteLocalServiceWrapper(CommerceOrderNoteLocalService commerceOrderNoteLocalService)
public CommerceOrderNote addCommerceOrderNote(CommerceOrderNote commerceOrderNote)
Important: Inspect CommerceOrderNoteLocalServiceImpl 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.
addCommerceOrderNote
in interface CommerceOrderNoteLocalService
commerceOrderNote
- the commerce order notepublic CommerceOrderNote addCommerceOrderNote(long commerceOrderId, java.lang.String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrderNote
in interface CommerceOrderNoteLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderNote addCommerceOrderNote(java.lang.String externalReferenceCode, long commerceOrderId, java.lang.String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrderNote
in interface CommerceOrderNoteLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderNote addOrUpdateCommerceOrderNote(java.lang.String externalReferenceCode, long commerceOrderNoteId, long commerceOrderId, java.lang.String content, boolean restricted, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addOrUpdateCommerceOrderNote
in interface CommerceOrderNoteLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderNote createCommerceOrderNote(long commerceOrderNoteId)
createCommerceOrderNote
in interface CommerceOrderNoteLocalService
commerceOrderNoteId
- the primary key for the new commerce order notepublic com.liferay.portal.kernel.model.PersistedModel createPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
createPersistedModel
in interface CommerceOrderNoteLocalService
createPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommerceOrderNote deleteCommerceOrderNote(CommerceOrderNote commerceOrderNote)
Important: Inspect CommerceOrderNoteLocalServiceImpl 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.
deleteCommerceOrderNote
in interface CommerceOrderNoteLocalService
commerceOrderNote
- the commerce order notepublic CommerceOrderNote deleteCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect CommerceOrderNoteLocalServiceImpl 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.
deleteCommerceOrderNote
in interface CommerceOrderNoteLocalService
commerceOrderNoteId
- the primary key of the commerce order notePortalException
- if a commerce order note with the primary key could not be foundpublic void deleteCommerceOrderNotes(long commerceOrderId)
deleteCommerceOrderNotes
in interface CommerceOrderNoteLocalService
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 CommerceOrderNoteLocalService
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 CommerceOrderNoteLocalService
dslQuery
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount
in interface CommerceOrderNoteLocalService
dslQueryCount
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface CommerceOrderNoteLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface CommerceOrderNoteLocalService
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.model.impl.CommerceOrderNoteModelImpl
.
dynamicQuery
in interface CommerceOrderNoteLocalService
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.model.impl.CommerceOrderNoteModelImpl
.
dynamicQuery
in interface CommerceOrderNoteLocalService
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 CommerceOrderNoteLocalService
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 CommerceOrderNoteLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic CommerceOrderNote fetchByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode
in interface CommerceOrderNoteLocalService
public CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId)
fetchCommerceOrderNote
in interface CommerceOrderNoteLocalService
public CommerceOrderNote fetchCommerceOrderNoteByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCommerceOrderNoteByExternalReferenceCode
in interface CommerceOrderNoteLocalService
public CommerceOrderNote fetchCommerceOrderNoteByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommerceOrderNoteByUuidAndGroupId
in interface CommerceOrderNoteLocalService
uuid
- the commerce order note's UUIDgroupId
- the primary key of the groupnull
if a matching commerce order note could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface CommerceOrderNoteLocalService
public CommerceOrderNote getCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNote
in interface CommerceOrderNoteLocalService
commerceOrderNoteId
- the primary key of the commerce order notePortalException
- if a commerce order note with the primary key could not be foundpublic CommerceOrderNote getCommerceOrderNoteByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNoteByExternalReferenceCode
in interface CommerceOrderNoteLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderNote getCommerceOrderNoteByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNoteByUuidAndGroupId
in interface CommerceOrderNoteLocalService
uuid
- the commerce order note's UUIDgroupId
- the primary key of the groupPortalException
- if a matching commerce order note could not be foundpublic java.util.List<CommerceOrderNote> getCommerceOrderNotes(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.model.impl.CommerceOrderNoteModelImpl
.
getCommerceOrderNotes
in interface CommerceOrderNoteLocalService
start
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)public java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, boolean restricted)
getCommerceOrderNotes
in interface CommerceOrderNoteLocalService
public java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, boolean restricted, int start, int end)
getCommerceOrderNotes
in interface CommerceOrderNoteLocalService
public java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, int start, int end)
getCommerceOrderNotes
in interface CommerceOrderNoteLocalService
public java.util.List<CommerceOrderNote> getCommerceOrderNotesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommerceOrderNotesByUuidAndCompanyId
in interface CommerceOrderNoteLocalService
uuid
- the UUID of the commerce order notescompanyId
- the primary key of the companypublic java.util.List<CommerceOrderNote> getCommerceOrderNotesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
getCommerceOrderNotesByUuidAndCompanyId
in interface CommerceOrderNoteLocalService
uuid
- the UUID of the commerce order notescompanyId
- the primary key of the companystart
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public int getCommerceOrderNotesCount()
getCommerceOrderNotesCount
in interface CommerceOrderNoteLocalService
public int getCommerceOrderNotesCount(long commerceOrderId)
getCommerceOrderNotesCount
in interface CommerceOrderNoteLocalService
public int getCommerceOrderNotesCount(long commerceOrderId, boolean restricted)
getCommerceOrderNotesCount
in interface CommerceOrderNoteLocalService
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface CommerceOrderNoteLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface CommerceOrderNoteLocalService
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface CommerceOrderNoteLocalService
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface CommerceOrderNoteLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
PortalException
public CommerceOrderNote updateCommerceOrderNote(CommerceOrderNote commerceOrderNote)
Important: Inspect CommerceOrderNoteLocalServiceImpl 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.
updateCommerceOrderNote
in interface CommerceOrderNoteLocalService
commerceOrderNote
- the commerce order notepublic CommerceOrderNote updateCommerceOrderNote(long commerceOrderNoteId, java.lang.String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderNote
in interface CommerceOrderNoteLocalService
com.liferay.portal.kernel.exception.PortalException
public CommerceOrderNote updateCommerceOrderNote(java.lang.String externalReferenceCode, long commerceOrderNoteId, java.lang.String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderNote
in interface CommerceOrderNoteLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
public CommerceOrderNoteLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderNoteLocalService>
public void setWrappedService(CommerceOrderNoteLocalService commerceOrderNoteLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderNoteLocalService>