@ProviderType public interface CommerceOrderNotePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderNote>
Caching information and settings can be found in portal.properties
CommerceOrderNoteUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceOrderNote commerceOrderNote)
Caches the commerce order note in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceOrderNote> commerceOrderNotes)
Caches the commerce order notes in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce order notes.
|
int |
countByC_R(long commerceOrderId,
boolean restricted)
Returns the number of commerce order notes where commerceOrderId = ? and restricted = ?.
|
int |
countByCommerceOrderId(long commerceOrderId)
Returns the number of commerce order notes where commerceOrderId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce order notes where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce order notes where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of commerce order notes where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce order notes where uuid = ?.
|
CommerceOrderNote |
create(long commerceOrderNoteId)
Creates a new commerce order note with the primary key.
|
CommerceOrderNote |
fetchByC_R_First(long commerceOrderId,
boolean restricted,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where commerceOrderId = ? and restricted = ?.
|
CommerceOrderNote |
fetchByC_R_Last(long commerceOrderId,
boolean restricted,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where commerceOrderId = ? and restricted = ?.
|
CommerceOrderNote |
fetchByCommerceOrderId_First(long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where commerceOrderId = ?.
|
CommerceOrderNote |
fetchByCommerceOrderId_Last(long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where commerceOrderId = ?.
|
CommerceOrderNote |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order note where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceOrderNote |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce order note where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderNote |
fetchByPrimaryKey(long commerceOrderNoteId)
Returns the commerce order note with the primary key or returns
null if it could not be found. |
CommerceOrderNote |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderNote |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderNote |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where uuid = ?.
|
CommerceOrderNote |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order note where uuid = ? and groupId = ? or returns
null if it could not be found. |
CommerceOrderNote |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the commerce order note where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderNote |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where uuid = ?.
|
java.util.List<CommerceOrderNote> |
findAll()
Returns all the commerce order notes.
|
java.util.List<CommerceOrderNote> |
findAll(int start,
int end)
Returns a range of all the commerce order notes.
|
java.util.List<CommerceOrderNote> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns an ordered range of all the commerce order notes.
|
java.util.List<CommerceOrderNote> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order notes.
|
CommerceOrderNote |
findByC_R_First(long commerceOrderId,
boolean restricted,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where commerceOrderId = ? and restricted = ?.
|
CommerceOrderNote |
findByC_R_Last(long commerceOrderId,
boolean restricted,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where commerceOrderId = ? and restricted = ?.
|
CommerceOrderNote[] |
findByC_R_PrevAndNext(long commerceOrderNoteId,
long commerceOrderId,
boolean restricted,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the commerce order notes before and after the current commerce order note in the ordered set where commerceOrderId = ? and restricted = ?.
|
java.util.List<CommerceOrderNote> |
findByC_R(long commerceOrderId,
boolean restricted)
Returns all the commerce order notes where commerceOrderId = ? and restricted = ?.
|
java.util.List<CommerceOrderNote> |
findByC_R(long commerceOrderId,
boolean restricted,
int start,
int end)
Returns a range of all the commerce order notes where commerceOrderId = ? and restricted = ?.
|
java.util.List<CommerceOrderNote> |
findByC_R(long commerceOrderId,
boolean restricted,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns an ordered range of all the commerce order notes where commerceOrderId = ? and restricted = ?.
|
java.util.List<CommerceOrderNote> |
findByC_R(long commerceOrderId,
boolean restricted,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order notes where commerceOrderId = ? and restricted = ?.
|
CommerceOrderNote |
findByCommerceOrderId_First(long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where commerceOrderId = ?.
|
CommerceOrderNote |
findByCommerceOrderId_Last(long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where commerceOrderId = ?.
|
CommerceOrderNote[] |
findByCommerceOrderId_PrevAndNext(long commerceOrderNoteId,
long commerceOrderId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the commerce order notes before and after the current commerce order note in the ordered set where commerceOrderId = ?.
|
java.util.List<CommerceOrderNote> |
findByCommerceOrderId(long commerceOrderId)
Returns all the commerce order notes where commerceOrderId = ?.
|
java.util.List<CommerceOrderNote> |
findByCommerceOrderId(long commerceOrderId,
int start,
int end)
Returns a range of all the commerce order notes where commerceOrderId = ?.
|
java.util.List<CommerceOrderNote> |
findByCommerceOrderId(long commerceOrderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns an ordered range of all the commerce order notes where commerceOrderId = ?.
|
java.util.List<CommerceOrderNote> |
findByCommerceOrderId(long commerceOrderId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order notes where commerceOrderId = ?.
|
CommerceOrderNote |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order note where externalReferenceCode = ? and companyId = ? or throws a
NoSuchOrderNoteException if it could not be found. |
CommerceOrderNote |
findByPrimaryKey(long commerceOrderNoteId)
Returns the commerce order note with the primary key or throws a
NoSuchOrderNoteException if it could not be found. |
CommerceOrderNote |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderNote |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderNote[] |
findByUuid_C_PrevAndNext(long commerceOrderNoteId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the commerce order notes before and after the current commerce order note in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce order notes where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce order notes where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns an ordered range of all the commerce order notes where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order notes where uuid = ? and companyId = ?.
|
CommerceOrderNote |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the first commerce order note in the ordered set where uuid = ?.
|
CommerceOrderNote |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the commerce order note where uuid = ? and groupId = ? or throws a
NoSuchOrderNoteException if it could not be found. |
CommerceOrderNote |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the last commerce order note in the ordered set where uuid = ?.
|
CommerceOrderNote[] |
findByUuid_PrevAndNext(long commerceOrderNoteId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns the commerce order notes before and after the current commerce order note in the ordered set where uuid = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid(java.lang.String uuid)
Returns all the commerce order notes where uuid = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce order notes where uuid = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
Returns an ordered range of all the commerce order notes where uuid = ?.
|
java.util.List<CommerceOrderNote> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order notes where uuid = ?.
|
CommerceOrderNote |
remove(long commerceOrderNoteId)
Removes the commerce order note with the primary key from the database.
|
void |
removeAll()
Removes all the commerce order notes from the database.
|
void |
removeByC_R(long commerceOrderId,
boolean restricted)
Removes all the commerce order notes where commerceOrderId = ? and restricted = ? from the database.
|
void |
removeByCommerceOrderId(long commerceOrderId)
Removes all the commerce order notes where commerceOrderId = ? from the database.
|
CommerceOrderNote |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce order note where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce order notes where uuid = ? and companyId = ? from the database.
|
CommerceOrderNote |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the commerce order note where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce order notes where uuid = ? from the database.
|
CommerceOrderNote |
updateImpl(CommerceOrderNote commerceOrderNote) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceOrderNote> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderNote> findByUuid(java.lang.String uuid, 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)java.util.List<CommerceOrderNote> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
uuid
- the uuidstart
- 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
)java.util.List<CommerceOrderNote> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
uuid
- the uuidstart
- 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
)useFinderCache
- whether to use the finder cacheCommerceOrderNote findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote[] findByUuid_PrevAndNext(long commerceOrderNoteId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderNoteId
- the primary key of the current commerce order noteuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a commerce order note with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidCommerceOrderNote findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderNoteException
NoSuchOrderNoteException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching commerce order note could not be foundCommerceOrderNote fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce order note could not be foundCommerceOrderNote removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchOrderNoteException
uuid
- the uuidgroupId
- the group IDNoSuchOrderNoteException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<CommerceOrderNote> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderNote> findByUuid_C(java.lang.String uuid, long companyId, 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)java.util.List<CommerceOrderNote> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- 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
)java.util.List<CommerceOrderNote> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- 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
)useFinderCache
- whether to use the finder cacheCommerceOrderNote findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote[] findByUuid_C_PrevAndNext(long commerceOrderNoteId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderNoteId
- the primary key of the current commerce order noteuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a commerce order note with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderNote> findByCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order IDjava.util.List<CommerceOrderNote> findByCommerceOrderId(long commerceOrderId, 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
commerceOrderId
- the commerce order IDstart
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)java.util.List<CommerceOrderNote> findByCommerceOrderId(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
commerceOrderId
- the commerce order IDstart
- 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
)java.util.List<CommerceOrderNote> findByCommerceOrderId(long commerceOrderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
commerceOrderId
- the commerce order IDstart
- 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
)useFinderCache
- whether to use the finder cacheCommerceOrderNote findByCommerceOrderId_First(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByCommerceOrderId_First(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote findByCommerceOrderId_Last(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByCommerceOrderId_Last(long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
commerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote[] findByCommerceOrderId_PrevAndNext(long commerceOrderNoteId, long commerceOrderId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderNoteId
- the primary key of the current commerce order notecommerceOrderId
- the commerce order IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a commerce order note with the primary key could not be foundvoid removeByCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order IDint countByCommerceOrderId(long commerceOrderId)
commerceOrderId
- the commerce order IDjava.util.List<CommerceOrderNote> findByC_R(long commerceOrderId, boolean restricted)
commerceOrderId
- the commerce order IDrestricted
- the restrictedjava.util.List<CommerceOrderNote> findByC_R(long commerceOrderId, boolean restricted, 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
commerceOrderId
- the commerce order IDrestricted
- the restrictedstart
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)java.util.List<CommerceOrderNote> findByC_R(long commerceOrderId, boolean restricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
commerceOrderId
- the commerce order IDrestricted
- the restrictedstart
- 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
)java.util.List<CommerceOrderNote> findByC_R(long commerceOrderId, boolean restricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
commerceOrderId
- the commerce order IDrestricted
- the restrictedstart
- 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
)useFinderCache
- whether to use the finder cacheCommerceOrderNote findByC_R_First(long commerceOrderId, boolean restricted, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderId
- the commerce order IDrestricted
- the restrictedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByC_R_First(long commerceOrderId, boolean restricted, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
commerceOrderId
- the commerce order IDrestricted
- the restrictedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote findByC_R_Last(long commerceOrderId, boolean restricted, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderId
- the commerce order IDrestricted
- the restrictedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByC_R_Last(long commerceOrderId, boolean restricted, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator)
commerceOrderId
- the commerce order IDrestricted
- the restrictedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order note could not be foundCommerceOrderNote[] findByC_R_PrevAndNext(long commerceOrderNoteId, long commerceOrderId, boolean restricted, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator) throws NoSuchOrderNoteException
commerceOrderNoteId
- the primary key of the current commerce order notecommerceOrderId
- the commerce order IDrestricted
- the restrictedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderNoteException
- if a commerce order note with the primary key could not be foundvoid removeByC_R(long commerceOrderId, boolean restricted)
commerceOrderId
- the commerce order IDrestricted
- the restrictedint countByC_R(long commerceOrderId, boolean restricted)
commerceOrderId
- the commerce order IDrestricted
- the restrictedCommerceOrderNote findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderNoteException
NoSuchOrderNoteException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderNoteException
- if a matching commerce order note could not be foundCommerceOrderNote fetchByERC_C(java.lang.String externalReferenceCode, long companyId)
null
if it could not be found. Uses the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDnull
if a matching commerce order note could not be foundCommerceOrderNote fetchByERC_C(java.lang.String externalReferenceCode, long companyId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.externalReferenceCode
- the external reference codecompanyId
- the company IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce order note could not be foundCommerceOrderNote removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderNoteException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderNoteException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommerceOrderNote commerceOrderNote)
commerceOrderNote
- the commerce order notevoid cacheResult(java.util.List<CommerceOrderNote> commerceOrderNotes)
commerceOrderNotes
- the commerce order notesCommerceOrderNote create(long commerceOrderNoteId)
commerceOrderNoteId
- the primary key for the new commerce order noteCommerceOrderNote remove(long commerceOrderNoteId) throws NoSuchOrderNoteException
commerceOrderNoteId
- the primary key of the commerce order noteNoSuchOrderNoteException
- if a commerce order note with the primary key could not be foundCommerceOrderNote updateImpl(CommerceOrderNote commerceOrderNote)
CommerceOrderNote findByPrimaryKey(long commerceOrderNoteId) throws NoSuchOrderNoteException
NoSuchOrderNoteException
if it could not be found.commerceOrderNoteId
- the primary key of the commerce order noteNoSuchOrderNoteException
- if a commerce order note with the primary key could not be foundCommerceOrderNote fetchByPrimaryKey(long commerceOrderNoteId)
null
if it could not be found.commerceOrderNoteId
- the primary key of the commerce order notenull
if a commerce order note with the primary key could not be foundjava.util.List<CommerceOrderNote> findAll()
java.util.List<CommerceOrderNote> findAll(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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
start
- the lower bound of the range of commerce order notesend
- the upper bound of the range of commerce order notes (not inclusive)java.util.List<CommerceOrderNote> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> 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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
start
- 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
)java.util.List<CommerceOrderNote> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderNote> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from CommerceOrderNoteModelImpl
.
start
- 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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()