@ProviderType public interface CommerceApplicationModelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceApplicationModel>
Caching information and settings can be found in portal.properties
CommerceApplicationModelUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceApplicationModel commerceApplicationModel)
Caches the commerce application model in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceApplicationModel> commerceApplicationModels)
Caches the commerce application models in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce application models.
|
int |
countByCommerceApplicationBrandId(long commerceApplicationBrandId)
Returns the number of commerce application models where commerceApplicationBrandId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce application models where companyId = ?.
|
CommerceApplicationModel |
create(long commerceApplicationModelId)
Creates a new commerce application model with the primary key.
|
CommerceApplicationModel |
fetchByCommerceApplicationBrandId_First(long commerceApplicationBrandId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the first commerce application model in the ordered set where commerceApplicationBrandId = ?.
|
CommerceApplicationModel |
fetchByCommerceApplicationBrandId_Last(long commerceApplicationBrandId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the last commerce application model in the ordered set where commerceApplicationBrandId = ?.
|
CommerceApplicationModel |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the first commerce application model in the ordered set where companyId = ?.
|
CommerceApplicationModel |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the last commerce application model in the ordered set where companyId = ?.
|
CommerceApplicationModel |
fetchByPrimaryKey(long commerceApplicationModelId)
Returns the commerce application model with the primary key or returns
null if it could not be found. |
int |
filterCountByCommerceApplicationBrandId(long commerceApplicationBrandId)
Returns the number of commerce application models that the user has permission to view where commerceApplicationBrandId = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce application models that the user has permission to view where companyId = ?.
|
CommerceApplicationModel[] |
filterFindByCommerceApplicationBrandId_PrevAndNext(long commerceApplicationModelId,
long commerceApplicationBrandId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the commerce application models before and after the current commerce application model in the ordered set of commerce application models that the user has permission to view where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
filterFindByCommerceApplicationBrandId(long commerceApplicationBrandId)
Returns all the commerce application models that the user has permission to view where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
filterFindByCommerceApplicationBrandId(long commerceApplicationBrandId,
int start,
int end)
Returns a range of all the commerce application models that the user has permission to view where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
filterFindByCommerceApplicationBrandId(long commerceApplicationBrandId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns an ordered range of all the commerce application models that the user has permissions to view where commerceApplicationBrandId = ?.
|
CommerceApplicationModel[] |
filterFindByCompanyId_PrevAndNext(long commerceApplicationModelId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the commerce application models before and after the current commerce application model in the ordered set of commerce application models that the user has permission to view where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
filterFindByCompanyId(long companyId)
Returns all the commerce application models that the user has permission to view where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce application models that the user has permission to view where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns an ordered range of all the commerce application models that the user has permissions to view where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
findAll()
Returns all the commerce application models.
|
java.util.List<CommerceApplicationModel> |
findAll(int start,
int end)
Returns a range of all the commerce application models.
|
java.util.List<CommerceApplicationModel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns an ordered range of all the commerce application models.
|
java.util.List<CommerceApplicationModel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce application models.
|
CommerceApplicationModel |
findByCommerceApplicationBrandId_First(long commerceApplicationBrandId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the first commerce application model in the ordered set where commerceApplicationBrandId = ?.
|
CommerceApplicationModel |
findByCommerceApplicationBrandId_Last(long commerceApplicationBrandId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the last commerce application model in the ordered set where commerceApplicationBrandId = ?.
|
CommerceApplicationModel[] |
findByCommerceApplicationBrandId_PrevAndNext(long commerceApplicationModelId,
long commerceApplicationBrandId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the commerce application models before and after the current commerce application model in the ordered set where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCommerceApplicationBrandId(long commerceApplicationBrandId)
Returns all the commerce application models where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCommerceApplicationBrandId(long commerceApplicationBrandId,
int start,
int end)
Returns a range of all the commerce application models where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCommerceApplicationBrandId(long commerceApplicationBrandId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns an ordered range of all the commerce application models where commerceApplicationBrandId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCommerceApplicationBrandId(long commerceApplicationBrandId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce application models where commerceApplicationBrandId = ?.
|
CommerceApplicationModel |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the first commerce application model in the ordered set where companyId = ?.
|
CommerceApplicationModel |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the last commerce application model in the ordered set where companyId = ?.
|
CommerceApplicationModel[] |
findByCompanyId_PrevAndNext(long commerceApplicationModelId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns the commerce application models before and after the current commerce application model in the ordered set where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCompanyId(long companyId)
Returns all the commerce application models where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce application models where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
Returns an ordered range of all the commerce application models where companyId = ?.
|
java.util.List<CommerceApplicationModel> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce application models where companyId = ?.
|
CommerceApplicationModel |
findByPrimaryKey(long commerceApplicationModelId)
Returns the commerce application model with the primary key or throws a
NoSuchApplicationModelException if it could not be found. |
CommerceApplicationModel |
remove(long commerceApplicationModelId)
Removes the commerce application model with the primary key from the database.
|
void |
removeAll()
Removes all the commerce application models from the database.
|
void |
removeByCommerceApplicationBrandId(long commerceApplicationBrandId)
Removes all the commerce application models where commerceApplicationBrandId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce application models where companyId = ? from the database.
|
CommerceApplicationModel |
updateImpl(CommerceApplicationModel commerceApplicationModel) |
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<CommerceApplicationModel> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)java.util.List<CommerceApplicationModel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceApplicationModel> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceApplicationModel findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a matching commerce application model could not be foundCommerceApplicationModel fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model could not be foundCommerceApplicationModel findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a matching commerce application model could not be foundCommerceApplicationModel fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model could not be foundCommerceApplicationModel[] findByCompanyId_PrevAndNext(long commerceApplicationModelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
commerceApplicationModelId - the primary key of the current commerce application modelcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a commerce application model with the primary key could not be foundjava.util.List<CommerceApplicationModel> filterFindByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)java.util.List<CommerceApplicationModel> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceApplicationModel[] filterFindByCompanyId_PrevAndNext(long commerceApplicationModelId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
commerceApplicationModelId - the primary key of the current commerce application modelcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a commerce application model 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<CommerceApplicationModel> findByCommerceApplicationBrandId(long commerceApplicationBrandId)
commerceApplicationBrandId - the commerce application brand IDjava.util.List<CommerceApplicationModel> findByCommerceApplicationBrandId(long commerceApplicationBrandId, 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 CommerceApplicationModelModelImpl.
commerceApplicationBrandId - the commerce application brand IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)java.util.List<CommerceApplicationModel> findByCommerceApplicationBrandId(long commerceApplicationBrandId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
commerceApplicationBrandId - the commerce application brand IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceApplicationModel> findByCommerceApplicationBrandId(long commerceApplicationBrandId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
commerceApplicationBrandId - the commerce application brand IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceApplicationModel findByCommerceApplicationBrandId_First(long commerceApplicationBrandId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
commerceApplicationBrandId - the commerce application brand IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a matching commerce application model could not be foundCommerceApplicationModel fetchByCommerceApplicationBrandId_First(long commerceApplicationBrandId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
commerceApplicationBrandId - the commerce application brand IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model could not be foundCommerceApplicationModel findByCommerceApplicationBrandId_Last(long commerceApplicationBrandId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
commerceApplicationBrandId - the commerce application brand IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a matching commerce application model could not be foundCommerceApplicationModel fetchByCommerceApplicationBrandId_Last(long commerceApplicationBrandId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator)
commerceApplicationBrandId - the commerce application brand IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce application model could not be foundCommerceApplicationModel[] findByCommerceApplicationBrandId_PrevAndNext(long commerceApplicationModelId, long commerceApplicationBrandId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
commerceApplicationModelId - the primary key of the current commerce application modelcommerceApplicationBrandId - the commerce application brand IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a commerce application model with the primary key could not be foundjava.util.List<CommerceApplicationModel> filterFindByCommerceApplicationBrandId(long commerceApplicationBrandId)
commerceApplicationBrandId - the commerce application brand IDjava.util.List<CommerceApplicationModel> filterFindByCommerceApplicationBrandId(long commerceApplicationBrandId, 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 CommerceApplicationModelModelImpl.
commerceApplicationBrandId - the commerce application brand IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)java.util.List<CommerceApplicationModel> filterFindByCommerceApplicationBrandId(long commerceApplicationBrandId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
commerceApplicationBrandId - the commerce application brand IDstart - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceApplicationModel[] filterFindByCommerceApplicationBrandId_PrevAndNext(long commerceApplicationModelId, long commerceApplicationBrandId, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> orderByComparator) throws NoSuchApplicationModelException
commerceApplicationModelId - the primary key of the current commerce application modelcommerceApplicationBrandId - the commerce application brand IDorderByComparator - the comparator to order the set by (optionally null)NoSuchApplicationModelException - if a commerce application model with the primary key could not be foundvoid removeByCommerceApplicationBrandId(long commerceApplicationBrandId)
commerceApplicationBrandId - the commerce application brand IDint countByCommerceApplicationBrandId(long commerceApplicationBrandId)
commerceApplicationBrandId - the commerce application brand IDint filterCountByCommerceApplicationBrandId(long commerceApplicationBrandId)
commerceApplicationBrandId - the commerce application brand IDvoid cacheResult(CommerceApplicationModel commerceApplicationModel)
commerceApplicationModel - the commerce application modelvoid cacheResult(java.util.List<CommerceApplicationModel> commerceApplicationModels)
commerceApplicationModels - the commerce application modelsCommerceApplicationModel create(long commerceApplicationModelId)
commerceApplicationModelId - the primary key for the new commerce application modelCommerceApplicationModel remove(long commerceApplicationModelId) throws NoSuchApplicationModelException
commerceApplicationModelId - the primary key of the commerce application modelNoSuchApplicationModelException - if a commerce application model with the primary key could not be foundCommerceApplicationModel updateImpl(CommerceApplicationModel commerceApplicationModel)
CommerceApplicationModel findByPrimaryKey(long commerceApplicationModelId) throws NoSuchApplicationModelException
NoSuchApplicationModelException if it could not be found.commerceApplicationModelId - the primary key of the commerce application modelNoSuchApplicationModelException - if a commerce application model with the primary key could not be foundCommerceApplicationModel fetchByPrimaryKey(long commerceApplicationModelId)
null if it could not be found.commerceApplicationModelId - the primary key of the commerce application modelnull if a commerce application model with the primary key could not be foundjava.util.List<CommerceApplicationModel> findAll()
java.util.List<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
start - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)java.util.List<CommerceApplicationModel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
start - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceApplicationModel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceApplicationModel> 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 CommerceApplicationModelModelImpl.
start - the lower bound of the range of commerce application modelsend - the upper bound of the range of commerce application models (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()