public class CommerceAccountOrganizationRelUtil
extends java.lang.Object
com.liferay.commerce.account.service.persistence.impl.CommerceAccountOrganizationRelPersistenceImpl 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
CommerceAccountOrganizationRelPersistence| Constructor and Description |
|---|
CommerceAccountOrganizationRelUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
Caches the commerce account organization rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels)
Caches the commerce account organization rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceAccountOrganizationRel commerceAccountOrganizationRel) |
static int |
countAll()
Returns the number of commerce account organization rels.
|
static int |
countByCommerceAccountId(long commerceAccountId)
Returns the number of commerce account organization rels where commerceAccountId = ?.
|
static int |
countByOrganizationId(long organizationId)
Returns the number of commerce account organization rels where organizationId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceAccountOrganizationRel |
create(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Creates a new commerce account organization rel with the primary key.
|
static CommerceAccountOrganizationRel |
fetchByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where commerceAccountId = ?.
|
static CommerceAccountOrganizationRel |
fetchByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where commerceAccountId = ?.
|
static CommerceAccountOrganizationRel |
fetchByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where organizationId = ?.
|
static CommerceAccountOrganizationRel |
fetchByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where organizationId = ?.
|
static CommerceAccountOrganizationRel |
fetchByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Returns the commerce account organization rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceAccountOrganizationRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<CommerceAccountOrganizationRel> |
findAll()
Returns all the commerce account organization rels.
|
static java.util.List<CommerceAccountOrganizationRel> |
findAll(int start,
int end)
Returns a range of all the commerce account organization rels.
|
static java.util.List<CommerceAccountOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns an ordered range of all the commerce account organization rels.
|
static java.util.List<CommerceAccountOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account organization rels.
|
static CommerceAccountOrganizationRel |
findByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where commerceAccountId = ?.
|
static CommerceAccountOrganizationRel |
findByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where commerceAccountId = ?.
|
static CommerceAccountOrganizationRel[] |
findByCommerceAccountId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the commerce account organization rels before and after the current commerce account organization rel in the ordered set where commerceAccountId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId)
Returns all the commerce account organization rels where commerceAccountId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end)
Returns a range of all the commerce account organization rels where commerceAccountId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns an ordered range of all the commerce account organization rels where commerceAccountId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account organization rels where commerceAccountId = ?.
|
static CommerceAccountOrganizationRel |
findByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where organizationId = ?.
|
static CommerceAccountOrganizationRel |
findByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where organizationId = ?.
|
static CommerceAccountOrganizationRel[] |
findByOrganizationId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK,
long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the commerce account organization rels before and after the current commerce account organization rel in the ordered set where organizationId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId)
Returns all the commerce account organization rels where organizationId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end)
Returns a range of all the commerce account organization rels where organizationId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns an ordered range of all the commerce account organization rels where organizationId = ?.
|
static java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account organization rels where organizationId = ?.
|
static CommerceAccountOrganizationRel |
findByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Returns the commerce account organization rel with the primary key or throws a
NoSuchAccountOrganizationRelException if it could not be found. |
static java.util.List<CommerceAccountOrganizationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceAccountOrganizationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceAccountOrganizationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) |
static java.util.Set<java.lang.String> |
getCompoundPKColumnNames() |
static CommerceAccountOrganizationRelPersistence |
getPersistence() |
static CommerceAccountOrganizationRel |
remove(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Removes the commerce account organization rel with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce account organization rels from the database.
|
static void |
removeByCommerceAccountId(long commerceAccountId)
Removes all the commerce account organization rels where commerceAccountId = ? from the database.
|
static void |
removeByOrganizationId(long organizationId)
Removes all the commerce account organization rels where organizationId = ? from the database.
|
static void |
setPersistence(CommerceAccountOrganizationRelPersistence persistence) |
static CommerceAccountOrganizationRel |
update(CommerceAccountOrganizationRel commerceAccountOrganizationRel) |
static CommerceAccountOrganizationRel |
update(CommerceAccountOrganizationRel commerceAccountOrganizationRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceAccountOrganizationRel |
updateImpl(CommerceAccountOrganizationRel commerceAccountOrganizationRel) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
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,CommerceAccountOrganizationRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<CommerceAccountOrganizationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<CommerceAccountOrganizationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<CommerceAccountOrganizationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static CommerceAccountOrganizationRel update(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static CommerceAccountOrganizationRel update(CommerceAccountOrganizationRel commerceAccountOrganizationRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDpublic static java.util.List<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId, 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 CommerceAccountOrganizationRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)public static java.util.List<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceAccountOrganizationRel findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel findByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel fetchByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel[] findByCommerceAccountId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountOrganizationRelPK - the primary key of the current commerce account organization relcommerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundpublic static void removeByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDpublic static int countByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDpublic static java.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId)
organizationId - the organization IDpublic static java.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId, 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 CommerceAccountOrganizationRelModelImpl.
organizationId - the organization IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)public static java.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
organizationId - the organization IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
organizationId - the organization IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static CommerceAccountOrganizationRel findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel fetchByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel fetchByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundpublic static CommerceAccountOrganizationRel[] findByOrganizationId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK, long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountOrganizationRelPK - the primary key of the current commerce account organization relorganizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundpublic static void removeByOrganizationId(long organizationId)
organizationId - the organization IDpublic static int countByOrganizationId(long organizationId)
organizationId - the organization IDpublic static void cacheResult(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
commerceAccountOrganizationRel - the commerce account organization relpublic static void cacheResult(java.util.List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels)
commerceAccountOrganizationRels - the commerce account organization relspublic static CommerceAccountOrganizationRel create(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
commerceAccountOrganizationRelPK - the primary key for the new commerce account organization relpublic static CommerceAccountOrganizationRel remove(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK) throws NoSuchAccountOrganizationRelException
commerceAccountOrganizationRelPK - the primary key of the commerce account organization relNoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundpublic static CommerceAccountOrganizationRel updateImpl(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
public static CommerceAccountOrganizationRel findByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK) throws NoSuchAccountOrganizationRelException
NoSuchAccountOrganizationRelException if it could not be found.commerceAccountOrganizationRelPK - the primary key of the commerce account organization relNoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundpublic static CommerceAccountOrganizationRel fetchByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
null if it could not be found.commerceAccountOrganizationRelPK - the primary key of the commerce account organization relnull if a commerce account organization rel with the primary key could not be foundpublic static java.util.List<CommerceAccountOrganizationRel> findAll()
public static java.util.List<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
start - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)public static java.util.List<CommerceAccountOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
start - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<CommerceAccountOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
start - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization 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 java.util.Set<java.lang.String> getCompoundPKColumnNames()
public static CommerceAccountOrganizationRelPersistence getPersistence()
public static void setPersistence(CommerceAccountOrganizationRelPersistence persistence)