@ProviderType public interface CommerceAccountGroupPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAccountGroup>
Caching information and settings can be found in portal.properties
CommerceAccountGroupUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAccountGroup commerceAccountGroup)
Caches the commerce account group in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAccountGroup> commerceAccountGroups)
Caches the commerce account groups in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce account groups.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce account groups where companyId = ? and externalReferenceCode = ?.
|
int |
countByC_T(long companyId,
int type)
Returns the number of commerce account groups where companyId = ? and type = ?.
|
int |
countByCommerceAccountGroupIds(long commerceAccountGroupId)
Returns the number of commerce account groups where commerceAccountGroupId = ?.
|
int |
countByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
Returns the number of commerce account groups where commerceAccountGroupId = any ?.
|
int |
countByCompanyId(long companyId)
Returns the number of commerce account groups where companyId = ?.
|
CommerceAccountGroup |
create(long commerceAccountGroupId)
Creates a new commerce account group with the primary key.
|
CommerceAccountGroup |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account group where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceAccountGroup |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce account group where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAccountGroup |
fetchByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the first commerce account group in the ordered set where companyId = ? and type = ?.
|
CommerceAccountGroup |
fetchByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the last commerce account group in the ordered set where companyId = ? and type = ?.
|
CommerceAccountGroup |
fetchByCommerceAccountGroupIds_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the first commerce account group in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroup |
fetchByCommerceAccountGroupIds_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the last commerce account group in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroup |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the first commerce account group in the ordered set where companyId = ?.
|
CommerceAccountGroup |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the last commerce account group in the ordered set where companyId = ?.
|
CommerceAccountGroup |
fetchByPrimaryKey(long commerceAccountGroupId)
Returns the commerce account group with the primary key or returns
null if it could not be found. |
int |
filterCountByC_T(long companyId,
int type)
Returns the number of commerce account groups that the user has permission to view where companyId = ? and type = ?.
|
int |
filterCountByCommerceAccountGroupIds(long commerceAccountGroupId)
Returns the number of commerce account groups that the user has permission to view where commerceAccountGroupId = ?.
|
int |
filterCountByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
Returns the number of commerce account groups that the user has permission to view where commerceAccountGroupId = any ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of commerce account groups that the user has permission to view where companyId = ?.
|
CommerceAccountGroup[] |
filterFindByC_T_PrevAndNext(long commerceAccountGroupId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the commerce account groups before and after the current commerce account group in the ordered set of commerce account groups that the user has permission to view where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByC_T(long companyId,
int type)
Returns all the commerce account groups that the user has permission to view where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByC_T(long companyId,
int type,
int start,
int end)
Returns a range of all the commerce account groups that the user has permission to view where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByC_T(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups that the user has permissions to view where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCommerceAccountGroupIds(long commerceAccountGroupId)
Returns all the commerce account groups that the user has permission to view where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
Returns all the commerce account groups that the user has permission to view where commerceAccountGroupId = any ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCommerceAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end)
Returns a range of all the commerce account groups that the user has permission to view where commerceAccountGroupId = any ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCommerceAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups that the user has permission to view where commerceAccountGroupId = any ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCommerceAccountGroupIds(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce account groups that the user has permission to view where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCommerceAccountGroupIds(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups that the user has permissions to view where commerceAccountGroupId = ?.
|
CommerceAccountGroup[] |
filterFindByCompanyId_PrevAndNext(long commerceAccountGroupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the commerce account groups before and after the current commerce account group in the ordered set of commerce account groups that the user has permission to view where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCompanyId(long companyId)
Returns all the commerce account groups that the user has permission to view where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce account groups that the user has permission to view where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups that the user has permissions to view where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
findAll()
Returns all the commerce account groups.
|
java.util.List<CommerceAccountGroup> |
findAll(int start,
int end)
Returns a range of all the commerce account groups.
|
java.util.List<CommerceAccountGroup> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups.
|
java.util.List<CommerceAccountGroup> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account groups.
|
CommerceAccountGroup |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account group where companyId = ? and externalReferenceCode = ? or throws a
NoSuchAccountGroupException if it could not be found. |
CommerceAccountGroup |
findByC_T_First(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the first commerce account group in the ordered set where companyId = ? and type = ?.
|
CommerceAccountGroup |
findByC_T_Last(long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the last commerce account group in the ordered set where companyId = ? and type = ?.
|
CommerceAccountGroup[] |
findByC_T_PrevAndNext(long commerceAccountGroupId,
long companyId,
int type,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the commerce account groups before and after the current commerce account group in the ordered set where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
findByC_T(long companyId,
int type)
Returns all the commerce account groups where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
findByC_T(long companyId,
int type,
int start,
int end)
Returns a range of all the commerce account groups where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
findByC_T(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups where companyId = ? and type = ?.
|
java.util.List<CommerceAccountGroup> |
findByC_T(long companyId,
int type,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account groups where companyId = ? and type = ?.
|
CommerceAccountGroup |
findByCommerceAccountGroupIds_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the first commerce account group in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroup |
findByCommerceAccountGroupIds_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the last commerce account group in the ordered set where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long commerceAccountGroupId)
Returns all the commerce account groups where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
Returns all the commerce account groups where commerceAccountGroupId = any ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end)
Returns a range of all the commerce account groups where commerceAccountGroupId = any ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups where commerceAccountGroupId = any ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long[] commerceAccountGroupIds,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account groups where commerceAccountGroupId = ?, optionally using the finder cache.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce account groups where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCommerceAccountGroupIds(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account groups where commerceAccountGroupId = ?.
|
CommerceAccountGroup |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the first commerce account group in the ordered set where companyId = ?.
|
CommerceAccountGroup |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the last commerce account group in the ordered set where companyId = ?.
|
CommerceAccountGroup[] |
findByCompanyId_PrevAndNext(long commerceAccountGroupId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns the commerce account groups before and after the current commerce account group in the ordered set where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCompanyId(long companyId)
Returns all the commerce account groups where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the commerce account groups where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
Returns an ordered range of all the commerce account groups where companyId = ?.
|
java.util.List<CommerceAccountGroup> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account groups where companyId = ?.
|
CommerceAccountGroup |
findByPrimaryKey(long commerceAccountGroupId)
Returns the commerce account group with the primary key or throws a
NoSuchAccountGroupException if it could not be found. |
CommerceAccountGroup |
remove(long commerceAccountGroupId)
Removes the commerce account group with the primary key from the database.
|
void |
removeAll()
Removes all the commerce account groups from the database.
|
CommerceAccountGroup |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce account group where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByC_T(long companyId,
int type)
Removes all the commerce account groups where companyId = ? and type = ? from the database.
|
void |
removeByCommerceAccountGroupIds(long commerceAccountGroupId)
Removes all the commerce account groups where commerceAccountGroupId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the commerce account groups where companyId = ? from the database.
|
CommerceAccountGroup |
updateImpl(CommerceAccountGroup commerceAccountGroup) |
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<CommerceAccountGroup> findByCommerceAccountGroupIds(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDjava.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(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 CommerceAccountGroupModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroup findByCommerceAccountGroupIds_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup fetchByCommerceAccountGroupIds_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group could not be foundCommerceAccountGroup findByCommerceAccountGroupIds_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup fetchByCommerceAccountGroupIds_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group could not be foundjava.util.List<CommerceAccountGroup> filterFindByCommerceAccountGroupIds(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDjava.util.List<CommerceAccountGroup> filterFindByCommerceAccountGroupIds(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 CommerceAccountGroupModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> filterFindByCommerceAccountGroupIds(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> filterFindByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
commerceAccountGroupIds - the commerce account group IDsjava.util.List<CommerceAccountGroup> filterFindByCommerceAccountGroupIds(long[] commerceAccountGroupIds, 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 CommerceAccountGroupModelImpl.
commerceAccountGroupIds - the commerce account group IDsstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> filterFindByCommerceAccountGroupIds(long[] commerceAccountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
commerceAccountGroupIds - the commerce account group IDsstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
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 CommerceAccountGroupModelImpl.
commerceAccountGroupIds - the commerce account group IDsjava.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(long[] commerceAccountGroupIds, 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 CommerceAccountGroupModelImpl.
commerceAccountGroupIds - the commerce account group IDsstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(long[] commerceAccountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
commerceAccountGroupIds - the commerce account group IDsstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> findByCommerceAccountGroupIds(long[] commerceAccountGroupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
commerceAccountGroupIds - the commerce account group IDsstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeByCommerceAccountGroupIds(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDint countByCommerceAccountGroupIds(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDint countByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
commerceAccountGroupIds - the commerce account group IDsint filterCountByCommerceAccountGroupIds(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDint filterCountByCommerceAccountGroupIds(long[] commerceAccountGroupIds)
commerceAccountGroupIds - the commerce account group IDsjava.util.List<CommerceAccountGroup> findByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroup findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group could not be foundCommerceAccountGroup findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
companyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group could not be foundCommerceAccountGroup[] findByCompanyId_PrevAndNext(long commerceAccountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
commerceAccountGroupId - the primary key of the current commerce account groupcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a commerce account group with the primary key could not be foundjava.util.List<CommerceAccountGroup> filterFindByCompanyId(long companyId)
companyId - the company IDjava.util.List<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDstart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceAccountGroup[] filterFindByCompanyId_PrevAndNext(long commerceAccountGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
commerceAccountGroupId - the primary key of the current commerce account groupcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a commerce account group 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<CommerceAccountGroup> findByC_T(long companyId, int type)
companyId - the company IDtype - the typejava.util.List<CommerceAccountGroup> findByC_T(long companyId, 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 CommerceAccountGroupModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> findByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroup findByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup fetchByC_T_First(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group could not be foundCommerceAccountGroup findByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup fetchByC_T_Last(long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator)
companyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group could not be foundCommerceAccountGroup[] findByC_T_PrevAndNext(long commerceAccountGroupId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
commerceAccountGroupId - the primary key of the current commerce account groupcompanyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a commerce account group with the primary key could not be foundjava.util.List<CommerceAccountGroup> filterFindByC_T(long companyId, int type)
companyId - the company IDtype - the typejava.util.List<CommerceAccountGroup> filterFindByC_T(long companyId, 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 CommerceAccountGroupModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> filterFindByC_T(long companyId, int type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
companyId - the company IDtype - the typestart - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)CommerceAccountGroup[] filterFindByC_T_PrevAndNext(long commerceAccountGroupId, long companyId, int type, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> orderByComparator) throws NoSuchAccountGroupException
commerceAccountGroupId - the primary key of the current commerce account groupcompanyId - the company IDtype - the typeorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupException - if a commerce account group with the primary key could not be foundvoid removeByC_T(long companyId,
int type)
companyId - the company IDtype - the typeint countByC_T(long companyId,
int type)
companyId - the company IDtype - the typeint filterCountByC_T(long companyId,
int type)
companyId - the company IDtype - the typeCommerceAccountGroup findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAccountGroupException
NoSuchAccountGroupException if it could not be found.companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAccountGroupException - if a matching commerce account group could not be foundCommerceAccountGroup 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 group could not be foundCommerceAccountGroup 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 group could not be foundCommerceAccountGroup removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAccountGroupException
companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAccountGroupExceptionint countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
companyId - the company IDexternalReferenceCode - the external reference codevoid cacheResult(CommerceAccountGroup commerceAccountGroup)
commerceAccountGroup - the commerce account groupvoid cacheResult(java.util.List<CommerceAccountGroup> commerceAccountGroups)
commerceAccountGroups - the commerce account groupsCommerceAccountGroup create(long commerceAccountGroupId)
commerceAccountGroupId - the primary key for the new commerce account groupCommerceAccountGroup remove(long commerceAccountGroupId) throws NoSuchAccountGroupException
commerceAccountGroupId - the primary key of the commerce account groupNoSuchAccountGroupException - if a commerce account group with the primary key could not be foundCommerceAccountGroup updateImpl(CommerceAccountGroup commerceAccountGroup)
CommerceAccountGroup findByPrimaryKey(long commerceAccountGroupId) throws NoSuchAccountGroupException
NoSuchAccountGroupException if it could not be found.commerceAccountGroupId - the primary key of the commerce account groupNoSuchAccountGroupException - if a commerce account group with the primary key could not be foundCommerceAccountGroup fetchByPrimaryKey(long commerceAccountGroupId)
null if it could not be found.commerceAccountGroupId - the primary key of the commerce account groupnull if a commerce account group with the primary key could not be foundjava.util.List<CommerceAccountGroup> findAll()
java.util.List<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
start - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)java.util.List<CommerceAccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
start - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroup> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroup> 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 CommerceAccountGroupModelImpl.
start - the lower bound of the range of commerce account groupsend - the upper bound of the range of commerce account groups (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()