public class CommerceAccountGroupRelUtil
extends java.lang.Object
com.liferay.commerce.account.service.persistence.impl.CommerceAccountGroupRelPersistenceImpl 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
CommerceAccountGroupRelPersistence| Constructor and Description |
|---|
CommerceAccountGroupRelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CommerceAccountGroupRel commerceAccountGroupRel)
Caches the commerce account group rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceAccountGroupRel> commerceAccountGroupRels)
Caches the commerce account group rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceAccountGroupRel commerceAccountGroupRel) |
static int |
countAll()
Returns the number of commerce account group rels.
|
static int |
countByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Returns the number of commerce account group rels where classNameId = ? and classPK = ? and commerceAccountGroupId = ?.
|
static int |
countByC_C(long classNameId,
long classPK)
Returns the number of commerce account group rels where classNameId = ? and classPK = ?.
|
static int |
countByCommerceAccountGroupId(long commerceAccountGroupId)
Returns the number of commerce account group rels where commerceAccountGroupId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceAccountGroupRel |
create(long commerceAccountGroupRelId)
Creates a new commerce account group rel with the primary key.
|
static CommerceAccountGroupRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Returns the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? or returns
null if it could not be found. |
static CommerceAccountGroupRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId,
boolean useFinderCache)
Returns the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static CommerceAccountGroupRel |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceAccountGroupRel |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceAccountGroupRel |
fetchByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
static CommerceAccountGroupRel |
fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
static CommerceAccountGroupRel |
fetchByPrimaryKey(long commerceAccountGroupRelId)
Returns the commerce account group rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceAccountGroupRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceAccountGroupRel> |
findAll()
Returns all the commerce account group rels.
|
static java.util.List<CommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce account group rels.
|
static java.util.List<CommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce account group rels.
|
static java.util.List<CommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group rels.
|
static CommerceAccountGroupRel |
findByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Returns the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? or throws a
NoSuchAccountGroupRelException if it could not be found. |
static CommerceAccountGroupRel |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceAccountGroupRel |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
static CommerceAccountGroupRel[] |
findByC_C_PrevAndNext(long commerceAccountGroupRelId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the commerce account group rels before and after the current commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK)
Returns all the commerce account group rels where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the commerce account group rels where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce account group rels where classNameId = ? and classPK = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group rels where classNameId = ? and classPK = ?.
|
static CommerceAccountGroupRel |
findByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
static CommerceAccountGroupRel |
findByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
static CommerceAccountGroupRel[] |
findByCommerceAccountGroupId_PrevAndNext(long commerceAccountGroupRelId,
long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the commerce account group rels before and after the current commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId)
Returns all the commerce account group rels where commerceAccountGroupId = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce account group rels where commerceAccountGroupId = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce account group rels where commerceAccountGroupId = ?.
|
static java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group rels where commerceAccountGroupId = ?.
|
static CommerceAccountGroupRel |
findByPrimaryKey(long commerceAccountGroupRelId)
Returns the commerce account group rel with the primary key or throws a
NoSuchAccountGroupRelException if it could not be found. |
static java.util.List<CommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceAccountGroupRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) |
static CommerceAccountGroupRelPersistence |
getPersistence() |
static CommerceAccountGroupRel |
remove(long commerceAccountGroupRelId)
Removes the commerce account group rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce account group rels from the database.
|
static CommerceAccountGroupRel |
removeByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Removes the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? from the database.
|
static void |
removeByC_C(long classNameId,
long classPK)
Removes all the commerce account group rels where classNameId = ? and classPK = ? from the database.
|
static void |
removeByCommerceAccountGroupId(long commerceAccountGroupId)
Removes all the commerce account group rels where commerceAccountGroupId = ? from the database.
|
static void |
setPersistence(CommerceAccountGroupRelPersistence persistence) |
static CommerceAccountGroupRel |
update(CommerceAccountGroupRel commerceAccountGroupRel) |
static CommerceAccountGroupRel |
update(CommerceAccountGroupRel commerceAccountGroupRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceAccountGroupRel |
updateImpl(CommerceAccountGroupRel commerceAccountGroupRel) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CommerceAccountGroupRel commerceAccountGroupRel)
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,CommerceAccountGroupRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<CommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<CommerceAccountGroupRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static CommerceAccountGroupRel update(CommerceAccountGroupRel commerceAccountGroupRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static CommerceAccountGroupRel update(CommerceAccountGroupRel commerceAccountGroupRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<CommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDpublic static java.util.List<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)public static java.util.List<CommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupRelId - the primary key of the current commerce account group relcommerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a 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 java.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK)
classNameId - the class name IDclassPK - the class pkpublic static java.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK, 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 CommerceAccountGroupRelModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)public static java.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceAccountGroupRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel[] findByC_C_PrevAndNext(long commerceAccountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupRelId - the primary key of the current commerce account group relclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a commerce account group rel with the primary key could not be foundpublic static void removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class pkpublic static int countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class pkpublic static CommerceAccountGroupRel findByC_C_C(long classNameId, long classPK, long commerceAccountGroupId) throws NoSuchAccountGroupRelException
NoSuchAccountGroupRelException if it could not be found.classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDNoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel fetchByC_C_C(long classNameId, long classPK, long commerceAccountGroupId)
null if it could not be found. Uses the finder cache.classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDnull if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel fetchByC_C_C(long classNameId, long classPK, long commerceAccountGroupId, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDuseFinderCache - whether to use the finder cachenull if a matching commerce account group rel could not be foundpublic static CommerceAccountGroupRel removeByC_C_C(long classNameId, long classPK, long commerceAccountGroupId) throws NoSuchAccountGroupRelException
classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDNoSuchAccountGroupRelExceptionpublic static int countByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDpublic static void cacheResult(CommerceAccountGroupRel commerceAccountGroupRel)
commerceAccountGroupRel - the commerce account group relpublic static void cacheResult(java.util.List<CommerceAccountGroupRel> commerceAccountGroupRels)
commerceAccountGroupRels - the commerce account group relspublic static CommerceAccountGroupRel create(long commerceAccountGroupRelId)
commerceAccountGroupRelId - the primary key for the new commerce account group relpublic static CommerceAccountGroupRel remove(long commerceAccountGroupRelId) throws NoSuchAccountGroupRelException
commerceAccountGroupRelId - the primary key of the commerce account group relNoSuchAccountGroupRelException - if a commerce account group rel with the primary key could not be foundpublic static CommerceAccountGroupRel updateImpl(CommerceAccountGroupRel commerceAccountGroupRel)
public static CommerceAccountGroupRel findByPrimaryKey(long commerceAccountGroupRelId) throws NoSuchAccountGroupRelException
NoSuchAccountGroupRelException if it could not be found.commerceAccountGroupRelId - the primary key of the commerce account group relNoSuchAccountGroupRelException - if a commerce account group rel with the primary key could not be foundpublic static CommerceAccountGroupRel fetchByPrimaryKey(long commerceAccountGroupRelId)
null if it could not be found.commerceAccountGroupRelId - the primary key of the commerce account group relnull if a commerce account group rel with the primary key could not be foundpublic static java.util.List<CommerceAccountGroupRel> findAll()
public static java.util.List<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
start - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)public static java.util.List<CommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
start - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
start - the lower bound of the range of commerce account group relsend - the upper bound of the range of 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 CommerceAccountGroupRelPersistence getPersistence()
public static void setPersistence(CommerceAccountGroupRelPersistence persistence)