public class CommerceNotificationTemplateCommerceAccountGroupRelUtil
extends java.lang.Object
com.liferay.commerce.notification.service.persistence.impl.CommerceNotificationTemplateCommerceAccountGroupRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
CommerceNotificationTemplateCommerceAccountGroupRelPersistence
Constructor and Description |
---|
CommerceNotificationTemplateCommerceAccountGroupRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
Caches the commerce notification template commerce account group rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels)
Caches the commerce notification template commerce account group rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) |
static int |
countAll()
Returns the number of commerce notification template commerce account group rels.
|
static int |
countByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId)
Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ? and commerceAccountGroupId = ?.
|
static int |
countByCommerceAccountGroupId(long commerceAccountGroupId)
Returns the number of commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
static int |
countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns the number of commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceNotificationTemplateCommerceAccountGroupRel |
create(long commerceNotificationTemplateCommerceAccountGroupRelId)
Creates a new commerce notification template commerce account group rel with the primary key.
|
static 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. |
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static java.util.Map<java.io.Serializable,CommerceNotificationTemplateCommerceAccountGroupRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findAll()
Returns all the commerce notification template commerce account group rels.
|
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce notification template commerce account group rels.
|
static 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.
|
static 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.
|
static 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. |
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId)
Returns all the commerce notification template commerce account group rels where commerceAccountGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator) |
static CommerceNotificationTemplateCommerceAccountGroupRelPersistence |
getPersistence() |
static CommerceNotificationTemplateCommerceAccountGroupRel |
remove(long commerceNotificationTemplateCommerceAccountGroupRelId)
Removes the commerce notification template commerce account group rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce notification template commerce account group rels from the database.
|
static CommerceNotificationTemplateCommerceAccountGroupRel |
removeByC_C(long commerceNotificationTemplateId,
long commerceAccountGroupId)
Removes the commerce notification template commerce account group rel where commerceNotificationTemplateId = ? and commerceAccountGroupId = ? from the database.
|
static void |
removeByCommerceAccountGroupId(long commerceAccountGroupId)
Removes all the commerce notification template commerce account group rels where commerceAccountGroupId = ? from the database.
|
static void |
removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Removes all the commerce notification template commerce account group rels where commerceNotificationTemplateId = ? from the database.
|
static CommerceNotificationTemplateCommerceAccountGroupRel |
update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) |
static CommerceNotificationTemplateCommerceAccountGroupRel |
update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceNotificationTemplateCommerceAccountGroupRel |
updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel) |
public CommerceNotificationTemplateCommerceAccountGroupRelUtil()
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,CommerceNotificationTemplateCommerceAccountGroupRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationTemplateCommerceAccountGroupRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceNotificationTemplateCommerceAccountGroupRel update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceNotificationTemplateCommerceAccountGroupRel update(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDpublic static java.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)public static 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
)public static 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 cachepublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel[] 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 foundpublic static void removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDpublic static int countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDpublic static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDpublic static java.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)public static 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
)public static 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 cachepublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel[] 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 foundpublic static void removeByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDpublic static int countByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId
- the commerce account group IDpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel removeByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId) throws NoSuchNotificationTemplateCommerceAccountGroupRelException
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDNoSuchNotificationTemplateCommerceAccountGroupRelException
public static int countByC_C(long commerceNotificationTemplateId, long commerceAccountGroupId)
commerceNotificationTemplateId
- the commerce notification template IDcommerceAccountGroupId
- the commerce account group IDpublic static void cacheResult(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
commerceNotificationTemplateCommerceAccountGroupRel
- the commerce notification template commerce account group relpublic static void cacheResult(java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> commerceNotificationTemplateCommerceAccountGroupRels)
commerceNotificationTemplateCommerceAccountGroupRels
- the commerce notification template commerce account group relspublic static CommerceNotificationTemplateCommerceAccountGroupRel create(long commerceNotificationTemplateCommerceAccountGroupRelId)
commerceNotificationTemplateCommerceAccountGroupRelId
- the primary key for the new commerce notification template commerce account group relpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel updateImpl(CommerceNotificationTemplateCommerceAccountGroupRel commerceNotificationTemplateCommerceAccountGroupRel)
public static 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 foundpublic static CommerceNotificationTemplateCommerceAccountGroupRel 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 foundpublic static java.util.List<CommerceNotificationTemplateCommerceAccountGroupRel> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static CommerceNotificationTemplateCommerceAccountGroupRelPersistence getPersistence()