@ProviderType public interface CommerceOrderTypeRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceOrderTypeRel>
Caching information and settings can be found in portal.properties
CommerceOrderTypeRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceOrderTypeRel commerceOrderTypeRel)
Caches the commerce order type rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceOrderTypeRel> commerceOrderTypeRels)
Caches the commerce order type rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce order type rels.
|
int |
countByC_C_C(long classNameId,
long classPK,
long commerceOrderTypeId)
Returns the number of commerce order type rels where classNameId = ? and classPK = ? and commerceOrderTypeId = ?.
|
int |
countByC_C(long classNameId,
long commerceOrderTypeId)
Returns the number of commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce order type rels where companyId = ? and externalReferenceCode = ?.
|
int |
countByCommerceOrderTypeId(long commerceOrderTypeId)
Returns the number of commerce order type rels where commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
create(long commerceOrderTypeRelId)
Creates a new commerce order type rel with the primary key.
|
CommerceOrderTypeRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceOrderTypeId)
Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or returns
null if it could not be found. |
CommerceOrderTypeRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceOrderTypeId,
boolean useFinderCache)
Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderTypeRel |
fetchByC_C_First(long classNameId,
long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
fetchByC_C_Last(long classNameId,
long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order type rel where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceOrderTypeRel |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce order type rel where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderTypeRel |
fetchByCommerceOrderTypeId_First(long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
fetchByCommerceOrderTypeId_Last(long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
fetchByPrimaryKey(long commerceOrderTypeRelId)
Returns the commerce order type rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceOrderTypeRel> |
findAll()
Returns all the commerce order type rels.
|
java.util.List<CommerceOrderTypeRel> |
findAll(int start,
int end)
Returns a range of all the commerce order type rels.
|
java.util.List<CommerceOrderTypeRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce order type rels.
|
java.util.List<CommerceOrderTypeRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order type rels.
|
CommerceOrderTypeRel |
findByC_C_C(long classNameId,
long classPK,
long commerceOrderTypeId)
Returns the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? or throws a
NoSuchOrderTypeRelException if it could not be found. |
CommerceOrderTypeRel |
findByC_C_First(long classNameId,
long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
findByC_C_Last(long classNameId,
long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.
|
CommerceOrderTypeRel[] |
findByC_C_PrevAndNext(long commerceOrderTypeRelId,
long classNameId,
long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where classNameId = ? and commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByC_C(long classNameId,
long commerceOrderTypeId)
Returns all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByC_C(long classNameId,
long commerceOrderTypeId,
int start,
int end)
Returns a range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByC_C(long classNameId,
long commerceOrderTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByC_C(long classNameId,
long commerceOrderTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce order type rel where companyId = ? and externalReferenceCode = ? or throws a
NoSuchOrderTypeRelException if it could not be found. |
CommerceOrderTypeRel |
findByCommerceOrderTypeId_First(long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
findByCommerceOrderTypeId_Last(long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where commerceOrderTypeId = ?.
|
CommerceOrderTypeRel[] |
findByCommerceOrderTypeId_PrevAndNext(long commerceOrderTypeRelId,
long commerceOrderTypeId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the commerce order type rels before and after the current commerce order type rel in the ordered set where commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByCommerceOrderTypeId(long commerceOrderTypeId)
Returns all the commerce order type rels where commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByCommerceOrderTypeId(long commerceOrderTypeId,
int start,
int end)
Returns a range of all the commerce order type rels where commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByCommerceOrderTypeId(long commerceOrderTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce order type rels where commerceOrderTypeId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByCommerceOrderTypeId(long commerceOrderTypeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce order type rels where commerceOrderTypeId = ?.
|
CommerceOrderTypeRel |
findByPrimaryKey(long commerceOrderTypeRelId)
Returns the commerce order type rel with the primary key or throws a
NoSuchOrderTypeRelException if it could not be found. |
CommerceOrderTypeRel |
remove(long commerceOrderTypeRelId)
Removes the commerce order type rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce order type rels from the database.
|
CommerceOrderTypeRel |
removeByC_C_C(long classNameId,
long classPK,
long commerceOrderTypeId)
Removes the commerce order type rel where classNameId = ? and classPK = ? and commerceOrderTypeId = ? from the database.
|
void |
removeByC_C(long classNameId,
long commerceOrderTypeId)
Removes all the commerce order type rels where classNameId = ? and commerceOrderTypeId = ? from the database.
|
CommerceOrderTypeRel |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce order type rel where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByCommerceOrderTypeId(long commerceOrderTypeId)
Removes all the commerce order type rels where commerceOrderTypeId = ? from the database.
|
CommerceOrderTypeRel |
updateImpl(CommerceOrderTypeRel commerceOrderTypeRel) |
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<CommerceOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId)
commerceOrderTypeId
- the commerce order type IDjava.util.List<CommerceOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, 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 CommerceOrderTypeRelModelImpl
.
commerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)java.util.List<CommerceOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
commerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderTypeRel> findByCommerceOrderTypeId(long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
commerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderTypeRel findByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByCommerceOrderTypeId_First(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel findByCommerceOrderTypeId_Last(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByCommerceOrderTypeId_Last(long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
commerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel[] findByCommerceOrderTypeId_PrevAndNext(long commerceOrderTypeRelId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
commerceOrderTypeRelId
- the primary key of the current commerce order type relcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be foundvoid removeByCommerceOrderTypeId(long commerceOrderTypeId)
commerceOrderTypeId
- the commerce order type IDint countByCommerceOrderTypeId(long commerceOrderTypeId)
commerceOrderTypeId
- the commerce order type IDjava.util.List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId)
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDjava.util.List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId, 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 CommerceOrderTypeRelModelImpl
.
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)java.util.List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderTypeRel> findByC_C(long classNameId, long commerceOrderTypeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDstart
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceOrderTypeRel findByC_C_First(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByC_C_First(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel findByC_C_Last(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByC_C_Last(long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel[] findByC_C_PrevAndNext(long commerceOrderTypeRelId, long classNameId, long commerceOrderTypeId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
commerceOrderTypeRelId
- the primary key of the current commerce order type relclassNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be foundvoid removeByC_C(long classNameId, long commerceOrderTypeId)
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDint countByC_C(long classNameId, long commerceOrderTypeId)
classNameId
- the class name IDcommerceOrderTypeId
- the commerce order type IDCommerceOrderTypeRel findByC_C_C(long classNameId, long classPK, long commerceOrderTypeId) throws NoSuchOrderTypeRelException
NoSuchOrderTypeRelException
if it could not be found.classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type IDNoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByC_C_C(long classNameId, long classPK, long commerceOrderTypeId)
null
if it could not be found. Uses the finder cache.classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type IDnull
if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByC_C_C(long classNameId, long classPK, long commerceOrderTypeId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce order type rel could not be foundCommerceOrderTypeRel removeByC_C_C(long classNameId, long classPK, long commerceOrderTypeId) throws NoSuchOrderTypeRelException
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type IDNoSuchOrderTypeRelException
int countByC_C_C(long classNameId, long classPK, long commerceOrderTypeId)
classNameId
- the class name IDclassPK
- the class pkcommerceOrderTypeId
- the commerce order type IDCommerceOrderTypeRel findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchOrderTypeRelException
NoSuchOrderTypeRelException
if it could not be found.companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null
if it could not be found. Uses the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codenull
if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.companyId
- the company IDexternalReferenceCode
- the external reference codeuseFinderCache
- whether to use the finder cachenull
if a matching commerce order type rel could not be foundCommerceOrderTypeRel removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchOrderTypeRelException
companyId
- the company IDexternalReferenceCode
- the external reference codeNoSuchOrderTypeRelException
int countByC_ERC(long companyId, java.lang.String externalReferenceCode)
companyId
- the company IDexternalReferenceCode
- the external reference codevoid cacheResult(CommerceOrderTypeRel commerceOrderTypeRel)
commerceOrderTypeRel
- the commerce order type relvoid cacheResult(java.util.List<CommerceOrderTypeRel> commerceOrderTypeRels)
commerceOrderTypeRels
- the commerce order type relsCommerceOrderTypeRel create(long commerceOrderTypeRelId)
commerceOrderTypeRelId
- the primary key for the new commerce order type relCommerceOrderTypeRel remove(long commerceOrderTypeRelId) throws NoSuchOrderTypeRelException
commerceOrderTypeRelId
- the primary key of the commerce order type relNoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be foundCommerceOrderTypeRel updateImpl(CommerceOrderTypeRel commerceOrderTypeRel)
CommerceOrderTypeRel findByPrimaryKey(long commerceOrderTypeRelId) throws NoSuchOrderTypeRelException
NoSuchOrderTypeRelException
if it could not be found.commerceOrderTypeRelId
- the primary key of the commerce order type relNoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be foundCommerceOrderTypeRel fetchByPrimaryKey(long commerceOrderTypeRelId)
null
if it could not be found.commerceOrderTypeRelId
- the primary key of the commerce order type relnull
if a commerce order type rel with the primary key could not be foundjava.util.List<CommerceOrderTypeRel> findAll()
java.util.List<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
start
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)java.util.List<CommerceOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
start
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
start
- the lower bound of the range of commerce order type relsend
- the upper bound of the range of commerce order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()