@ProviderType public interface CommerceOrderTypePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderType>
Caching information and settings can be found in portal.properties
CommerceOrderTypeUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceOrderType commerceOrderType)
Caches the commerce order type in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceOrderType> commerceOrderTypes)
Caches the commerce order types in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce order types.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of commerce order types where companyId = ? and active = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce order types where companyId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce order types where externalReferenceCode = ? and companyId = ?.
|
int |
countByLtD_S(java.util.Date displayDate,
int status)
Returns the number of commerce order types where displayDate < ? and status = ?.
|
int |
countByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of commerce order types where expirationDate < ? and status = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce order types where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce order types where uuid = ?.
|
CommerceOrderType |
create(long commerceOrderTypeId)
Creates a new commerce order type with the primary key.
|
CommerceOrderType |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where companyId = ? and active = ?.
|
CommerceOrderType |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where companyId = ? and active = ?.
|
CommerceOrderType |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where companyId = ?.
|
CommerceOrderType |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where companyId = ?.
|
CommerceOrderType |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceOrderType |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce order type where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderType |
fetchByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where displayDate < ? and status = ?.
|
CommerceOrderType |
fetchByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where displayDate < ? and status = ?.
|
CommerceOrderType |
fetchByLtE_S_First(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where expirationDate < ? and status = ?.
|
CommerceOrderType |
fetchByLtE_S_Last(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where expirationDate < ? and status = ?.
|
CommerceOrderType |
fetchByPrimaryKey(long commerceOrderTypeId)
Returns the commerce order type with the primary key or returns
null if it could not be found. |
CommerceOrderType |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderType |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderType |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where uuid = ?.
|
CommerceOrderType |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where uuid = ?.
|
int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of commerce order types that the user has permission to view where companyId = ? and active = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce order types that the user has permission to view where companyId = ?.
|
int |
filterCountByLtD_S(java.util.Date displayDate,
int status)
Returns the number of commerce order types that the user has permission to view where displayDate < ? and status = ?.
|
int |
filterCountByLtE_S(java.util.Date expirationDate,
int status)
Returns the number of commerce order types that the user has permission to view where expirationDate < ? and status = ?.
|
int |
filterCountByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce order types that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of commerce order types that the user has permission to view where uuid = ?.
|
CommerceOrderType[] |
filterFindByC_A_PrevAndNext(long commerceOrderTypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
filterFindByC_A(long companyId,
boolean active)
Returns all the commerce order types that the user has permission to view where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce order types that the user has permission to view where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types that the user has permissions to view where companyId = ? and active = ?.
|
CommerceOrderType[] |
filterFindByCompanyId_PrevAndNext(long commerceOrderTypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where companyId = ?.
|
java.util.List<CommerceOrderType> |
filterFindByCompanyId(long companyId)
Returns all the commerce order types that the user has permission to view where companyId = ?.
|
java.util.List<CommerceOrderType> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce order types that the user has permission to view where companyId = ?.
|
java.util.List<CommerceOrderType> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types that the user has permissions to view where companyId = ?.
|
CommerceOrderType[] |
filterFindByLtD_S_PrevAndNext(long commerceOrderTypeId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
filterFindByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce order types that the user has permission to view where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
filterFindByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce order types that the user has permission to view where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
filterFindByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types that the user has permissions to view where displayDate < ? and status = ?.
|
CommerceOrderType[] |
filterFindByLtE_S_PrevAndNext(long commerceOrderTypeId,
java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
filterFindByLtE_S(java.util.Date expirationDate,
int status)
Returns all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
filterFindByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the commerce order types that the user has permission to view where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
filterFindByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types that the user has permissions to view where expirationDate < ? and status = ?.
|
CommerceOrderType[] |
filterFindByUuid_C_PrevAndNext(long commerceOrderTypeId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce order types that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce order types that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types that the user has permissions to view where uuid = ? and companyId = ?.
|
CommerceOrderType[] |
filterFindByUuid_PrevAndNext(long commerceOrderTypeId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set of commerce order types that the user has permission to view where uuid = ?.
|
java.util.List<CommerceOrderType> |
filterFindByUuid(java.lang.String uuid)
Returns all the commerce order types that the user has permission to view where uuid = ?.
|
java.util.List<CommerceOrderType> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce order types that the user has permission to view where uuid = ?.
|
java.util.List<CommerceOrderType> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types that the user has permissions to view where uuid = ?.
|
java.util.List<CommerceOrderType> |
findAll()
Returns all the commerce order types.
|
java.util.List<CommerceOrderType> |
findAll(int start,
int end)
Returns a range of all the commerce order types.
|
java.util.List<CommerceOrderType> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types.
|
java.util.List<CommerceOrderType> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types.
|
CommerceOrderType |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where companyId = ? and active = ?.
|
CommerceOrderType |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where companyId = ? and active = ?.
|
CommerceOrderType[] |
findByC_A_PrevAndNext(long commerceOrderTypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
findByC_A(long companyId,
boolean active)
Returns all the commerce order types where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the commerce order types where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types where companyId = ? and active = ?.
|
java.util.List<CommerceOrderType> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types where companyId = ? and active = ?.
|
CommerceOrderType |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where companyId = ?.
|
CommerceOrderType |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where companyId = ?.
|
CommerceOrderType[] |
findByCompanyId_PrevAndNext(long commerceOrderTypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set where companyId = ?.
|
java.util.List<CommerceOrderType> |
findByCompanyId(long companyId)
Returns all the commerce order types where companyId = ?.
|
java.util.List<CommerceOrderType> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce order types where companyId = ?.
|
java.util.List<CommerceOrderType> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types where companyId = ?.
|
java.util.List<CommerceOrderType> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types where companyId = ?.
|
CommerceOrderType |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order type where externalReferenceCode = ? and companyId = ? or throws a
NoSuchOrderTypeException if it could not be found. |
CommerceOrderType |
findByLtD_S_First(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where displayDate < ? and status = ?.
|
CommerceOrderType |
findByLtD_S_Last(java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where displayDate < ? and status = ?.
|
CommerceOrderType[] |
findByLtD_S_PrevAndNext(long commerceOrderTypeId,
java.util.Date displayDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtD_S(java.util.Date displayDate,
int status)
Returns all the commerce order types where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end)
Returns a range of all the commerce order types where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types where displayDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtD_S(java.util.Date displayDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types where displayDate < ? and status = ?.
|
CommerceOrderType |
findByLtE_S_First(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where expirationDate < ? and status = ?.
|
CommerceOrderType |
findByLtE_S_Last(java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where expirationDate < ? and status = ?.
|
CommerceOrderType[] |
findByLtE_S_PrevAndNext(long commerceOrderTypeId,
java.util.Date expirationDate,
int status,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtE_S(java.util.Date expirationDate,
int status)
Returns all the commerce order types where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end)
Returns a range of all the commerce order types where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types where expirationDate < ? and status = ?.
|
java.util.List<CommerceOrderType> |
findByLtE_S(java.util.Date expirationDate,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types where expirationDate < ? and status = ?.
|
CommerceOrderType |
findByPrimaryKey(long commerceOrderTypeId)
Returns the commerce order type with the primary key or throws a
NoSuchOrderTypeException if it could not be found. |
CommerceOrderType |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderType |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderType[] |
findByUuid_C_PrevAndNext(long commerceOrderTypeId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce order types where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce order types where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderType> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types where uuid = ? and companyId = ?.
|
CommerceOrderType |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the first commerce order type in the ordered set where uuid = ?.
|
CommerceOrderType |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the last commerce order type in the ordered set where uuid = ?.
|
CommerceOrderType[] |
findByUuid_PrevAndNext(long commerceOrderTypeId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns the commerce order types before and after the current commerce order type in the ordered set where uuid = ?.
|
java.util.List<CommerceOrderType> |
findByUuid(java.lang.String uuid)
Returns all the commerce order types where uuid = ?.
|
java.util.List<CommerceOrderType> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce order types where uuid = ?.
|
java.util.List<CommerceOrderType> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
Returns an ordered range of all the commerce order types where uuid = ?.
|
java.util.List<CommerceOrderType> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order types where uuid = ?.
|
CommerceOrderType |
remove(long commerceOrderTypeId)
Removes the commerce order type with the primary key from the database.
|
void |
removeAll()
Removes all the commerce order types from the database.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the commerce order types where companyId = ? and active = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce order types where companyId = ? from the database.
|
CommerceOrderType |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce order type where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByLtD_S(java.util.Date displayDate,
int status)
Removes all the commerce order types where displayDate < ? and status = ? from the database.
|
void |
removeByLtE_S(java.util.Date expirationDate,
int status)
Removes all the commerce order types where expirationDate < ? and status = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce order types where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce order types where uuid = ? from the database.
|
CommerceOrderType |
updateImpl(CommerceOrderType commerceOrderType) |
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<CommerceOrderType> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderType findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType[] findByUuid_PrevAndNext(long commerceOrderTypeId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> filterFindByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderType> filterFindByUuid(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 CommerceOrderTypeModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> filterFindByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceOrderType[] filterFindByUuid_PrevAndNext(long commerceOrderTypeId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidint filterCountByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderType> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderType findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType[] findByUuid_C_PrevAndNext(long commerceOrderTypeId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> filterFindByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderType> filterFindByUuid_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 CommerceOrderTypeModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> filterFindByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceOrderType[] filterFindByUuid_C_PrevAndNext(long commerceOrderTypeId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type 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 IDint filterCountByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderType> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceOrderType> findByCompanyId(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 CommerceOrderTypeModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderType findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType[] findByCompanyId_PrevAndNext(long commerceOrderTypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> filterFindByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceOrderType> filterFindByCompanyId(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 CommerceOrderTypeModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceOrderType[] filterFindByCompanyId_PrevAndNext(long commerceOrderTypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDint filterCountByCompanyId(long companyId)
companyId
- the company IDjava.util.List<CommerceOrderType> findByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activejava.util.List<CommerceOrderType> findByC_A(long companyId, boolean active, 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderType findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType[] findByC_A_PrevAndNext(long commerceOrderTypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> filterFindByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activejava.util.List<CommerceOrderType> filterFindByC_A(long companyId, boolean active, 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
companyId
- the company IDactive
- the activestart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceOrderType[] filterFindByC_A_PrevAndNext(long commerceOrderTypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundvoid removeByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeint countByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activeint filterCountByC_A(long companyId, boolean active)
companyId
- the company IDactive
- the activejava.util.List<CommerceOrderType> findByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CommerceOrderType> findByLtD_S(java.util.Date displayDate, int status, 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 CommerceOrderTypeModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderType findByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByLtD_S_First(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType findByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByLtD_S_Last(java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
displayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType[] findByLtD_S_PrevAndNext(long commerceOrderTypeId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typedisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> filterFindByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CommerceOrderType> filterFindByLtD_S(java.util.Date displayDate, int status, 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 CommerceOrderTypeModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> filterFindByLtD_S(java.util.Date displayDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
displayDate
- the display datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceOrderType[] filterFindByLtD_S_PrevAndNext(long commerceOrderTypeId, java.util.Date displayDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typedisplayDate
- the display datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundvoid removeByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusint countByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusint filterCountByLtD_S(java.util.Date displayDate, int status)
displayDate
- the display datestatus
- the statusjava.util.List<CommerceOrderType> findByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusjava.util.List<CommerceOrderType> findByLtE_S(java.util.Date expirationDate, int status, 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 CommerceOrderTypeModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderType findByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByLtE_S_First(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType findByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType fetchByLtE_S_Last(java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator)
expirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type could not be foundCommerceOrderType[] findByLtE_S_PrevAndNext(long commerceOrderTypeId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typeexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> filterFindByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusjava.util.List<CommerceOrderType> filterFindByLtE_S(java.util.Date expirationDate, int status, 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 CommerceOrderTypeModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> filterFindByLtE_S(java.util.Date expirationDate, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
expirationDate
- the expiration datestatus
- the statusstart
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)CommerceOrderType[] filterFindByLtE_S_PrevAndNext(long commerceOrderTypeId, java.util.Date expirationDate, int status, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> orderByComparator) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the current commerce order typeexpirationDate
- the expiration datestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundvoid removeByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusint countByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusint filterCountByLtE_S(java.util.Date expirationDate, int status)
expirationDate
- the expiration datestatus
- the statusCommerceOrderType findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderTypeException
NoSuchOrderTypeException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderTypeException
- if a matching commerce order type could not be foundCommerceOrderType 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 type could not be foundCommerceOrderType 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 type could not be foundCommerceOrderType removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderTypeException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderTypeException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid cacheResult(CommerceOrderType commerceOrderType)
commerceOrderType
- the commerce order typevoid cacheResult(java.util.List<CommerceOrderType> commerceOrderTypes)
commerceOrderTypes
- the commerce order typesCommerceOrderType create(long commerceOrderTypeId)
commerceOrderTypeId
- the primary key for the new commerce order typeCommerceOrderType remove(long commerceOrderTypeId) throws NoSuchOrderTypeException
commerceOrderTypeId
- the primary key of the commerce order typeNoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundCommerceOrderType updateImpl(CommerceOrderType commerceOrderType)
CommerceOrderType findByPrimaryKey(long commerceOrderTypeId) throws NoSuchOrderTypeException
NoSuchOrderTypeException
if it could not be found.commerceOrderTypeId
- the primary key of the commerce order typeNoSuchOrderTypeException
- if a commerce order type with the primary key could not be foundCommerceOrderType fetchByPrimaryKey(long commerceOrderTypeId)
null
if it could not be found.commerceOrderTypeId
- the primary key of the commerce order typenull
if a commerce order type with the primary key could not be foundjava.util.List<CommerceOrderType> findAll()
java.util.List<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
start
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)java.util.List<CommerceOrderType> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
start
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderType> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderType> 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 CommerceOrderTypeModelImpl
.
start
- the lower bound of the range of commerce order typesend
- the upper bound of the range of commerce order types (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()