@ProviderType public interface CommerceAccountUserRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAccountUserRel>
Caching information and settings can be found in portal.properties
CommerceAccountUserRelUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAccountUserRel commerceAccountUserRel)
Caches the commerce account user rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAccountUserRel> commerceAccountUserRels)
Caches the commerce account user rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce account user rels.
|
int |
countByCommerceAccountId(long commerceAccountId)
Returns the number of commerce account user rels where commerceAccountId = ?.
|
int |
countByCommerceAccountUserId(long commerceAccountUserId)
Returns the number of commerce account user rels where commerceAccountUserId = ?.
|
CommerceAccountUserRel |
create(CommerceAccountUserRelPK commerceAccountUserRelPK)
Creates a new commerce account user rel with the primary key.
|
CommerceAccountUserRel |
fetchByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the first commerce account user rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountUserRel |
fetchByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the last commerce account user rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountUserRel |
fetchByCommerceAccountUserId_First(long commerceAccountUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the first commerce account user rel in the ordered set where commerceAccountUserId = ?.
|
CommerceAccountUserRel |
fetchByCommerceAccountUserId_Last(long commerceAccountUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the last commerce account user rel in the ordered set where commerceAccountUserId = ?.
|
CommerceAccountUserRel |
fetchByPrimaryKey(CommerceAccountUserRelPK commerceAccountUserRelPK)
Returns the commerce account user rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceAccountUserRel> |
findAll()
Returns all the commerce account user rels.
|
java.util.List<CommerceAccountUserRel> |
findAll(int start,
int end)
Returns a range of all the commerce account user rels.
|
java.util.List<CommerceAccountUserRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns an ordered range of all the commerce account user rels.
|
java.util.List<CommerceAccountUserRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account user rels.
|
CommerceAccountUserRel |
findByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the first commerce account user rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountUserRel |
findByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the last commerce account user rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountUserRel[] |
findByCommerceAccountId_PrevAndNext(CommerceAccountUserRelPK commerceAccountUserRelPK,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the commerce account user rels before and after the current commerce account user rel in the ordered set where commerceAccountId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountId(long commerceAccountId)
Returns all the commerce account user rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end)
Returns a range of all the commerce account user rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns an ordered range of all the commerce account user rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account user rels where commerceAccountId = ?.
|
CommerceAccountUserRel |
findByCommerceAccountUserId_First(long commerceAccountUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the first commerce account user rel in the ordered set where commerceAccountUserId = ?.
|
CommerceAccountUserRel |
findByCommerceAccountUserId_Last(long commerceAccountUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the last commerce account user rel in the ordered set where commerceAccountUserId = ?.
|
CommerceAccountUserRel[] |
findByCommerceAccountUserId_PrevAndNext(CommerceAccountUserRelPK commerceAccountUserRelPK,
long commerceAccountUserId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns the commerce account user rels before and after the current commerce account user rel in the ordered set where commerceAccountUserId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountUserId(long commerceAccountUserId)
Returns all the commerce account user rels where commerceAccountUserId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountUserId(long commerceAccountUserId,
int start,
int end)
Returns a range of all the commerce account user rels where commerceAccountUserId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountUserId(long commerceAccountUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
Returns an ordered range of all the commerce account user rels where commerceAccountUserId = ?.
|
java.util.List<CommerceAccountUserRel> |
findByCommerceAccountUserId(long commerceAccountUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account user rels where commerceAccountUserId = ?.
|
CommerceAccountUserRel |
findByPrimaryKey(CommerceAccountUserRelPK commerceAccountUserRelPK)
Returns the commerce account user rel with the primary key or throws a
NoSuchAccountUserRelException if it could not be found. |
java.util.Set<java.lang.String> |
getCompoundPKColumnNames() |
CommerceAccountUserRel |
remove(CommerceAccountUserRelPK commerceAccountUserRelPK)
Removes the commerce account user rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce account user rels from the database.
|
void |
removeByCommerceAccountId(long commerceAccountId)
Removes all the commerce account user rels where commerceAccountId = ? from the database.
|
void |
removeByCommerceAccountUserId(long commerceAccountUserId)
Removes all the commerce account user rels where commerceAccountUserId = ? from the database.
|
CommerceAccountUserRel |
updateImpl(CommerceAccountUserRel commerceAccountUserRel) |
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<CommerceAccountUserRel> findByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDjava.util.List<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)java.util.List<CommerceAccountUserRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountUserRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountUserRel findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator) throws NoSuchAccountUserRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountUserRelException - if a matching commerce account user rel could not be foundCommerceAccountUserRel fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account user rel could not be foundCommerceAccountUserRel findByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator) throws NoSuchAccountUserRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountUserRelException - if a matching commerce account user rel could not be foundCommerceAccountUserRel fetchByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account user rel could not be foundCommerceAccountUserRel[] findByCommerceAccountId_PrevAndNext(CommerceAccountUserRelPK commerceAccountUserRelPK, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator) throws NoSuchAccountUserRelException
commerceAccountUserRelPK - the primary key of the current commerce account user relcommerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountUserRelException - if a commerce account user rel with the primary key could not be foundvoid removeByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDint countByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDjava.util.List<CommerceAccountUserRel> findByCommerceAccountUserId(long commerceAccountUserId)
commerceAccountUserId - the commerce account user IDjava.util.List<CommerceAccountUserRel> findByCommerceAccountUserId(long commerceAccountUserId, 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 CommerceAccountUserRelModelImpl.
commerceAccountUserId - the commerce account user IDstart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)java.util.List<CommerceAccountUserRel> findByCommerceAccountUserId(long commerceAccountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
commerceAccountUserId - the commerce account user IDstart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountUserRel> findByCommerceAccountUserId(long commerceAccountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
commerceAccountUserId - the commerce account user IDstart - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountUserRel findByCommerceAccountUserId_First(long commerceAccountUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator) throws NoSuchAccountUserRelException
commerceAccountUserId - the commerce account user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountUserRelException - if a matching commerce account user rel could not be foundCommerceAccountUserRel fetchByCommerceAccountUserId_First(long commerceAccountUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
commerceAccountUserId - the commerce account user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account user rel could not be foundCommerceAccountUserRel findByCommerceAccountUserId_Last(long commerceAccountUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator) throws NoSuchAccountUserRelException
commerceAccountUserId - the commerce account user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountUserRelException - if a matching commerce account user rel could not be foundCommerceAccountUserRel fetchByCommerceAccountUserId_Last(long commerceAccountUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator)
commerceAccountUserId - the commerce account user IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account user rel could not be foundCommerceAccountUserRel[] findByCommerceAccountUserId_PrevAndNext(CommerceAccountUserRelPK commerceAccountUserRelPK, long commerceAccountUserId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> orderByComparator) throws NoSuchAccountUserRelException
commerceAccountUserRelPK - the primary key of the current commerce account user relcommerceAccountUserId - the commerce account user IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountUserRelException - if a commerce account user rel with the primary key could not be foundvoid removeByCommerceAccountUserId(long commerceAccountUserId)
commerceAccountUserId - the commerce account user IDint countByCommerceAccountUserId(long commerceAccountUserId)
commerceAccountUserId - the commerce account user IDvoid cacheResult(CommerceAccountUserRel commerceAccountUserRel)
commerceAccountUserRel - the commerce account user relvoid cacheResult(java.util.List<CommerceAccountUserRel> commerceAccountUserRels)
commerceAccountUserRels - the commerce account user relsCommerceAccountUserRel create(CommerceAccountUserRelPK commerceAccountUserRelPK)
commerceAccountUserRelPK - the primary key for the new commerce account user relCommerceAccountUserRel remove(CommerceAccountUserRelPK commerceAccountUserRelPK) throws NoSuchAccountUserRelException
commerceAccountUserRelPK - the primary key of the commerce account user relNoSuchAccountUserRelException - if a commerce account user rel with the primary key could not be foundCommerceAccountUserRel updateImpl(CommerceAccountUserRel commerceAccountUserRel)
CommerceAccountUserRel findByPrimaryKey(CommerceAccountUserRelPK commerceAccountUserRelPK) throws NoSuchAccountUserRelException
NoSuchAccountUserRelException if it could not be found.commerceAccountUserRelPK - the primary key of the commerce account user relNoSuchAccountUserRelException - if a commerce account user rel with the primary key could not be foundCommerceAccountUserRel fetchByPrimaryKey(CommerceAccountUserRelPK commerceAccountUserRelPK)
null if it could not be found.commerceAccountUserRelPK - the primary key of the commerce account user relnull if a commerce account user rel with the primary key could not be foundjava.util.List<CommerceAccountUserRel> findAll()
java.util.List<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
start - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)java.util.List<CommerceAccountUserRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
start - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountUserRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountUserRel> 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 CommerceAccountUserRelModelImpl.
start - the lower bound of the range of commerce account user relsend - the upper bound of the range of commerce account user rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getCompoundPKColumnNames()