@ProviderType public interface CommerceNotificationTemplateCommerceAccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationTemplateCommerceAccountGroupRel>
Caching information and settings can be found in portal.properties
CommerceNotificationTemplateCommerceAccountGroupRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
Caches the commerce notification template commerce account group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels)
Caches the commerce notification template commerce account group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce notification template commerce account group rels.
|
int |
countByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId)
Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ? and commerceAccountGroupId = ?.
|
int |
countByCommerceAccountGroupId(long commerceAccountGroupId)
Returns the number of commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
int |
countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
create(long commerceNotificationTemplateCommerceAccountGroupRelId)
Creates a new commerce notification template commerce account group rel with the primary key.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId)
Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returns
null if it could not be found. |
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId,
boolean useFinderCache)
Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
fetchByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId)
Returns the commerce notification template commerce account group rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findAll()
Returns all the commerce notification template commerce account group rels.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce notification template commerce account group rels.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce notification template commerce account group rels.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification template commerce account group rels.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
findByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId)
Returns the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? or throws a
NoSuchNotificationTemplateCommerceAccountGroupRelException if it could not be found. |
CommerceNotificationTemplateCommerceAccountGroupRel |
findByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the first commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
findByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the last commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel[] |
findByCommerceAccountGroupId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId,
long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId)
Returns all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the first commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the last commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel[] |
findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId,
long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns the commerce notification template commerce account group rels before and after the current commerce notification template commerce account group rel in the ordered set where commerceNotificationTemplateId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end)
Returns a range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
findByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId)
Returns the commerce notification template commerce account group rel with the primary key or throws a
NoSuchNotificationTemplateCommerceAccountGroupRelException if it could not be found. |
CommerceNotificationTemplateCommerceAccountGroupRel |
remove(long commerceNotificationTemplateCommerceAccountGroupRelId)
Removes the commerce notification template commerce account group rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce notification template commerce account group rels from the database.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
removeByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId)
Removes the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? from the database.
|
void |
removeByCommerceAccountGroupId(long commerceAccountGroupId)
Removes all the commerce notification template commerce account group rels where commerceAccountGroupId = ? from the database.
|
void |
removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Removes all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ? from the database.
|
CommerceNotificationTemplateCommerceAccountGroupRel |
updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) |
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<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDjava.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceNotificationTemplateCommerceAccountGroupRel findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel[] findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the current commerce notification template commerce account group relcommerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be foundvoid removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDint countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDjava.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDjava.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
commerceAccountGroupId
- the commerce account group IDstart
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheCommerceNotificationTemplateCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceNotificationTemplateCommerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the current commerce notification template commerce account group relcommerceAccountGroupId
- the commerce account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template 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 IDCommerceNotificationTemplateCommerceAccountGroupRel findByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
NoSuchNotificationTemplateCommerceAccountGroupRelException
if it could not be found.commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDNoSuchNotificationTemplateCommerceAccountGroupRelException
- if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId)
null
if it could not be found. Uses the finder cache.commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDnull
if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDuseFinderCache
- whether to use the finder cachenull
if a matching commerce notification template commerce account group rel could not be foundCommerceNotificationTemplateCommerceAccountGroupRel removeByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDNoSuchNotificationTemplateCommerceAccountGroupRelException
int countByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId)
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDvoid cacheResult(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
commerceNotificationTemplateCommerceAccountGroupRel
- the commerce notification template commerce account group relvoid cacheResult(java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels)
commerceNotificationTemplateCommerceAccountGroupRels
- the commerce notification template commerce account group relsCommerceNotificationTemplateCommerceAccountGroupRel create(long commerceNotificationTemplateCommerceAccountGroupRelId)
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key for the new commerce notification template commerce account group relCommerceNotificationTemplateCommerceAccountGroupRel remove(long commerceNotificationTemplateCommerceAccountGroupRelId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the commerce notification template commerce account group relNoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be foundCommerceNotificationTemplateCommerceAccountGroupRel updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
CommerceNotificationTemplateCommerceAccountGroupRel findByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
NoSuchNotificationTemplateCommerceAccountGroupRelException
if it could not be found.commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the commerce notification template commerce account group relNoSuchNotificationTemplateCommerceAccountGroupRelException
- if a commerce notification template commerce account group rel with the primary key could not be foundCommerceNotificationTemplateCommerceAccountGroupRel fetchByPrimaryKey(long commerceNotificationTemplateCommerceAccountGroupRelId)
null
if it could not be found.commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key of the commerce notification template commerce account group relnull
if a commerce notification template commerce account group rel with the primary key could not be foundjava.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll()
java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template commerce account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> 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 CommerceNotificationTemplateCommerceAccountGroupRelModelImpl
.
start
- the lower bound of the range of commerce notification template commerce account group relsend
- the upper bound of the range of commerce notification template 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()