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.
|
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(long companyId,
java.lang.String externalReferenceCode) |
CommerceOrderNote |
fetchCommerceOrderNote(long commerceOrderNoteId) |
CommerceOrderNote |
fetchCommerceOrderNoteByExternalReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
CommerceOrderNote |
fetchCommerceOrderNoteByReferenceCode(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
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(long companyId,
java.lang.String externalReferenceCode)
Deprecated.
|
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)
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(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 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 CommerceOrderNoteLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface CommerceOrderNoteLocalServicepublic 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(long companyId, java.lang.String externalReferenceCode)
fetchByExternalReferenceCode in interface CommerceOrderNoteLocalServicepublic CommerceOrderNote fetchCommerceOrderNote(long commerceOrderNoteId)
fetchCommerceOrderNote in interface CommerceOrderNoteLocalService@Deprecated public CommerceOrderNote fetchCommerceOrderNoteByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderNoteByExternalReferenceCode in interface CommerceOrderNoteLocalService@Deprecated public CommerceOrderNote fetchCommerceOrderNoteByReferenceCode(long companyId, java.lang.String externalReferenceCode)
fetchCommerceOrderNoteByReferenceCode in interface CommerceOrderNoteLocalServicepublic 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 found@Deprecated public CommerceOrderNote getCommerceOrderNoteByExternalReferenceCode(long companyId, java.lang.String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException
getCommerceOrderNoteByExternalReferenceCode in interface CommerceOrderNoteLocalServicecom.liferay.portal.kernel.exception.PortalExceptionpublic 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, 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.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(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 com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()
getBasePersistence in interface com.liferay.portal.kernel.service.PersistedModelLocalServicepublic 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>