@ProviderType public interface CommercePriceListOrderTypeRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListOrderTypeRel>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<CommercePriceListOrderTypeRel>
Caching information and settings can be found in portal.properties
CommercePriceListOrderTypeRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel)
Caches the commerce price list order type rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePriceListOrderTypeRel> commercePriceListOrderTypeRels)
Caches the commerce price list order type rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce price list order type rels.
|
int |
countByCommercePriceListId(long commercePriceListId)
Returns the number of commerce price list order type rels where commercePriceListId = ?.
|
int |
countByCPI_COTI(long commercePriceListId,
long commerceOrderTypeId)
Returns the number of commerce price list order type rels where commercePriceListId = ? and commerceOrderTypeId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price list order type rels where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price list order type rels where uuid = ?.
|
CommercePriceListOrderTypeRel |
create(long commercePriceListOrderTypeRelId)
Creates a new commerce price list order type rel with the primary key.
|
CommercePriceListOrderTypeRel |
fetchByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the first commerce price list order type rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListOrderTypeRel |
fetchByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the last commerce price list order type rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListOrderTypeRel |
fetchByCPI_COTI(long commercePriceListId,
long commerceOrderTypeId)
Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or returns
null if it could not be found. |
CommercePriceListOrderTypeRel |
fetchByCPI_COTI(long commercePriceListId,
long commerceOrderTypeId,
boolean useFinderCache)
Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePriceListOrderTypeRel |
fetchByPrimaryKey(long commercePriceListOrderTypeRelId)
Returns the commerce price list order type rel with the primary key or returns
null if it could not be found. |
CommercePriceListOrderTypeRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the first commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListOrderTypeRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the last commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListOrderTypeRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the first commerce price list order type rel in the ordered set where uuid = ?.
|
CommercePriceListOrderTypeRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the last commerce price list order type rel in the ordered set where uuid = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findAll()
Returns all the commerce price list order type rels.
|
java.util.List<CommercePriceListOrderTypeRel> |
findAll(int start,
int end)
Returns a range of all the commerce price list order type rels.
|
java.util.List<CommercePriceListOrderTypeRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce price list order type rels.
|
java.util.List<CommercePriceListOrderTypeRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list order type rels.
|
CommercePriceListOrderTypeRel |
findByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the first commerce price list order type rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListOrderTypeRel |
findByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the last commerce price list order type rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListOrderTypeRel[] |
findByCommercePriceListId_PrevAndNext(long commercePriceListOrderTypeRelId,
long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where commercePriceListId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price list order type rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price list order type rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce price list order type rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list order type rels where commercePriceListId = ?.
|
CommercePriceListOrderTypeRel |
findByCPI_COTI(long commercePriceListId,
long commerceOrderTypeId)
Returns the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? or throws a
NoSuchPriceListOrderTypeRelException if it could not be found. |
CommercePriceListOrderTypeRel |
findByPrimaryKey(long commercePriceListOrderTypeRelId)
Returns the commerce price list order type rel with the primary key or throws a
NoSuchPriceListOrderTypeRelException if it could not be found. |
CommercePriceListOrderTypeRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the first commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListOrderTypeRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the last commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListOrderTypeRel[] |
findByUuid_C_PrevAndNext(long commercePriceListOrderTypeRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price list order type rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price list order type rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce price list order type rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list order type rels where uuid = ? and companyId = ?.
|
CommercePriceListOrderTypeRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the first commerce price list order type rel in the ordered set where uuid = ?.
|
CommercePriceListOrderTypeRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the last commerce price list order type rel in the ordered set where uuid = ?.
|
CommercePriceListOrderTypeRel[] |
findByUuid_PrevAndNext(long commercePriceListOrderTypeRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns the commerce price list order type rels before and after the current commerce price list order type rel in the ordered set where uuid = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce price list order type rels where uuid = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price list order type rels where uuid = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
Returns an ordered range of all the commerce price list order type rels where uuid = ?.
|
java.util.List<CommercePriceListOrderTypeRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list order type rels where uuid = ?.
|
CommercePriceListOrderTypeRel |
remove(long commercePriceListOrderTypeRelId)
Removes the commerce price list order type rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce price list order type rels from the database.
|
void |
removeByCommercePriceListId(long commercePriceListId)
Removes all the commerce price list order type rels where commercePriceListId = ? from the database.
|
CommercePriceListOrderTypeRel |
removeByCPI_COTI(long commercePriceListId,
long commerceOrderTypeId)
Removes the commerce price list order type rel where commercePriceListId = ? and commerceOrderTypeId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price list order type rels where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price list order type rels where uuid = ? from the database.
|
CommercePriceListOrderTypeRel |
updateImpl(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel) |
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
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<CommercePriceListOrderTypeRel> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)java.util.List<CommercePriceListOrderTypeRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListOrderTypeRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListOrderTypeRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel[] findByUuid_PrevAndNext(long commercePriceListOrderTypeRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
commercePriceListOrderTypeRelId
- the primary key of the current commerce price list order type reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a commerce price list 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<CommercePriceListOrderTypeRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)java.util.List<CommercePriceListOrderTypeRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListOrderTypeRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListOrderTypeRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel[] findByUuid_C_PrevAndNext(long commercePriceListOrderTypeRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
commercePriceListOrderTypeRelId
- the primary key of the current commerce price list order type reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a commerce price list 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<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDjava.util.List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId, 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 CommercePriceListOrderTypeRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)java.util.List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListOrderTypeRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListOrderTypeRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListOrderTypeRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> orderByComparator) throws NoSuchPriceListOrderTypeRelException
commercePriceListOrderTypeRelId
- the primary key of the current commerce price list order type relcommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListOrderTypeRelException
- if a commerce price list order type rel with the primary key could not be foundvoid removeByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDint countByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDCommercePriceListOrderTypeRel findByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) throws NoSuchPriceListOrderTypeRelException
NoSuchPriceListOrderTypeRelException
if it could not be found.commercePriceListId
- the commerce price list IDcommerceOrderTypeId
- the commerce order type IDNoSuchPriceListOrderTypeRelException
- if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByCPI_COTI(long commercePriceListId, long commerceOrderTypeId)
null
if it could not be found. Uses the finder cache.commercePriceListId
- the commerce price list IDcommerceOrderTypeId
- the commerce order type IDnull
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel fetchByCPI_COTI(long commercePriceListId, long commerceOrderTypeId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commercePriceListId
- the commerce price list IDcommerceOrderTypeId
- the commerce order type IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list order type rel could not be foundCommercePriceListOrderTypeRel removeByCPI_COTI(long commercePriceListId, long commerceOrderTypeId) throws NoSuchPriceListOrderTypeRelException
commercePriceListId
- the commerce price list IDcommerceOrderTypeId
- the commerce order type IDNoSuchPriceListOrderTypeRelException
int countByCPI_COTI(long commercePriceListId, long commerceOrderTypeId)
commercePriceListId
- the commerce price list IDcommerceOrderTypeId
- the commerce order type IDvoid cacheResult(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel)
commercePriceListOrderTypeRel
- the commerce price list order type relvoid cacheResult(java.util.List<CommercePriceListOrderTypeRel> commercePriceListOrderTypeRels)
commercePriceListOrderTypeRels
- the commerce price list order type relsCommercePriceListOrderTypeRel create(long commercePriceListOrderTypeRelId)
commercePriceListOrderTypeRelId
- the primary key for the new commerce price list order type relCommercePriceListOrderTypeRel remove(long commercePriceListOrderTypeRelId) throws NoSuchPriceListOrderTypeRelException
commercePriceListOrderTypeRelId
- the primary key of the commerce price list order type relNoSuchPriceListOrderTypeRelException
- if a commerce price list order type rel with the primary key could not be foundCommercePriceListOrderTypeRel updateImpl(CommercePriceListOrderTypeRel commercePriceListOrderTypeRel)
CommercePriceListOrderTypeRel findByPrimaryKey(long commercePriceListOrderTypeRelId) throws NoSuchPriceListOrderTypeRelException
NoSuchPriceListOrderTypeRelException
if it could not be found.commercePriceListOrderTypeRelId
- the primary key of the commerce price list order type relNoSuchPriceListOrderTypeRelException
- if a commerce price list order type rel with the primary key could not be foundCommercePriceListOrderTypeRel fetchByPrimaryKey(long commercePriceListOrderTypeRelId)
null
if it could not be found.commercePriceListOrderTypeRelId
- the primary key of the commerce price list order type relnull
if a commerce price list order type rel with the primary key could not be foundjava.util.List<CommercePriceListOrderTypeRel> findAll()
java.util.List<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
start
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)java.util.List<CommercePriceListOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
start
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list order type rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListOrderTypeRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListOrderTypeRel> 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 CommercePriceListOrderTypeRelModelImpl
.
start
- the lower bound of the range of commerce price list order type relsend
- the upper bound of the range of commerce price list 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()