@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 |
countByCommerceOrderTypeId(long commerceOrderTypeId)
Returns the number of commerce order type rels where commerceOrderTypeId = ?.
|
int |
countByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the number of commerce order type rels where externalReferenceCode = ? and companyId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce order type rels where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce order type rels where uuid = ?.
|
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 |
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 |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found. |
CommerceOrderTypeRel |
fetchByERC_C(java.lang.String externalReferenceCode,
long companyId,
boolean useFinderCache)
Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceOrderTypeRel |
fetchByPrimaryKey(long commerceOrderTypeRelId)
Returns the commerce order type rel with the primary key or returns
null if it could not be found. |
CommerceOrderTypeRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderTypeRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderTypeRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where uuid = ?.
|
CommerceOrderTypeRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where uuid = ?.
|
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 |
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 |
findByERC_C(java.lang.String externalReferenceCode,
long companyId)
Returns the commerce order type rel where externalReferenceCode = ? and companyId = ? or throws a
NoSuchOrderTypeRelException if it could not be found. |
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 |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderTypeRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommerceOrderTypeRel[] |
findByUuid_C_PrevAndNext(long commerceOrderTypeRelId,
java.lang.String uuid,
long companyId,
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 uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce order type rels where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce order type rels where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce order type rels where uuid = ? and companyId = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
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 uuid = ? and companyId = ?.
|
CommerceOrderTypeRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the first commerce order type rel in the ordered set where uuid = ?.
|
CommerceOrderTypeRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns the last commerce order type rel in the ordered set where uuid = ?.
|
CommerceOrderTypeRel[] |
findByUuid_PrevAndNext(long commerceOrderTypeRelId,
java.lang.String uuid,
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 uuid = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce order type rels where uuid = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce order type rels where uuid = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce order type rels where uuid = ?.
|
java.util.List<CommerceOrderTypeRel> |
findByUuid(java.lang.String uuid,
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 uuid = ?.
|
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.
|
void |
removeByCommerceOrderTypeId(long commerceOrderTypeId)
Removes all the commerce order type rels where commerceOrderTypeId = ? from the database.
|
CommerceOrderTypeRel |
removeByERC_C(java.lang.String externalReferenceCode,
long companyId)
Removes the commerce order type rel where externalReferenceCode = ? and companyId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce order type rels where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce order type rels where uuid = ? 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> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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> findByUuid(java.lang.String uuid, 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
.
uuid
- the uuidstart
- 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 findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel[] findByUuid_PrevAndNext(long commerceOrderTypeRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
commerceOrderTypeRelId
- the primary key of the current commerce order type reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a commerce order type rel with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommerceOrderTypeRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommerceOrderTypeRel> 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 CommerceOrderTypeRelModelImpl
.
uuid
- the uuidcompanyId
- the company 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> findByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company 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> findByUuid_C(java.lang.String uuid, long companyId, 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
.
uuid
- the uuidcompanyId
- the company 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 findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce order type rel could not be foundCommerceOrderTypeRel[] findByUuid_C_PrevAndNext(long commerceOrderTypeRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceOrderTypeRel> orderByComparator) throws NoSuchOrderTypeRelException
commerceOrderTypeRelId
- the primary key of the current commerce order type reluuid
- the uuidcompanyId
- the company 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 removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<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 findByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderTypeRelException
NoSuchOrderTypeRelException
if it could not be found.externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderTypeRelException
- if a matching commerce order type rel could not be foundCommerceOrderTypeRel 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 rel could not be foundCommerceOrderTypeRel 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 rel could not be foundCommerceOrderTypeRel removeByERC_C(java.lang.String externalReferenceCode, long companyId) throws NoSuchOrderTypeRelException
externalReferenceCode
- the external reference codecompanyId
- the company IDNoSuchOrderTypeRelException
int countByERC_C(java.lang.String externalReferenceCode, long companyId)
externalReferenceCode
- the external reference codecompanyId
- the company IDvoid 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()