@ProviderType public interface CommerceAccountPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAccount>
Caching information and settings can be found in portal.properties
CommerceAccountUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAccount commerceAccount)
Caches the commerce account in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAccount> commerceAccounts)
Caches the commerce accounts in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce accounts.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce accounts where companyId = ? and externalReferenceCode = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce accounts where companyId = ?.
|
int |
countByU_T(long userId,
int type)
Returns the number of commerce accounts where userId = ? and type = ?.
|
CommerceAccount |
create(long commerceAccountId)
Creates a new commerce account with the primary key.
|
CommerceAccount |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceAccount |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce account where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAccount |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the first commerce account in the ordered set where companyId = ?.
|
CommerceAccount |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the last commerce account in the ordered set where companyId = ?.
|
CommerceAccount |
fetchByPrimaryKey(long commerceAccountId)
Returns the commerce account with the primary key or returns
null if it could not be found. |
CommerceAccount |
fetchByU_T_First(long userId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the first commerce account in the ordered set where userId = ? and type = ?.
|
CommerceAccount |
fetchByU_T_Last(long userId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the last commerce account in the ordered set where userId = ? and type = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce accounts that the user has permission to view where companyId = ?.
|
int |
filterCountByU_T(long userId,
int type)
Returns the number of commerce accounts that the user has permission to view where userId = ? and type = ?.
|
CommerceAccount[] |
filterFindByCompanyId_PrevAndNext(long commerceAccountId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the commerce accounts before and after the current commerce account in the ordered set of commerce accounts that the user has permission to view where companyId = ?.
|
java.util.List<CommerceAccount> |
filterFindByCompanyId(long companyId)
Returns all the commerce accounts that the user has permission to view where companyId = ?.
|
java.util.List<CommerceAccount> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce accounts that the user has permission to view where companyId = ?.
|
java.util.List<CommerceAccount> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns an ordered range of all the commerce accounts that the user has permissions to view where companyId = ?.
|
CommerceAccount[] |
filterFindByU_T_PrevAndNext(long commerceAccountId,
long userId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the commerce accounts before and after the current commerce account in the ordered set of commerce accounts that the user has permission to view where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
filterFindByU_T(long userId,
int type)
Returns all the commerce accounts that the user has permission to view where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
filterFindByU_T(long userId,
int type,
int start,
int end)
Returns a range of all the commerce accounts that the user has permission to view where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
filterFindByU_T(long userId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns an ordered range of all the commerce accounts that the user has permissions to view where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
findAll()
Returns all the commerce accounts.
|
java.util.List<CommerceAccount> |
findAll(int start,
int end)
Returns a range of all the commerce accounts.
|
java.util.List<CommerceAccount> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns an ordered range of all the commerce accounts.
|
java.util.List<CommerceAccount> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce accounts.
|
CommerceAccount |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account where companyId = ? and externalReferenceCode = ? or throws a
NoSuchAccountException if it could not be found. |
CommerceAccount |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the first commerce account in the ordered set where companyId = ?.
|
CommerceAccount |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the last commerce account in the ordered set where companyId = ?.
|
CommerceAccount[] |
findByCompanyId_PrevAndNext(long commerceAccountId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the commerce accounts before and after the current commerce account in the ordered set where companyId = ?.
|
java.util.List<CommerceAccount> |
findByCompanyId(long companyId)
Returns all the commerce accounts where companyId = ?.
|
java.util.List<CommerceAccount> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce accounts where companyId = ?.
|
java.util.List<CommerceAccount> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns an ordered range of all the commerce accounts where companyId = ?.
|
java.util.List<CommerceAccount> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce accounts where companyId = ?.
|
CommerceAccount |
findByPrimaryKey(long commerceAccountId)
Returns the commerce account with the primary key or throws a
NoSuchAccountException if it could not be found. |
CommerceAccount |
findByU_T_First(long userId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the first commerce account in the ordered set where userId = ? and type = ?.
|
CommerceAccount |
findByU_T_Last(long userId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the last commerce account in the ordered set where userId = ? and type = ?.
|
CommerceAccount[] |
findByU_T_PrevAndNext(long commerceAccountId,
long userId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns the commerce accounts before and after the current commerce account in the ordered set where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
findByU_T(long userId,
int type)
Returns all the commerce accounts where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
findByU_T(long userId,
int type,
int start,
int end)
Returns a range of all the commerce accounts where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
findByU_T(long userId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
Returns an ordered range of all the commerce accounts where userId = ? and type = ?.
|
java.util.List<CommerceAccount> |
findByU_T(long userId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce accounts where userId = ? and type = ?.
|
CommerceAccount |
remove(long commerceAccountId)
Removes the commerce account with the primary key from the database.
|
void |
removeAll()
Removes all the commerce accounts from the database.
|
CommerceAccount |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce account where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce accounts where companyId = ? from the database.
|
void |
removeByU_T(long userId,
int type)
Removes all the commerce accounts where userId = ? and type = ? from the database.
|
CommerceAccount |
updateImpl(CommerceAccount commerceAccount) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, updatejava.util.List<CommerceAccount> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceAccount> findByCompanyId(long companyId, 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 CommerceAccountModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)java.util.List<CommerceAccount> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccount> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccount findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a matching commerce account could not be foundCommerceAccount fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account could not be foundCommerceAccount findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a matching commerce account could not be foundCommerceAccount fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account could not be foundCommerceAccount[] findByCompanyId_PrevAndNext(long commerceAccountId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
commerceAccountId - the primary key of the current commerce accountcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a commerce account with the primary key could not be foundjava.util.List<CommerceAccount> filterFindByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceAccount> filterFindByCompanyId(long companyId, 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 CommerceAccountModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)java.util.List<CommerceAccount> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceAccount[] filterFindByCompanyId_PrevAndNext(long commerceAccountId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
commerceAccountId - the primary key of the current commerce accountcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a commerce account with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId - the company IDint countByCompanyId(long companyId)
companyId - the company IDint filterCountByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceAccount> findByU_T(long userId, int type)
userId - the user IDtype - the typejava.util.List<CommerceAccount> findByU_T(long userId, int type, 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 CommerceAccountModelImpl.
userId - the user IDtype - the typestart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)java.util.List<CommerceAccount> findByU_T(long userId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
userId - the user IDtype - the typestart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccount> findByU_T(long userId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
userId - the user IDtype - the typestart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccount findByU_T_First(long userId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
userId - the user IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a matching commerce account could not be foundCommerceAccount fetchByU_T_First(long userId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
userId - the user IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account could not be foundCommerceAccount findByU_T_Last(long userId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
userId - the user IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a matching commerce account could not be foundCommerceAccount fetchByU_T_Last(long userId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator)
userId - the user IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account could not be foundCommerceAccount[] findByU_T_PrevAndNext(long commerceAccountId, long userId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
commerceAccountId - the primary key of the current commerce accountuserId - the user IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a commerce account with the primary key could not be foundjava.util.List<CommerceAccount> filterFindByU_T(long userId, int type)
userId - the user IDtype - the typejava.util.List<CommerceAccount> filterFindByU_T(long userId, int type, 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 CommerceAccountModelImpl.
userId - the user IDtype - the typestart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)java.util.List<CommerceAccount> filterFindByU_T(long userId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
userId - the user IDtype - the typestart - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceAccount[] filterFindByU_T_PrevAndNext(long commerceAccountId, long userId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> orderByComparator) throws NoSuchAccountException
commerceAccountId - the primary key of the current commerce accountuserId - the user IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountException - if a commerce account with the primary key could not be foundvoid removeByU_T(long userId,
int type)
userId - the user IDtype - the typeint countByU_T(long userId,
int type)
userId - the user IDtype - the typeint filterCountByU_T(long userId,
int type)
userId - the user IDtype - the typeCommerceAccount findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAccountException
NoSuchAccountException if it could not be found.companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAccountException - if a matching commerce account could not be foundCommerceAccount fetchByC_ERC(long companyId, java.lang.String externalReferenceCode)
null if it could not be found. Uses the finder cache.companyId - the company IDexternalReferenceCode - the external reference codenull if a matching commerce account could not be foundCommerceAccount fetchByC_ERC(long companyId, java.lang.String externalReferenceCode, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.companyId - the company IDexternalReferenceCode - the external reference codeuseFinderCache - whether to use the finder cachenull if a matching commerce account could not be foundCommerceAccount removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAccountException
companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAccountExceptionint countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
companyId - the company IDexternalReferenceCode - the external reference codevoid cacheResult(CommerceAccount commerceAccount)
commerceAccount - the commerce accountvoid cacheResult(java.util.List<CommerceAccount> commerceAccounts)
commerceAccounts - the commerce accountsCommerceAccount create(long commerceAccountId)
commerceAccountId - the primary key for the new commerce accountCommerceAccount remove(long commerceAccountId) throws NoSuchAccountException
commerceAccountId - the primary key of the commerce accountNoSuchAccountException - if a commerce account with the primary key could not be foundCommerceAccount updateImpl(CommerceAccount commerceAccount)
CommerceAccount findByPrimaryKey(long commerceAccountId) throws NoSuchAccountException
NoSuchAccountException if it could not be found.commerceAccountId - the primary key of the commerce accountNoSuchAccountException - if a commerce account with the primary key could not be foundCommerceAccount fetchByPrimaryKey(long commerceAccountId)
null if it could not be found.commerceAccountId - the primary key of the commerce accountnull if a commerce account with the primary key could not be foundjava.util.List<CommerceAccount> findAll()
java.util.List<CommerceAccount> 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 CommerceAccountModelImpl.
start - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)java.util.List<CommerceAccount> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
start - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccount> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccount> 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 CommerceAccountModelImpl.
start - the lower bound of the range of commerce accountsend - the upper bound of the range of commerce accounts (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()