@ProviderType public interface AccountEntryOrganizationRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntryOrganizationRel>
Caching information and settings can be found in portal.properties
AccountEntryOrganizationRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AccountEntryOrganizationRel accountEntryOrganizationRel)
Caches the account entry organization rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AccountEntryOrganizationRel> accountEntryOrganizationRels)
Caches the account entry organization rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of account entry organization rels.
|
int |
countByA_O(long accountEntryId,
long organizationId)
Returns the number of account entry organization rels where accountEntryId = ? and organizationId = ?.
|
int |
countByAccountEntryId(long accountEntryId)
Returns the number of account entry organization rels where accountEntryId = ?.
|
int |
countByOrganizationId(long organizationId)
Returns the number of account entry organization rels where organizationId = ?.
|
AccountEntryOrganizationRel |
create(long accountEntryOrganizationRelId)
Creates a new account entry organization rel with the primary key.
|
AccountEntryOrganizationRel |
fetchByA_O(long accountEntryId,
long organizationId)
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returns
null if it could not be found. |
AccountEntryOrganizationRel |
fetchByA_O(long accountEntryId,
long organizationId,
boolean useFinderCache)
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returns
null if it could not be found, optionally using the finder cache. |
AccountEntryOrganizationRel |
fetchByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where accountEntryId = ?.
|
AccountEntryOrganizationRel |
fetchByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where accountEntryId = ?.
|
AccountEntryOrganizationRel |
fetchByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where organizationId = ?.
|
AccountEntryOrganizationRel |
fetchByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where organizationId = ?.
|
AccountEntryOrganizationRel |
fetchByPrimaryKey(long accountEntryOrganizationRelId)
Returns the account entry organization rel with the primary key or returns
null if it could not be found. |
java.util.List<AccountEntryOrganizationRel> |
findAll()
Returns all the account entry organization rels.
|
java.util.List<AccountEntryOrganizationRel> |
findAll(int start,
int end)
Returns a range of all the account entry organization rels.
|
java.util.List<AccountEntryOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns an ordered range of all the account entry organization rels.
|
java.util.List<AccountEntryOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry organization rels.
|
AccountEntryOrganizationRel |
findByA_O(long accountEntryId,
long organizationId)
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or throws a
NoSuchEntryOrganizationRelException if it could not be found. |
AccountEntryOrganizationRel |
findByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where accountEntryId = ?.
|
AccountEntryOrganizationRel |
findByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where accountEntryId = ?.
|
AccountEntryOrganizationRel[] |
findByAccountEntryId_PrevAndNext(long accountEntryOrganizationRelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the account entry organization rels before and after the current account entry organization rel in the ordered set where accountEntryId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId)
Returns all the account entry organization rels where accountEntryId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the account entry organization rels where accountEntryId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns an ordered range of all the account entry organization rels where accountEntryId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry organization rels where accountEntryId = ?.
|
AccountEntryOrganizationRel |
findByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where organizationId = ?.
|
AccountEntryOrganizationRel |
findByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where organizationId = ?.
|
AccountEntryOrganizationRel[] |
findByOrganizationId_PrevAndNext(long accountEntryOrganizationRelId,
long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the account entry organization rels before and after the current account entry organization rel in the ordered set where organizationId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId)
Returns all the account entry organization rels where organizationId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end)
Returns a range of all the account entry organization rels where organizationId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns an ordered range of all the account entry organization rels where organizationId = ?.
|
java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry organization rels where organizationId = ?.
|
AccountEntryOrganizationRel |
findByPrimaryKey(long accountEntryOrganizationRelId)
Returns the account entry organization rel with the primary key or throws a
NoSuchEntryOrganizationRelException if it could not be found. |
AccountEntryOrganizationRel |
remove(long accountEntryOrganizationRelId)
Removes the account entry organization rel with the primary key from the database.
|
void |
removeAll()
Removes all the account entry organization rels from the database.
|
AccountEntryOrganizationRel |
removeByA_O(long accountEntryId,
long organizationId)
Removes the account entry organization rel where accountEntryId = ? and organizationId = ? from the database.
|
void |
removeByAccountEntryId(long accountEntryId)
Removes all the account entry organization rels where accountEntryId = ? from the database.
|
void |
removeByOrganizationId(long organizationId)
Removes all the account entry organization rels where organizationId = ? from the database.
|
AccountEntryOrganizationRel |
updateImpl(AccountEntryOrganizationRel accountEntryOrganizationRel) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, 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 AccountEntryOrganizationRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntryOrganizationRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundAccountEntryOrganizationRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundAccountEntryOrganizationRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundAccountEntryOrganizationRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundAccountEntryOrganizationRel[] findByAccountEntryId_PrevAndNext(long accountEntryOrganizationRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryOrganizationRelId
- the primary key of the current account entry organization relaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundvoid removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDint countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId)
organizationId
- the organization IDjava.util.List<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
organizationId
- the organization IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)java.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
organizationId
- the organization IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
organizationId
- the organization IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntryOrganizationRel findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundAccountEntryOrganizationRel fetchByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundAccountEntryOrganizationRel findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundAccountEntryOrganizationRel fetchByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundAccountEntryOrganizationRel[] findByOrganizationId_PrevAndNext(long accountEntryOrganizationRelId, long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryOrganizationRelId
- the primary key of the current account entry organization relorganizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundvoid removeByOrganizationId(long organizationId)
organizationId
- the organization IDint countByOrganizationId(long organizationId)
organizationId
- the organization IDAccountEntryOrganizationRel findByA_O(long accountEntryId, long organizationId) throws NoSuchEntryOrganizationRelException
NoSuchEntryOrganizationRelException
if it could not be found.accountEntryId
- the account entry IDorganizationId
- the organization IDNoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundAccountEntryOrganizationRel fetchByA_O(long accountEntryId, long organizationId)
null
if it could not be found. Uses the finder cache.accountEntryId
- the account entry IDorganizationId
- the organization IDnull
if a matching account entry organization rel could not be foundAccountEntryOrganizationRel fetchByA_O(long accountEntryId, long organizationId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.accountEntryId
- the account entry IDorganizationId
- the organization IDuseFinderCache
- whether to use the finder cachenull
if a matching account entry organization rel could not be foundAccountEntryOrganizationRel removeByA_O(long accountEntryId, long organizationId) throws NoSuchEntryOrganizationRelException
accountEntryId
- the account entry IDorganizationId
- the organization IDNoSuchEntryOrganizationRelException
int countByA_O(long accountEntryId, long organizationId)
accountEntryId
- the account entry IDorganizationId
- the organization IDvoid cacheResult(AccountEntryOrganizationRel accountEntryOrganizationRel)
accountEntryOrganizationRel
- the account entry organization relvoid cacheResult(java.util.List<AccountEntryOrganizationRel> accountEntryOrganizationRels)
accountEntryOrganizationRels
- the account entry organization relsAccountEntryOrganizationRel create(long accountEntryOrganizationRelId)
accountEntryOrganizationRelId
- the primary key for the new account entry organization relAccountEntryOrganizationRel remove(long accountEntryOrganizationRelId) throws NoSuchEntryOrganizationRelException
accountEntryOrganizationRelId
- the primary key of the account entry organization relNoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundAccountEntryOrganizationRel updateImpl(AccountEntryOrganizationRel accountEntryOrganizationRel)
AccountEntryOrganizationRel findByPrimaryKey(long accountEntryOrganizationRelId) throws NoSuchEntryOrganizationRelException
NoSuchEntryOrganizationRelException
if it could not be found.accountEntryOrganizationRelId
- the primary key of the account entry organization relNoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundAccountEntryOrganizationRel fetchByPrimaryKey(long accountEntryOrganizationRelId)
null
if it could not be found.accountEntryOrganizationRelId
- the primary key of the account entry organization relnull
if a account entry organization rel with the primary key could not be foundjava.util.List<AccountEntryOrganizationRel> findAll()
java.util.List<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)java.util.List<AccountEntryOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountEntryOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> 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 AccountEntryOrganizationRelModelImpl
.
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()