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() |
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 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(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 CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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 CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote createCommerceOrderNote(long commerceOrderNoteId)
createCommerceOrderNote in interface CommerceOrderNoteLocalServicecommerceOrderNoteId - 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 CommerceOrderNoteLocalServicecreatePersistedModel in interface com.liferay.portal.kernel.service.PersistedModelLocalServicePortalExceptionpublic 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 CommerceOrderNoteLocalServicecommerceOrderNote - 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 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 <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface CommerceOrderNoteLocalServicedslQuery in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceOrderNoteLocalServicedslQueryCount in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic 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 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 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 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 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(java.lang.String externalReferenceCode, long companyId)
fetchByExternalReferenceCode in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId)
fetchCommerceOrderNote in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote fetchCommerceOrderNoteByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId)
fetchCommerceOrderNoteByExternalReferenceCode in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote fetchCommerceOrderNoteByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchCommerceOrderNoteByUuidAndGroupId in interface CommerceOrderNoteLocalServiceuuid - 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 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 CommerceOrderNote getCommerceOrderNoteByExternalReferenceCode(java.lang.String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNoteByExternalReferenceCode in interface CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic CommerceOrderNote getCommerceOrderNoteByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNoteByUuidAndGroupId in interface CommerceOrderNoteLocalServiceuuid - 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 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, boolean restricted, int start, int end)
getCommerceOrderNotes in interface CommerceOrderNoteLocalServicepublic java.util.List<CommerceOrderNote> getCommerceOrderNotes(long commerceOrderId, int start, int end)
getCommerceOrderNotes in interface CommerceOrderNoteLocalServicepublic java.util.List<CommerceOrderNote> getCommerceOrderNotesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getCommerceOrderNotesByUuidAndCompanyId in interface CommerceOrderNoteLocalServiceuuid - 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 CommerceOrderNoteLocalServiceuuid - 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 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.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery 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.PersistedModelLocalServicePortalExceptionpublic 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 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(java.lang.String externalReferenceCode, long commerceOrderNoteId, java.lang.String content, boolean restricted) throws com.liferay.portal.kernel.exception.PortalException
updateCommerceOrderNote 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>