@ProviderType public interface CommerceDiscountCommerceAccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceDiscountCommerceAccountGroupRel>
Caching information and settings can be found in portal.properties
CommerceDiscountCommerceAccountGroupRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel)
Caches the commerce discount commerce account group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceDiscountCommerceAccountGroupRel> commerceDiscountCommerceAccountGroupRels)
Caches the commerce discount commerce account group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce discount commerce account group rels.
|
int |
countByCDI_CAGI(long commerceDiscountId,
long commerceAccountGroupId)
Returns the number of commerce discount commerce account group rels where commerceDiscountId = ? and commerceAccountGroupId = ?.
|
int |
countByCommerceAccountGroupId(long commerceAccountGroupId)
Returns the number of commerce discount commerce account group rels where commerceAccountGroupId = ?.
|
int |
countByCommerceDiscountId(long commerceDiscountId)
Returns the number of commerce discount commerce account group rels where commerceDiscountId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
create(long commerceDiscountCommerceAccountGroupRelId)
Creates a new commerce discount commerce account group rel with the primary key.
|
CommerceDiscountCommerceAccountGroupRel |
fetchByCDI_CAGI(long commerceDiscountId,
long commerceAccountGroupId)
Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returns
null if it could not be found. |
CommerceDiscountCommerceAccountGroupRel |
fetchByCDI_CAGI(long commerceDiscountId,
long commerceAccountGroupId,
boolean useFinderCache)
Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceDiscountCommerceAccountGroupRel |
fetchByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the last commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
fetchByCommerceDiscountId_First(long commerceDiscountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the first commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
fetchByCommerceDiscountId_Last(long commerceDiscountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the last commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
fetchByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId)
Returns the commerce discount commerce account group rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findAll()
Returns all the commerce discount commerce account group rels.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce discount commerce account group rels.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce discount commerce account group rels.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce discount commerce account group rels.
|
CommerceDiscountCommerceAccountGroupRel |
findByCDI_CAGI(long commerceDiscountId,
long commerceAccountGroupId)
Returns the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? or throws a
NoSuchDiscountCommerceAccountGroupRelException if it could not be found. |
CommerceDiscountCommerceAccountGroupRel |
findByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the first commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
findByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the last commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceDiscountCommerceAccountGroupRel[] |
findByCommerceAccountGroupId_PrevAndNext(long commerceDiscountCommerceAccountGroupRelId,
long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the commerce discount commerce account group rels before and after the current commerce discount commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId)
Returns all the commerce discount commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce discount commerce account group rels where commerceAccountGroupId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
findByCommerceDiscountId_First(long commerceDiscountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the first commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
findByCommerceDiscountId_Last(long commerceDiscountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the last commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
|
CommerceDiscountCommerceAccountGroupRel[] |
findByCommerceDiscountId_PrevAndNext(long commerceDiscountCommerceAccountGroupRelId,
long commerceDiscountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns the commerce discount commerce account group rels before and after the current commerce discount commerce account group rel in the ordered set where commerceDiscountId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceDiscountId(long commerceDiscountId)
Returns all the commerce discount commerce account group rels where commerceDiscountId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceDiscountId(long commerceDiscountId,
int start,
int end)
Returns a range of all the commerce discount commerce account group rels where commerceDiscountId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceDiscountId(long commerceDiscountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce discount commerce account group rels where commerceDiscountId = ?.
|
java.util.List<CommerceDiscountCommerceAccountGroupRel> |
findByCommerceDiscountId(long commerceDiscountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce discount commerce account group rels where commerceDiscountId = ?.
|
CommerceDiscountCommerceAccountGroupRel |
findByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId)
Returns the commerce discount commerce account group rel with the primary key or throws a
NoSuchDiscountCommerceAccountGroupRelException if it could not be found. |
CommerceDiscountCommerceAccountGroupRel |
remove(long commerceDiscountCommerceAccountGroupRelId)
Removes the commerce discount commerce account group rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce discount commerce account group rels from the database.
|
CommerceDiscountCommerceAccountGroupRel |
removeByCDI_CAGI(long commerceDiscountId,
long commerceAccountGroupId)
Removes the commerce discount commerce account group rel where commerceDiscountId = ? and commerceAccountGroupId = ? from the database.
|
void |
removeByCommerceAccountGroupId(long commerceAccountGroupId)
Removes all the commerce discount commerce account group rels where commerceAccountGroupId = ? from the database.
|
void |
removeByCommerceDiscountId(long commerceDiscountId)
Removes all the commerce discount commerce account group rels where commerceDiscountId = ? from the database.
|
CommerceDiscountCommerceAccountGroupRel |
updateImpl(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel) |
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<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId)
commerceDiscountId
- the commerce discount IDjava.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
commerceDiscountId
- the commerce discount IDstart
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)java.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
commerceDiscountId
- the commerce discount IDstart
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceDiscountId(long commerceDiscountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
commerceDiscountId
- the commerce discount IDstart
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceDiscountCommerceAccountGroupRel findByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
commerceDiscountId
- the commerce discount IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDiscountCommerceAccountGroupRelException
- if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel fetchByCommerceDiscountId_First(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
commerceDiscountId
- the commerce discount IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel findByCommerceDiscountId_Last(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
commerceDiscountId
- the commerce discount IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDiscountCommerceAccountGroupRelException
- if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel fetchByCommerceDiscountId_Last(long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
commerceDiscountId
- the commerce discount IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel[] findByCommerceDiscountId_PrevAndNext(long commerceDiscountCommerceAccountGroupRelId, long commerceDiscountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
commerceDiscountCommerceAccountGroupRelId
- the primary key of the current commerce discount commerce account group relcommerceDiscountId
- the commerce discount IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDiscountCommerceAccountGroupRelException
- if a commerce discount commerce account group rel with the primary key could not be foundvoid removeByCommerceDiscountId(long commerceDiscountId)
commerceDiscountId
- the commerce discount IDint countByCommerceDiscountId(long commerceDiscountId)
commerceDiscountId
- the commerce discount IDjava.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDjava.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)java.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceDiscountCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceDiscountCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDiscountCommerceAccountGroupRelException
- if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDiscountCommerceAccountGroupRelException
- if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceDiscountCommerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> orderByComparator) throws NoSuchDiscountCommerceAccountGroupRelException
commerceDiscountCommerceAccountGroupRelId
- the primary key of the current commerce discount commerce account group relcommerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchDiscountCommerceAccountGroupRelException
- if a commerce discount commerce account group rel with the primary key could not be foundvoid removeByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDint countByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDCommerceDiscountCommerceAccountGroupRel findByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) throws NoSuchDiscountCommerceAccountGroupRelException
NoSuchDiscountCommerceAccountGroupRelException
if it could not be found.commerceDiscountId
- the commerce discount IDcommerceAccountGroupId
- the commerce account group IDNoSuchDiscountCommerceAccountGroupRelException
- if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId)
null
if it could not be found. Uses the finder cache.commerceDiscountId
- the commerce discount IDcommerceAccountGroupId
- the commerce account group IDnull
if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel fetchByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceDiscountId
- the commerce discount IDcommerceAccountGroupId
- the commerce account group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce discount commerce account group rel could not be foundCommerceDiscountCommerceAccountGroupRel removeByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId) throws NoSuchDiscountCommerceAccountGroupRelException
commerceDiscountId
- the commerce discount IDcommerceAccountGroupId
- the commerce account group IDNoSuchDiscountCommerceAccountGroupRelException
int countByCDI_CAGI(long commerceDiscountId, long commerceAccountGroupId)
commerceDiscountId
- the commerce discount IDcommerceAccountGroupId
- the commerce account group IDvoid cacheResult(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel)
commerceDiscountCommerceAccountGroupRel
- the commerce discount commerce account group relvoid cacheResult(java.util.List<CommerceDiscountCommerceAccountGroupRel> commerceDiscountCommerceAccountGroupRels)
commerceDiscountCommerceAccountGroupRels
- the commerce discount commerce account group relsCommerceDiscountCommerceAccountGroupRel create(long commerceDiscountCommerceAccountGroupRelId)
commerceDiscountCommerceAccountGroupRelId
- the primary key for the new commerce discount commerce account group relCommerceDiscountCommerceAccountGroupRel remove(long commerceDiscountCommerceAccountGroupRelId) throws NoSuchDiscountCommerceAccountGroupRelException
commerceDiscountCommerceAccountGroupRelId
- the primary key of the commerce discount commerce account group relNoSuchDiscountCommerceAccountGroupRelException
- if a commerce discount commerce account group rel with the primary key could not be foundCommerceDiscountCommerceAccountGroupRel updateImpl(CommerceDiscountCommerceAccountGroupRel commerceDiscountCommerceAccountGroupRel)
CommerceDiscountCommerceAccountGroupRel findByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId) throws NoSuchDiscountCommerceAccountGroupRelException
NoSuchDiscountCommerceAccountGroupRelException
if it could not be found.commerceDiscountCommerceAccountGroupRelId
- the primary key of the commerce discount commerce account group relNoSuchDiscountCommerceAccountGroupRelException
- if a commerce discount commerce account group rel with the primary key could not be foundCommerceDiscountCommerceAccountGroupRel fetchByPrimaryKey(long commerceDiscountCommerceAccountGroupRelId)
null
if it could not be found.commerceDiscountCommerceAccountGroupRelId
- the primary key of the commerce discount commerce account group relnull
if a commerce discount commerce account group rel with the primary key could not be foundjava.util.List<CommerceDiscountCommerceAccountGroupRel> findAll()
java.util.List<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)java.util.List<CommerceDiscountCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceDiscountCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountCommerceAccountGroupRel> 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 CommerceDiscountCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce discount commerce account group relsend
- the upper bound of the range of commerce discount 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()