@ProviderType public interface CommercePriceListCommerceAccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommercePriceListCommerceAccountGroupRel>
Caching information and settings can be found in portal.properties
CommercePriceListCommerceAccountGroupRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
Caches the commerce price list commerce account group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels)
Caches the commerce price list commerce account group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce price list commerce account group rels.
|
int |
countByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId)
Returns the number of commerce price list commerce account group rels where commercePriceListId = ? and commerceAccountGroupId = ?.
|
int |
countByCommercePriceListId(long commercePriceListId)
Returns the number of commerce price list commerce account group rels where commercePriceListId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of commerce price list commerce account group rels where uuid = ?.
|
CommercePriceListCommerceAccountGroupRel |
create(long commercePriceListCommerceAccountGroupRelId)
Creates a new commerce price list commerce account group rel with the primary key.
|
CommercePriceListCommerceAccountGroupRel |
fetchByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId)
Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returns
null if it could not be found. |
CommercePriceListCommerceAccountGroupRel |
fetchByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId,
boolean useFinderCache)
Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommercePriceListCommerceAccountGroupRel |
fetchByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListCommerceAccountGroupRel |
fetchByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListCommerceAccountGroupRel |
fetchByPrimaryKey(long commercePriceListCommerceAccountGroupRelId)
Returns the commerce price list commerce account group rel with the primary key or returns
null if it could not be found. |
CommercePriceListCommerceAccountGroupRel |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListCommerceAccountGroupRel |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListCommerceAccountGroupRel |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.
|
CommercePriceListCommerceAccountGroupRel |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findAll()
Returns all the commerce price list commerce account group rels.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce price list commerce account group rels.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce price list commerce account group rels.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list commerce account group rels.
|
CommercePriceListCommerceAccountGroupRel |
findByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId)
Returns the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? or throws a
NoSuchPriceListCommerceAccountGroupRelException if it could not be found. |
CommercePriceListCommerceAccountGroupRel |
findByCommercePriceListId_First(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the first commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListCommerceAccountGroupRel |
findByCommercePriceListId_Last(long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the last commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
|
CommercePriceListCommerceAccountGroupRel[] |
findByCommercePriceListId_PrevAndNext(long commercePriceListCommerceAccountGroupRelId,
long commercePriceListId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where commercePriceListId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByCommercePriceListId(long commercePriceListId)
Returns all the commerce price list commerce account group rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end)
Returns a range of all the commerce price list commerce account group rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByCommercePriceListId(long commercePriceListId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list commerce account group rels where commercePriceListId = ?.
|
CommercePriceListCommerceAccountGroupRel |
findByPrimaryKey(long commercePriceListCommerceAccountGroupRelId)
Returns the commerce price list commerce account group rel with the primary key or throws a
NoSuchPriceListCommerceAccountGroupRelException if it could not be found. |
CommercePriceListCommerceAccountGroupRel |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the first commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListCommerceAccountGroupRel |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the last commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
|
CommercePriceListCommerceAccountGroupRel[] |
findByUuid_C_PrevAndNext(long commercePriceListCommerceAccountGroupRelId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list commerce account group rels where uuid = ? and companyId = ?.
|
CommercePriceListCommerceAccountGroupRel |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the first commerce price list commerce account group rel in the ordered set where uuid = ?.
|
CommercePriceListCommerceAccountGroupRel |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the last commerce price list commerce account group rel in the ordered set where uuid = ?.
|
CommercePriceListCommerceAccountGroupRel[] |
findByUuid_PrevAndNext(long commercePriceListCommerceAccountGroupRelId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns the commerce price list commerce account group rels before and after the current commerce price list commerce account group rel in the ordered set where uuid = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.String uuid)
Returns all the commerce price list commerce account group rels where uuid = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the commerce price list commerce account group rels where uuid = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.
|
java.util.List<CommercePriceListCommerceAccountGroupRel> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce price list commerce account group rels where uuid = ?.
|
CommercePriceListCommerceAccountGroupRel |
remove(long commercePriceListCommerceAccountGroupRelId)
Removes the commerce price list commerce account group rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce price list commerce account group rels from the database.
|
CommercePriceListCommerceAccountGroupRel |
removeByCAGI_CPI(long commercePriceListId,
long commerceAccountGroupId)
Removes the commerce price list commerce account group rel where commercePriceListId = ? and commerceAccountGroupId = ? from the database.
|
void |
removeByCommercePriceListId(long commercePriceListId)
Removes all the commerce price list commerce account group rels where commercePriceListId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the commerce price list commerce account group rels where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the commerce price list commerce account group rels where uuid = ? from the database.
|
CommercePriceListCommerceAccountGroupRel |
updateImpl(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel) |
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<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListCommerceAccountGroupRel findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel[] findByUuid_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group reluuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group 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<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListCommerceAccountGroupRel> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListCommerceAccountGroupRel findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel[] findByUuid_C_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group reluuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group 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<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId)
commercePriceListId
- the commerce price list IDjava.util.List<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)java.util.List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListCommerceAccountGroupRel> findByCommercePriceListId(long commercePriceListId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
commercePriceListId
- the commerce price list IDstart
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommercePriceListCommerceAccountGroupRel findByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByCommercePriceListId_First(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel findByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByCommercePriceListId_Last(long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator)
commercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel[] findByCommercePriceListId_PrevAndNext(long commercePriceListCommerceAccountGroupRelId, long commercePriceListId, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> orderByComparator) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListCommerceAccountGroupRelId
- the primary key of the current commerce price list commerce account group relcommercePriceListId
- the commerce price list IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group 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 IDCommercePriceListCommerceAccountGroupRel findByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException
NoSuchPriceListCommerceAccountGroupRelException
if it could not be found.commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDNoSuchPriceListCommerceAccountGroupRelException
- if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId)
null
if it could not be found. Uses the finder cache.commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDnull
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel fetchByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce price list commerce account group rel could not be foundCommercePriceListCommerceAccountGroupRel removeByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDNoSuchPriceListCommerceAccountGroupRelException
int countByCAGI_CPI(long commercePriceListId, long commerceAccountGroupId)
commercePriceListId
- the commerce price list IDcommerceAccountGroupId
- the commerce account group IDvoid cacheResult(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
commercePriceListCommerceAccountGroupRel
- the commerce price list commerce account group relvoid cacheResult(java.util.List<CommercePriceListCommerceAccountGroupRel> commercePriceListCommerceAccountGroupRels)
commercePriceListCommerceAccountGroupRels
- the commerce price list commerce account group relsCommercePriceListCommerceAccountGroupRel create(long commercePriceListCommerceAccountGroupRelId)
commercePriceListCommerceAccountGroupRelId
- the primary key for the new commerce price list commerce account group relCommercePriceListCommerceAccountGroupRel remove(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException
commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group relNoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundCommercePriceListCommerceAccountGroupRel updateImpl(CommercePriceListCommerceAccountGroupRel commercePriceListCommerceAccountGroupRel)
CommercePriceListCommerceAccountGroupRel findByPrimaryKey(long commercePriceListCommerceAccountGroupRelId) throws NoSuchPriceListCommerceAccountGroupRelException
NoSuchPriceListCommerceAccountGroupRelException
if it could not be found.commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group relNoSuchPriceListCommerceAccountGroupRelException
- if a commerce price list commerce account group rel with the primary key could not be foundCommercePriceListCommerceAccountGroupRel fetchByPrimaryKey(long commercePriceListCommerceAccountGroupRelId)
null
if it could not be found.commercePriceListCommerceAccountGroupRelId
- the primary key of the commerce price list commerce account group relnull
if a commerce price list commerce account group rel with the primary key could not be foundjava.util.List<CommercePriceListCommerceAccountGroupRel> findAll()
java.util.List<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)java.util.List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommercePriceListCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceListCommerceAccountGroupRel> 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 CommercePriceListCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce price list commerce account group relsend
- the upper bound of the range of commerce price list commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()