@ProviderType public interface CommercePriceListAccountRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListAccountRel>
Caching information and settings can be found in portal.properties
CommercePriceListAccountRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePriceListAccountRel commercePriceListAccountRel)
Caches the commerce price list account rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePriceListAccountRel> commercePriceListAccountRels)
Caches the commerce price list account rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce price list account rels.
|
int |
countByCAI_CPI(long commerceAccountId,
long commercePriceListId)
Returns the number of commerce price list account rels where commerceAccountId = ? and commercePriceListId = ?.
|
int |
countByCommercePriceListId(long commercePriceListId)
Returns the number of commerce price list account rels where commercePriceListId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price list account rels where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price list account rels where uuid = ?.
|
CommercePriceListAccountRel |
create(long commercePriceListAccountRelId)
Creates a new commerce price list account rel with the primary key.
|
CommercePriceListAccountRel |
fetchByCAI_CPI(long commerceAccountId,
long commercePriceListId)
Returns the commerce price list account rel where commerceAccountId = ? and commercePriceListId = ? or returns
null if it could not be found. |
CommercePriceListAccountRel |
fetchByCAI_CPI(long commerceAccountId,
long commercePriceListId,
boolean useFinderCache)
Returns the commerce price list account rel where commerceAccountId = ? and commercePriceListId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePriceListAccountRel |
fetchByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the first commerce price list account rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListAccountRel |
fetchByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the last commerce price list account rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListAccountRel |
fetchByPrimaryKey(long commercePriceListAccountRelId)
Returns the commerce price list account rel with the primary key or returns
null if it could not be found. |
CommercePriceListAccountRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the first commerce price list account rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListAccountRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the last commerce price list account rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListAccountRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the first commerce price list account rel in the ordered set where uuid = ?.
|
CommercePriceListAccountRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the last commerce price list account rel in the ordered set where uuid = ?.
|
java.util.List<CommercePriceListAccountRel> |
findAll()
Returns all the commerce price list account rels.
|
java.util.List<CommercePriceListAccountRel> |
findAll(int start,
int end)
Returns a range of all the commerce price list account rels.
|
java.util.List<CommercePriceListAccountRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns an ordered range of all the commerce price list account rels.
|
java.util.List<CommercePriceListAccountRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list account rels.
|
CommercePriceListAccountRel |
findByCAI_CPI(long commerceAccountId,
long commercePriceListId)
Returns the commerce price list account rel where commerceAccountId = ? and commercePriceListId = ? or throws a
NoSuchPriceListAccountRelException if it could not be found. |
CommercePriceListAccountRel |
findByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the first commerce price list account rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListAccountRel |
findByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the last commerce price list account rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListAccountRel[] |
findByCommercePriceListId_PrevAndNext(long commercePriceListAccountRelId,
long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the commerce price list account rels before and after the current commerce price list account rel in the ordered set where commercePriceListId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price list account rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price list account rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns an ordered range of all the commerce price list account rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list account rels where commercePriceListId = ?.
|
CommercePriceListAccountRel |
findByPrimaryKey(long commercePriceListAccountRelId)
Returns the commerce price list account rel with the primary key or throws a
NoSuchPriceListAccountRelException if it could not be found. |
CommercePriceListAccountRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the first commerce price list account rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListAccountRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the last commerce price list account rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListAccountRel[] |
findByUuid_C_PrevAndNext(long commercePriceListAccountRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the commerce price list account rels before and after the current commerce price list account rel in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price list account rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price list account rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns an ordered range of all the commerce price list account rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list account rels where uuid = ? and companyId = ?.
|
CommercePriceListAccountRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the first commerce price list account rel in the ordered set where uuid = ?.
|
CommercePriceListAccountRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the last commerce price list account rel in the ordered set where uuid = ?.
|
CommercePriceListAccountRel[] |
findByUuid_PrevAndNext(long commercePriceListAccountRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns the commerce price list account rels before and after the current commerce price list account rel in the ordered set where uuid = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce price list account rels where uuid = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price list account rels where uuid = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
Returns an ordered range of all the commerce price list account rels where uuid = ?.
|
java.util.List<CommercePriceListAccountRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list account rels where uuid = ?.
|
CommercePriceListAccountRel |
remove(long commercePriceListAccountRelId)
Removes the commerce price list account rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce price list account rels from the database.
|
CommercePriceListAccountRel |
removeByCAI_CPI(long commerceAccountId,
long commercePriceListId)
Removes the commerce price list account rel where commerceAccountId = ? and commercePriceListId = ? from the database.
|
void |
removeByCommercePriceListId(long commercePriceListId)
Removes all the commerce price list account rels where commercePriceListId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price list account rels where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price list account rels where uuid = ? from the database.
|
CommercePriceListAccountRel |
updateImpl(CommercePriceListAccountRel commercePriceListAccountRel) |
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<CommercePriceListAccountRel> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)java.util.List<CommercePriceListAccountRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListAccountRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListAccountRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel[] findByUuid_PrevAndNext(long commercePriceListAccountRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
commercePriceListAccountRelId
- the primary key of the current commerce price list account reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a commerce price list account 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<CommercePriceListAccountRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)java.util.List<CommercePriceListAccountRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListAccountRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListAccountRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel[] findByUuid_C_PrevAndNext(long commercePriceListAccountRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
commercePriceListAccountRelId
- the primary key of the current commerce price list account reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a commerce price list account 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<CommercePriceListAccountRel> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDjava.util.List<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)java.util.List<CommercePriceListAccountRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListAccountRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListAccountRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListAccountRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> orderByComparator) throws NoSuchPriceListAccountRelException
commercePriceListAccountRelId
- the primary key of the current commerce price list account relcommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListAccountRelException
- if a commerce price list account 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 IDCommercePriceListAccountRel findByCAI_CPI(long commerceAccountId, long commercePriceListId) throws NoSuchPriceListAccountRelException
NoSuchPriceListAccountRelException
if it could not be found.commerceAccountId
- the commerce account IDcommercePriceListId
- the commerce price list IDNoSuchPriceListAccountRelException
- if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByCAI_CPI(long commerceAccountId, long commercePriceListId)
null
if it could not be found. Uses the finder cache.commerceAccountId
- the commerce account IDcommercePriceListId
- the commerce price list IDnull
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel fetchByCAI_CPI(long commerceAccountId, long commercePriceListId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceAccountId
- the commerce account IDcommercePriceListId
- the commerce price list IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list account rel could not be foundCommercePriceListAccountRel removeByCAI_CPI(long commerceAccountId, long commercePriceListId) throws NoSuchPriceListAccountRelException
commerceAccountId
- the commerce account IDcommercePriceListId
- the commerce price list IDNoSuchPriceListAccountRelException
int countByCAI_CPI(long commerceAccountId, long commercePriceListId)
commerceAccountId
- the commerce account IDcommercePriceListId
- the commerce price list IDvoid cacheResult(CommercePriceListAccountRel commercePriceListAccountRel)
commercePriceListAccountRel
- the commerce price list account relvoid cacheResult(java.util.List<CommercePriceListAccountRel> commercePriceListAccountRels)
commercePriceListAccountRels
- the commerce price list account relsCommercePriceListAccountRel create(long commercePriceListAccountRelId)
commercePriceListAccountRelId
- the primary key for the new commerce price list account relCommercePriceListAccountRel remove(long commercePriceListAccountRelId) throws NoSuchPriceListAccountRelException
commercePriceListAccountRelId
- the primary key of the commerce price list account relNoSuchPriceListAccountRelException
- if a commerce price list account rel with the primary key could not be foundCommercePriceListAccountRel updateImpl(CommercePriceListAccountRel commercePriceListAccountRel)
CommercePriceListAccountRel findByPrimaryKey(long commercePriceListAccountRelId) throws NoSuchPriceListAccountRelException
NoSuchPriceListAccountRelException
if it could not be found.commercePriceListAccountRelId
- the primary key of the commerce price list account relNoSuchPriceListAccountRelException
- if a commerce price list account rel with the primary key could not be foundCommercePriceListAccountRel fetchByPrimaryKey(long commercePriceListAccountRelId)
null
if it could not be found.commercePriceListAccountRelId
- the primary key of the commerce price list account relnull
if a commerce price list account rel with the primary key could not be foundjava.util.List<CommercePriceListAccountRel> findAll()
java.util.List<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
start
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)java.util.List<CommercePriceListAccountRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
start
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListAccountRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListAccountRel> 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 CommercePriceListAccountRelModelImpl
.
start
- the lower bound of the range of commerce price list account relsend
- the upper bound of the range of commerce price list account rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()