@ProviderType public interface CommerceAccountGroupCommerceAccountRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAccountGroupCommerceAccountRel>
Caching information and settings can be found in portal.properties
CommerceAccountGroupCommerceAccountRelUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAccountGroupCommerceAccountRel commerceAccountGroupCommerceAccountRel)
Caches the commerce account group commerce account rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAccountGroupCommerceAccountRel> commerceAccountGroupCommerceAccountRels)
Caches the commerce account group commerce account rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce account group commerce account rels.
|
int |
countByC_C(long commerceAccountGroupId,
long commerceAccountId)
Returns the number of commerce account group commerce account rels where commerceAccountGroupId = ? and commerceAccountId = ?.
|
int |
countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the number of commerce account group commerce account rels where companyId = ? and externalReferenceCode = ?.
|
int |
countByCommerceAccountGroupId(long commerceAccountGroupId)
Returns the number of commerce account group commerce account rels where commerceAccountGroupId = ?.
|
int |
countByCommerceAccountId(long commerceAccountId)
Returns the number of commerce account group commerce account rels where commerceAccountId = ?.
|
CommerceAccountGroupCommerceAccountRel |
create(long commerceAccountGroupCommerceAccountRelId)
Creates a new commerce account group commerce account rel with the primary key.
|
CommerceAccountGroupCommerceAccountRel |
fetchByC_C(long commerceAccountGroupId,
long commerceAccountId)
Returns the commerce account group commerce account rel where commerceAccountGroupId = ? and commerceAccountId = ? or returns
null if it could not be found. |
CommerceAccountGroupCommerceAccountRel |
fetchByC_C(long commerceAccountGroupId,
long commerceAccountId,
boolean useFinderCache)
Returns the commerce account group commerce account rel where commerceAccountGroupId = ? and commerceAccountId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAccountGroupCommerceAccountRel |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account group commerce account rel where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found. |
CommerceAccountGroupCommerceAccountRel |
fetchByC_ERC(long companyId,
java.lang.String externalReferenceCode,
boolean useFinderCache)
Returns the commerce account group commerce account rel where companyId = ? and externalReferenceCode = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAccountGroupCommerceAccountRel |
fetchByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the first commerce account group commerce account rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupCommerceAccountRel |
fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the last commerce account group commerce account rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupCommerceAccountRel |
fetchByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the first commerce account group commerce account rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountGroupCommerceAccountRel |
fetchByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the last commerce account group commerce account rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountGroupCommerceAccountRel |
fetchByPrimaryKey(long commerceAccountGroupCommerceAccountRelId)
Returns the commerce account group commerce account rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findAll()
Returns all the commerce account group commerce account rels.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findAll(int start,
int end)
Returns a range of all the commerce account group commerce account rels.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns an ordered range of all the commerce account group commerce account rels.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group commerce account rels.
|
CommerceAccountGroupCommerceAccountRel |
findByC_C(long commerceAccountGroupId,
long commerceAccountId)
Returns the commerce account group commerce account rel where commerceAccountGroupId = ? and commerceAccountId = ? or throws a
NoSuchAccountGroupCommerceAccountRelException if it could not be found. |
CommerceAccountGroupCommerceAccountRel |
findByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Returns the commerce account group commerce account rel where companyId = ? and externalReferenceCode = ? or throws a
NoSuchAccountGroupCommerceAccountRelException if it could not be found. |
CommerceAccountGroupCommerceAccountRel |
findByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the first commerce account group commerce account rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupCommerceAccountRel |
findByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the last commerce account group commerce account rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupCommerceAccountRel[] |
findByCommerceAccountGroupId_PrevAndNext(long commerceAccountGroupCommerceAccountRelId,
long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the commerce account group commerce account rels before and after the current commerce account group commerce account rel in the ordered set where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId)
Returns all the commerce account group commerce account rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce account group commerce account rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns an ordered range of all the commerce account group commerce account rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group commerce account rels where commerceAccountGroupId = ?.
|
CommerceAccountGroupCommerceAccountRel |
findByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the first commerce account group commerce account rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountGroupCommerceAccountRel |
findByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the last commerce account group commerce account rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountGroupCommerceAccountRel[] |
findByCommerceAccountId_PrevAndNext(long commerceAccountGroupCommerceAccountRelId,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns the commerce account group commerce account rels before and after the current commerce account group commerce account rel in the ordered set where commerceAccountId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountId(long commerceAccountId)
Returns all the commerce account group commerce account rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end)
Returns a range of all the commerce account group commerce account rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
Returns an ordered range of all the commerce account group commerce account rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountGroupCommerceAccountRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group commerce account rels where commerceAccountId = ?.
|
CommerceAccountGroupCommerceAccountRel |
findByPrimaryKey(long commerceAccountGroupCommerceAccountRelId)
Returns the commerce account group commerce account rel with the primary key or throws a
NoSuchAccountGroupCommerceAccountRelException if it could not be found. |
CommerceAccountGroupCommerceAccountRel |
remove(long commerceAccountGroupCommerceAccountRelId)
Removes the commerce account group commerce account rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce account group commerce account rels from the database.
|
CommerceAccountGroupCommerceAccountRel |
removeByC_C(long commerceAccountGroupId,
long commerceAccountId)
Removes the commerce account group commerce account rel where commerceAccountGroupId = ? and commerceAccountId = ? from the database.
|
CommerceAccountGroupCommerceAccountRel |
removeByC_ERC(long companyId,
java.lang.String externalReferenceCode)
Removes the commerce account group commerce account rel where companyId = ? and externalReferenceCode = ? from the database.
|
void |
removeByCommerceAccountGroupId(long commerceAccountGroupId)
Removes all the commerce account group commerce account rels where commerceAccountGroupId = ? from the database.
|
void |
removeByCommerceAccountId(long commerceAccountId)
Removes all the commerce account group commerce account rels where commerceAccountId = ? from the database.
|
CommerceAccountGroupCommerceAccountRel |
updateImpl(CommerceAccountGroupCommerceAccountRel commerceAccountGroupCommerceAccountRel) |
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<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDjava.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceAccountGroupCommerceAccountRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)java.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroupCommerceAccountRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupCommerceAccountRelException - if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupCommerceAccountRelException - if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceAccountGroupCommerceAccountRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountGroupCommerceAccountRelId - the primary key of the current commerce account group commerce account relcommerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupCommerceAccountRelException - if a commerce account group commerce account rel with the primary key could not be foundvoid removeByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDint countByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDjava.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDjava.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from CommerceAccountGroupCommerceAccountRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)java.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroupCommerceAccountRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroupCommerceAccountRel findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupCommerceAccountRelException - if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel findByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupCommerceAccountRelException - if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel fetchByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel[] findByCommerceAccountId_PrevAndNext(long commerceAccountGroupCommerceAccountRelId, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> orderByComparator) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountGroupCommerceAccountRelId - the primary key of the current commerce account group commerce account relcommerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupCommerceAccountRelException - if a commerce account group commerce account rel with the primary key could not be foundvoid removeByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDint countByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDCommerceAccountGroupCommerceAccountRel findByC_C(long commerceAccountGroupId, long commerceAccountId) throws NoSuchAccountGroupCommerceAccountRelException
NoSuchAccountGroupCommerceAccountRelException if it could not be found.commerceAccountGroupId - the commerce account group IDcommerceAccountId - the commerce account IDNoSuchAccountGroupCommerceAccountRelException - if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel fetchByC_C(long commerceAccountGroupId, long commerceAccountId)
null if it could not be found. Uses the finder cache.commerceAccountGroupId - the commerce account group IDcommerceAccountId - the commerce account IDnull if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel fetchByC_C(long commerceAccountGroupId, long commerceAccountId, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.commerceAccountGroupId - the commerce account group IDcommerceAccountId - the commerce account IDuseFinderCache - whether to use the finder cachenull if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel removeByC_C(long commerceAccountGroupId, long commerceAccountId) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountGroupId - the commerce account group IDcommerceAccountId - the commerce account IDNoSuchAccountGroupCommerceAccountRelExceptionint countByC_C(long commerceAccountGroupId,
long commerceAccountId)
commerceAccountGroupId - the commerce account group IDcommerceAccountId - the commerce account IDCommerceAccountGroupCommerceAccountRel findByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAccountGroupCommerceAccountRelException
NoSuchAccountGroupCommerceAccountRelException if it could not be found.companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAccountGroupCommerceAccountRelException - if a matching commerce account group commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel 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 commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel 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 commerce account rel could not be foundCommerceAccountGroupCommerceAccountRel removeByC_ERC(long companyId, java.lang.String externalReferenceCode) throws NoSuchAccountGroupCommerceAccountRelException
companyId - the company IDexternalReferenceCode - the external reference codeNoSuchAccountGroupCommerceAccountRelExceptionint countByC_ERC(long companyId,
java.lang.String externalReferenceCode)
companyId - the company IDexternalReferenceCode - the external reference codevoid cacheResult(CommerceAccountGroupCommerceAccountRel commerceAccountGroupCommerceAccountRel)
commerceAccountGroupCommerceAccountRel - the commerce account group commerce account relvoid cacheResult(java.util.List<CommerceAccountGroupCommerceAccountRel> commerceAccountGroupCommerceAccountRels)
commerceAccountGroupCommerceAccountRels - the commerce account group commerce account relsCommerceAccountGroupCommerceAccountRel create(long commerceAccountGroupCommerceAccountRelId)
commerceAccountGroupCommerceAccountRelId - the primary key for the new commerce account group commerce account relCommerceAccountGroupCommerceAccountRel remove(long commerceAccountGroupCommerceAccountRelId) throws NoSuchAccountGroupCommerceAccountRelException
commerceAccountGroupCommerceAccountRelId - the primary key of the commerce account group commerce account relNoSuchAccountGroupCommerceAccountRelException - if a commerce account group commerce account rel with the primary key could not be foundCommerceAccountGroupCommerceAccountRel updateImpl(CommerceAccountGroupCommerceAccountRel commerceAccountGroupCommerceAccountRel)
CommerceAccountGroupCommerceAccountRel findByPrimaryKey(long commerceAccountGroupCommerceAccountRelId) throws NoSuchAccountGroupCommerceAccountRelException
NoSuchAccountGroupCommerceAccountRelException if it could not be found.commerceAccountGroupCommerceAccountRelId - the primary key of the commerce account group commerce account relNoSuchAccountGroupCommerceAccountRelException - if a commerce account group commerce account rel with the primary key could not be foundCommerceAccountGroupCommerceAccountRel fetchByPrimaryKey(long commerceAccountGroupCommerceAccountRelId)
null if it could not be found.commerceAccountGroupCommerceAccountRelId - the primary key of the commerce account group commerce account relnull if a commerce account group commerce account rel with the primary key could not be foundjava.util.List<CommerceAccountGroupCommerceAccountRel> findAll()
java.util.List<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
start - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)java.util.List<CommerceAccountGroupCommerceAccountRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
start - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroupCommerceAccountRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupCommerceAccountRel> 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 CommerceAccountGroupCommerceAccountRelModelImpl.
start - the lower bound of the range of commerce account group commerce account relsend - the upper bound of the range of commerce account group commerce account rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()