@ProviderType public interface CommerceAccountOrganizationRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceAccountOrganizationRel>
Caching information and settings can be found in portal.properties
CommerceAccountOrganizationRelUtil| Modifier and Type | Method and Description |
|---|---|
void |
cacheResult(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
Caches the commerce account organization rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels)
Caches the commerce account organization rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce account organization rels.
|
int |
countByCommerceAccountId(long commerceAccountId)
Returns the number of commerce account organization rels where commerceAccountId = ?.
|
int |
countByOrganizationId(long organizationId)
Returns the number of commerce account organization rels where organizationId = ?.
|
CommerceAccountOrganizationRel |
create(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Creates a new commerce account organization rel with the primary key.
|
CommerceAccountOrganizationRel |
fetchByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountOrganizationRel |
fetchByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountOrganizationRel |
fetchByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where organizationId = ?.
|
CommerceAccountOrganizationRel |
fetchByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where organizationId = ?.
|
CommerceAccountOrganizationRel |
fetchByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Returns the commerce account organization rel with the primary key or returns
null if it could not be found. |
java.util.List<CommerceAccountOrganizationRel> |
findAll()
Returns all the commerce account organization rels.
|
java.util.List<CommerceAccountOrganizationRel> |
findAll(int start,
int end)
Returns a range of all the commerce account organization rels.
|
java.util.List<CommerceAccountOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns an ordered range of all the commerce account organization rels.
|
java.util.List<CommerceAccountOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account organization rels.
|
CommerceAccountOrganizationRel |
findByCommerceAccountId_First(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountOrganizationRel |
findByCommerceAccountId_Last(long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where commerceAccountId = ?.
|
CommerceAccountOrganizationRel[] |
findByCommerceAccountId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK,
long commerceAccountId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the commerce account organization rels before and after the current commerce account organization rel in the ordered set where commerceAccountId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId)
Returns all the commerce account organization rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end)
Returns a range of all the commerce account organization rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns an ordered range of all the commerce account organization rels where commerceAccountId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByCommerceAccountId(long commerceAccountId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account organization rels where commerceAccountId = ?.
|
CommerceAccountOrganizationRel |
findByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the first commerce account organization rel in the ordered set where organizationId = ?.
|
CommerceAccountOrganizationRel |
findByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the last commerce account organization rel in the ordered set where organizationId = ?.
|
CommerceAccountOrganizationRel[] |
findByOrganizationId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK,
long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns the commerce account organization rels before and after the current commerce account organization rel in the ordered set where organizationId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId)
Returns all the commerce account organization rels where organizationId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end)
Returns a range of all the commerce account organization rels where organizationId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
Returns an ordered range of all the commerce account organization rels where organizationId = ?.
|
java.util.List<CommerceAccountOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce account organization rels where organizationId = ?.
|
CommerceAccountOrganizationRel |
findByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Returns the commerce account organization rel with the primary key or throws a
NoSuchAccountOrganizationRelException if it could not be found. |
java.util.Set<java.lang.String> |
getCompoundPKColumnNames() |
CommerceAccountOrganizationRel |
remove(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
Removes the commerce account organization rel with the primary key from the database.
|
void |
removeAll()
Removes all the commerce account organization rels from the database.
|
void |
removeByCommerceAccountId(long commerceAccountId)
Removes all the commerce account organization rels where commerceAccountId = ? from the database.
|
void |
removeByOrganizationId(long organizationId)
Removes all the commerce account organization rels where organizationId = ? from the database.
|
CommerceAccountOrganizationRel |
updateImpl(CommerceAccountOrganizationRel commerceAccountOrganizationRel) |
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<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId)
commerceAccountId - the commerce account IDjava.util.List<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)java.util.List<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountOrganizationRel> findByCommerceAccountId(long commerceAccountId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
commerceAccountId - the commerce account IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountOrganizationRel findByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel fetchByCommerceAccountId_First(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel findByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel fetchByCommerceAccountId_Last(long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
commerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel[] findByCommerceAccountId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK, long commerceAccountId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountOrganizationRelPK - the primary key of the current commerce account organization relcommerceAccountId - the commerce account IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a commerce account organization 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<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId)
organizationId - the organization IDjava.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId, 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 CommerceAccountOrganizationRelModelImpl.
organizationId - the organization IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)java.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
organizationId - the organization IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
organizationId - the organization IDstart - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cacheCommerceAccountOrganizationRel findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel fetchByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel fetchByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator)
organizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)null if a matching commerce account organization rel could not be foundCommerceAccountOrganizationRel[] findByOrganizationId_PrevAndNext(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK, long organizationId, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> orderByComparator) throws NoSuchAccountOrganizationRelException
commerceAccountOrganizationRelPK - the primary key of the current commerce account organization relorganizationId - the organization IDorderByComparator - the comparator to order the set by (optionally null)NoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundvoid removeByOrganizationId(long organizationId)
organizationId - the organization IDint countByOrganizationId(long organizationId)
organizationId - the organization IDvoid cacheResult(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
commerceAccountOrganizationRel - the commerce account organization relvoid cacheResult(java.util.List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels)
commerceAccountOrganizationRels - the commerce account organization relsCommerceAccountOrganizationRel create(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
commerceAccountOrganizationRelPK - the primary key for the new commerce account organization relCommerceAccountOrganizationRel remove(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK) throws NoSuchAccountOrganizationRelException
commerceAccountOrganizationRelPK - the primary key of the commerce account organization relNoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundCommerceAccountOrganizationRel updateImpl(CommerceAccountOrganizationRel commerceAccountOrganizationRel)
CommerceAccountOrganizationRel findByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK) throws NoSuchAccountOrganizationRelException
NoSuchAccountOrganizationRelException if it could not be found.commerceAccountOrganizationRelPK - the primary key of the commerce account organization relNoSuchAccountOrganizationRelException - if a commerce account organization rel with the primary key could not be foundCommerceAccountOrganizationRel fetchByPrimaryKey(CommerceAccountOrganizationRelPK commerceAccountOrganizationRelPK)
null if it could not be found.commerceAccountOrganizationRelPK - the primary key of the commerce account organization relnull if a commerce account organization rel with the primary key could not be foundjava.util.List<CommerceAccountOrganizationRel> findAll()
java.util.List<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
start - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)java.util.List<CommerceAccountOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
start - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization rels (not inclusive)orderByComparator - the comparator to order the results by (optionally null)java.util.List<CommerceAccountOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceAccountOrganizationRel> 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 CommerceAccountOrganizationRelModelImpl.
start - the lower bound of the range of commerce account organization relsend - the upper bound of the range of commerce account organization 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()