@ProviderType public class CommerceOrderNoteLocalServiceWrapper extends java.lang.Object implements CommerceOrderNoteLocalService, com.liferay.portal.kernel.service.ServiceWrapper<CommerceOrderNoteLocalService>
CommerceOrderNoteLocalService.CommerceOrderNoteLocalService| Constructor and Description |
|---|
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(long commerceOrderId,
java.lang.String content,
boolean restricted,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
CommerceOrderNote |
createCommerceOrderNote(long commerceOrderNoteId)
Creates a new commerce order note with the primary key.
|
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) |
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(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrderNote |
fetchCommerceOrderNote(long commerceOrderNoteId) |
CommerceOrderNote |
fetchCommerceOrderNoteByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order note with the matching external reference code and company.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
CommerceOrderNote |
getCommerceOrderNote(long commerceOrderNoteId)
Returns the commerce order note with the primary key.
|
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,
int start,
int end) |
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.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(long commerceOrderNoteId,
java.lang.String content,
boolean restricted,
java.lang.String externalReferenceCode) |
CommerceOrderNote |
upsertCommerceOrderNote(long commerceOrderNoteId,
long commerceOrderId,
java.lang.String content,
boolean restricted,
java.lang.String externalReferenceCode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public CommerceOrderNoteLocalServiceWrapper(CommerceOrderNoteLocalService commerceOrderNoteLocalService)
public CommerceOrderNote addCommerceOrderNote(CommerceOrderNote commerceOrderNote)
addCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNote - 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 CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote addCommerceOrderNote(long commerceOrderId, java.lang.String content, boolean restricted, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCommerceOrderNote in interface CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote createCommerceOrderNote(long commerceOrderNoteId)
createCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNoteId - the primary key for the new commerce order notepublic CommerceOrderNote deleteCommerceOrderNote(CommerceOrderNote commerceOrderNote)
deleteCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNote - the commerce order notepublic CommerceOrderNote deleteCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
deleteCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNoteId - 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 CommerceOrderNoteLocalServicepublic com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel in interface CommerceOrderNoteLocalServicedeletePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery in interface CommerceOrderNoteLocalServicepublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery in interface CommerceOrderNoteLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderNoteModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface CommerceOrderNoteLocalServicedynamicQuery - 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderNoteModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface CommerceOrderNoteLocalServicedynamicQuery - 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 CommerceOrderNoteLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount in interface CommerceOrderNoteLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic CommerceOrderNote fetchByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId)
fetchCommerceOrderNote in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote fetchCommerceOrderNoteByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderNoteByReferenceCode in interface CommerceOrderNoteLocalServicecompanyId - the primary key of the companyexternalReferenceCode - the commerce order note's external reference codenull if a matching commerce order note could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote getCommerceOrderNote(long commerceOrderNoteId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNoteId - the primary key of the commerce order notePortalException - if a commerce order note with the primary key 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.commerce.model.impl.CommerceOrderNoteModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getCommerceOrderNotes in interface CommerceOrderNoteLocalServicestart - 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 CommerceOrderNoteLocalServicepublic java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, int start, int end)
getCommerceOrderNotes in interface CommerceOrderNoteLocalServicepublic int getCommerceOrderNotesCount()
getCommerceOrderNotesCount in interface CommerceOrderNoteLocalServicepublic int getCommerceOrderNotesCount(long commerceOrderId)
getCommerceOrderNotesCount in interface CommerceOrderNoteLocalServicepublic int getCommerceOrderNotesCount(long commerceOrderId,
boolean restricted)
getCommerceOrderNotesCount in interface CommerceOrderNoteLocalServicepublic com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface CommerceOrderNoteLocalServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface CommerceOrderNoteLocalServicepublic com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel in interface CommerceOrderNoteLocalServicegetPersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote updateCommerceOrderNote(CommerceOrderNote commerceOrderNote)
updateCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNote - the commerce order notepublic CommerceOrderNote updateCommerceOrderNote(long commerceOrderNoteId, java.lang.String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderNote in interface CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote updateCommerceOrderNote(long commerceOrderNoteId, java.lang.String content, boolean restricted, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderNote in interface CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote upsertCommerceOrderNote(long commerceOrderNoteId, long commerceOrderId, java.lang.String content, boolean restricted, java.lang.String externalReferenceCode, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
upsertCommerceOrderNote in interface CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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>