@ProviderType public interface CommerceAccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAccountGroupRel>
Caching information and settings can be found in portal.properties
CommerceAccountGroupRelUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAccountGroupRel commerceAccountGroupRel)
Caches the commerce account group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAccountGroupRel> commerceAccountGroupRels)
Caches the commerce account group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce account group rels.
|
int |
countByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Returns the number of commerce account group rels where classNameId = ? and classPK = ? and commerceAccountGroupId = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of commerce account group rels where classNameId = ? and classPK = ?.
|
int |
countByCommerceAccountGroupId(long commerceAccountGroupId)
Returns the number of commerce account group rels where commerceAccountGroupId = ?.
|
CommerceAccountGroupRel |
create(long commerceAccountGroupRelId)
Creates a new commerce account group rel with the primary key.
|
CommerceAccountGroupRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Returns the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? or returns
null if it could not be found. |
CommerceAccountGroupRel |
fetchByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId,
boolean useFinderCache)
Returns the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? or returns
null if it could not be found, optionally using the finder cache. |
CommerceAccountGroupRel |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAccountGroupRel |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAccountGroupRel |
fetchByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupRel |
fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupRel |
fetchByPrimaryKey(long commerceAccountGroupRelId)
Returns the commerce account group rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceAccountGroupRel> |
findAll()
Returns all the commerce account group rels.
|
java.util.List<CommerceAccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the commerce account group rels.
|
java.util.List<CommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce account group rels.
|
java.util.List<CommerceAccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group rels.
|
CommerceAccountGroupRel |
findByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Returns the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? or throws a
NoSuchAccountGroupRelException if it could not be found. |
CommerceAccountGroupRel |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAccountGroupRel |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
CommerceAccountGroupRel[] |
findByC_C_PrevAndNext(long commerceAccountGroupRelId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the commerce account group rels before and after the current commerce account group rel in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK)
Returns all the commerce account group rels where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the commerce account group rels where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce account group rels where classNameId = ? and classPK = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group rels where classNameId = ? and classPK = ?.
|
CommerceAccountGroupRel |
findByCommerceAccountGroupId_First(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the first commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupRel |
findByCommerceAccountGroupId_Last(long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the last commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
CommerceAccountGroupRel[] |
findByCommerceAccountGroupId_PrevAndNext(long commerceAccountGroupRelId,
long commerceAccountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns the commerce account group rels before and after the current commerce account group rel in the ordered set where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId)
Returns all the commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end)
Returns a range of all the commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
Returns an ordered range of all the commerce account group rels where commerceAccountGroupId = ?.
|
java.util.List<CommerceAccountGroupRel> |
findByCommerceAccountGroupId(long commerceAccountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account group rels where commerceAccountGroupId = ?.
|
CommerceAccountGroupRel |
findByPrimaryKey(long commerceAccountGroupRelId)
Returns the commerce account group rel with the primary key or throws a
NoSuchAccountGroupRelException if it could not be found. |
CommerceAccountGroupRel |
remove(long commerceAccountGroupRelId)
Removes the commerce account group rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce account group rels from the database.
|
CommerceAccountGroupRel |
removeByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
Removes the commerce account group rel where classNameId = ? and classPK = ? and commerceAccountGroupId = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the commerce account group rels where classNameId = ? and classPK = ? from the database.
|
void |
removeByCommerceAccountGroupId(long commerceAccountGroupId)
Removes all the commerce account group rels where commerceAccountGroupId = ? from the database.
|
CommerceAccountGroupRel |
updateImpl(CommerceAccountGroupRel commerceAccountGroupRel) |
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<CommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId)
commerceAccountGroupId - the commerce account group IDjava.util.List<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)java.util.List<CommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroupRel> findByCommerceAccountGroupId(long commerceAccountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
commerceAccountGroupId - the commerce account group IDstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroupRel findByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundCommerceAccountGroupRel fetchByCommerceAccountGroupId_First(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundCommerceAccountGroupRel findByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundCommerceAccountGroupRel fetchByCommerceAccountGroupId_Last(long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
commerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundCommerceAccountGroupRel[] findByCommerceAccountGroupId_PrevAndNext(long commerceAccountGroupRelId, long commerceAccountGroupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupRelId - the primary key of the current commerce account group relcommerceAccountGroupId - the commerce account group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a commerce account group 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<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK)
classNameId - the class name IDclassPK - the class pkjava.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK, 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 CommerceAccountGroupRelModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)java.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
classNameId - the class name IDclassPK - the class pkstart - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountGroupRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundCommerceAccountGroupRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundCommerceAccountGroupRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundCommerceAccountGroupRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator)
classNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account group rel could not be foundCommerceAccountGroupRel[] findByC_C_PrevAndNext(long commerceAccountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> orderByComparator) throws NoSuchAccountGroupRelException
commerceAccountGroupRelId - the primary key of the current commerce account group relclassNameId - the class name IDclassPK - the class pkorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountGroupRelException - if a commerce account group rel with the primary key could not be foundvoid removeByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class pkint countByC_C(long classNameId,
long classPK)
classNameId - the class name IDclassPK - the class pkCommerceAccountGroupRel findByC_C_C(long classNameId, long classPK, long commerceAccountGroupId) throws NoSuchAccountGroupRelException
NoSuchAccountGroupRelException if it could not be found.classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDNoSuchAccountGroupRelException - if a matching commerce account group rel could not be foundCommerceAccountGroupRel fetchByC_C_C(long classNameId, long classPK, long commerceAccountGroupId)
null if it could not be found. Uses the finder cache.classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDnull if a matching commerce account group rel could not be foundCommerceAccountGroupRel fetchByC_C_C(long classNameId, long classPK, long commerceAccountGroupId, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDuseFinderCache - whether to use the finder cachenull if a matching commerce account group rel could not be foundCommerceAccountGroupRel removeByC_C_C(long classNameId, long classPK, long commerceAccountGroupId) throws NoSuchAccountGroupRelException
classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDNoSuchAccountGroupRelExceptionint countByC_C_C(long classNameId,
long classPK,
long commerceAccountGroupId)
classNameId - the class name IDclassPK - the class pkcommerceAccountGroupId - the commerce account group IDvoid cacheResult(CommerceAccountGroupRel commerceAccountGroupRel)
commerceAccountGroupRel - the commerce account group relvoid cacheResult(java.util.List<CommerceAccountGroupRel> commerceAccountGroupRels)
commerceAccountGroupRels - the commerce account group relsCommerceAccountGroupRel create(long commerceAccountGroupRelId)
commerceAccountGroupRelId - the primary key for the new commerce account group relCommerceAccountGroupRel remove(long commerceAccountGroupRelId) throws NoSuchAccountGroupRelException
commerceAccountGroupRelId - the primary key of the commerce account group relNoSuchAccountGroupRelException - if a commerce account group rel with the primary key could not be foundCommerceAccountGroupRel updateImpl(CommerceAccountGroupRel commerceAccountGroupRel)
CommerceAccountGroupRel findByPrimaryKey(long commerceAccountGroupRelId) throws NoSuchAccountGroupRelException
NoSuchAccountGroupRelException if it could not be found.commerceAccountGroupRelId - the primary key of the commerce account group relNoSuchAccountGroupRelException - if a commerce account group rel with the primary key could not be foundCommerceAccountGroupRel fetchByPrimaryKey(long commerceAccountGroupRelId)
null if it could not be found.commerceAccountGroupRelId - the primary key of the commerce account group relnull if a commerce account group rel with the primary key could not be foundjava.util.List<CommerceAccountGroupRel> findAll()
java.util.List<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
start - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)java.util.List<CommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
start - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountGroupRel> 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 CommerceAccountGroupRelModelImpl.
start - the lower bound of the range of commerce account group relsend - the upper bound of the range of commerce account group rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()