@ProviderType public interface AccountEntryUserRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountEntryUserRel>
Caching information and settings can be found in portal.properties
AccountEntryUserRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AccountEntryUserRel accountEntryUserRel)
Caches the account entry user rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AccountEntryUserRel> accountEntryUserRels)
Caches the account entry user rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of account entry user rels.
|
int |
countByAEI_AUI(long accountEntryId,
long accountUserId)
Returns the number of account entry user rels where accountEntryId = ? and accountUserId = ?.
|
int |
countByAEI(long accountEntryId)
Returns the number of account entry user rels where accountEntryId = ?.
|
int |
countByAUI(long accountUserId)
Returns the number of account entry user rels where accountUserId = ?.
|
AccountEntryUserRel |
create(long accountEntryUserRelId)
Creates a new account entry user rel with the primary key.
|
AccountEntryUserRel |
fetchByAEI_AUI(long accountEntryId,
long accountUserId)
Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returns
null if it could not be found. |
AccountEntryUserRel |
fetchByAEI_AUI(long accountEntryId,
long accountUserId,
boolean useFinderCache)
Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or returns
null if it could not be found, optionally using the finder cache. |
AccountEntryUserRel |
fetchByAEI_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the first account entry user rel in the ordered set where accountEntryId = ?.
|
AccountEntryUserRel |
fetchByAEI_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the last account entry user rel in the ordered set where accountEntryId = ?.
|
AccountEntryUserRel |
fetchByAUI_First(long accountUserId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the first account entry user rel in the ordered set where accountUserId = ?.
|
AccountEntryUserRel |
fetchByAUI_Last(long accountUserId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the last account entry user rel in the ordered set where accountUserId = ?.
|
AccountEntryUserRel |
fetchByPrimaryKey(long accountEntryUserRelId)
Returns the account entry user rel with the primary key or returns
null if it could not be found. |
java.util.List<AccountEntryUserRel> |
findAll()
Returns all the account entry user rels.
|
java.util.List<AccountEntryUserRel> |
findAll(int start,
int end)
Returns a range of all the account entry user rels.
|
java.util.List<AccountEntryUserRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns an ordered range of all the account entry user rels.
|
java.util.List<AccountEntryUserRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry user rels.
|
AccountEntryUserRel |
findByAEI_AUI(long accountEntryId,
long accountUserId)
Returns the account entry user rel where accountEntryId = ? and accountUserId = ? or throws a
NoSuchEntryUserRelException if it could not be found. |
AccountEntryUserRel |
findByAEI_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the first account entry user rel in the ordered set where accountEntryId = ?.
|
AccountEntryUserRel |
findByAEI_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the last account entry user rel in the ordered set where accountEntryId = ?.
|
AccountEntryUserRel[] |
findByAEI_PrevAndNext(long accountEntryUserRelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the account entry user rels before and after the current account entry user rel in the ordered set where accountEntryId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAEI(long accountEntryId)
Returns all the account entry user rels where accountEntryId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAEI(long accountEntryId,
int start,
int end)
Returns a range of all the account entry user rels where accountEntryId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAEI(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns an ordered range of all the account entry user rels where accountEntryId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAEI(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry user rels where accountEntryId = ?.
|
AccountEntryUserRel |
findByAUI_First(long accountUserId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the first account entry user rel in the ordered set where accountUserId = ?.
|
AccountEntryUserRel |
findByAUI_Last(long accountUserId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the last account entry user rel in the ordered set where accountUserId = ?.
|
AccountEntryUserRel[] |
findByAUI_PrevAndNext(long accountEntryUserRelId,
long accountUserId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns the account entry user rels before and after the current account entry user rel in the ordered set where accountUserId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAUI(long accountUserId)
Returns all the account entry user rels where accountUserId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAUI(long accountUserId,
int start,
int end)
Returns a range of all the account entry user rels where accountUserId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAUI(long accountUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
Returns an ordered range of all the account entry user rels where accountUserId = ?.
|
java.util.List<AccountEntryUserRel> |
findByAUI(long accountUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry user rels where accountUserId = ?.
|
AccountEntryUserRel |
findByPrimaryKey(long accountEntryUserRelId)
Returns the account entry user rel with the primary key or throws a
NoSuchEntryUserRelException if it could not be found. |
AccountEntryUserRel |
remove(long accountEntryUserRelId)
Removes the account entry user rel with the primary key from the database.
|
void |
removeAll()
Removes all the account entry user rels from the database.
|
AccountEntryUserRel |
removeByAEI_AUI(long accountEntryId,
long accountUserId)
Removes the account entry user rel where accountEntryId = ? and accountUserId = ? from the database.
|
void |
removeByAEI(long accountEntryId)
Removes all the account entry user rels where accountEntryId = ? from the database.
|
void |
removeByAUI(long accountUserId)
Removes all the account entry user rels where accountUserId = ? from the database.
|
AccountEntryUserRel |
updateImpl(AccountEntryUserRel accountEntryUserRel) |
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, update
java.util.List<AccountEntryUserRel> findByAEI(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<AccountEntryUserRel> findByAEI(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 AccountEntryUserRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)java.util.List<AccountEntryUserRel> findByAEI(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountEntryUserRel> findByAEI(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntryUserRel findByAEI_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUserRelException
- if a matching account entry user rel could not be foundAccountEntryUserRel fetchByAEI_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry user rel could not be foundAccountEntryUserRel findByAEI_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUserRelException
- if a matching account entry user rel could not be foundAccountEntryUserRel fetchByAEI_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry user rel could not be foundAccountEntryUserRel[] findByAEI_PrevAndNext(long accountEntryUserRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException
accountEntryUserRelId
- the primary key of the current account entry user relaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUserRelException
- if a account entry user rel with the primary key could not be foundvoid removeByAEI(long accountEntryId)
accountEntryId
- the account entry IDint countByAEI(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<AccountEntryUserRel> findByAUI(long accountUserId)
accountUserId
- the account user IDjava.util.List<AccountEntryUserRel> findByAUI(long accountUserId, 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 AccountEntryUserRelModelImpl
.
accountUserId
- the account user IDstart
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)java.util.List<AccountEntryUserRel> findByAUI(long accountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
accountUserId
- the account user IDstart
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountEntryUserRel> findByAUI(long accountUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
accountUserId
- the account user IDstart
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountEntryUserRel findByAUI_First(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException
accountUserId
- the account user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUserRelException
- if a matching account entry user rel could not be foundAccountEntryUserRel fetchByAUI_First(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
accountUserId
- the account user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry user rel could not be foundAccountEntryUserRel findByAUI_Last(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException
accountUserId
- the account user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUserRelException
- if a matching account entry user rel could not be foundAccountEntryUserRel fetchByAUI_Last(long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator)
accountUserId
- the account user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry user rel could not be foundAccountEntryUserRel[] findByAUI_PrevAndNext(long accountEntryUserRelId, long accountUserId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> orderByComparator) throws NoSuchEntryUserRelException
accountEntryUserRelId
- the primary key of the current account entry user relaccountUserId
- the account user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryUserRelException
- if a account entry user rel with the primary key could not be foundvoid removeByAUI(long accountUserId)
accountUserId
- the account user IDint countByAUI(long accountUserId)
accountUserId
- the account user IDAccountEntryUserRel findByAEI_AUI(long accountEntryId, long accountUserId) throws NoSuchEntryUserRelException
NoSuchEntryUserRelException
if it could not be found.accountEntryId
- the account entry IDaccountUserId
- the account user IDNoSuchEntryUserRelException
- if a matching account entry user rel could not be foundAccountEntryUserRel fetchByAEI_AUI(long accountEntryId, long accountUserId)
null
if it could not be found. Uses the finder cache.accountEntryId
- the account entry IDaccountUserId
- the account user IDnull
if a matching account entry user rel could not be foundAccountEntryUserRel fetchByAEI_AUI(long accountEntryId, long accountUserId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.accountEntryId
- the account entry IDaccountUserId
- the account user IDuseFinderCache
- whether to use the finder cachenull
if a matching account entry user rel could not be foundAccountEntryUserRel removeByAEI_AUI(long accountEntryId, long accountUserId) throws NoSuchEntryUserRelException
accountEntryId
- the account entry IDaccountUserId
- the account user IDNoSuchEntryUserRelException
int countByAEI_AUI(long accountEntryId, long accountUserId)
accountEntryId
- the account entry IDaccountUserId
- the account user IDvoid cacheResult(AccountEntryUserRel accountEntryUserRel)
accountEntryUserRel
- the account entry user relvoid cacheResult(java.util.List<AccountEntryUserRel> accountEntryUserRels)
accountEntryUserRels
- the account entry user relsAccountEntryUserRel create(long accountEntryUserRelId)
accountEntryUserRelId
- the primary key for the new account entry user relAccountEntryUserRel remove(long accountEntryUserRelId) throws NoSuchEntryUserRelException
accountEntryUserRelId
- the primary key of the account entry user relNoSuchEntryUserRelException
- if a account entry user rel with the primary key could not be foundAccountEntryUserRel updateImpl(AccountEntryUserRel accountEntryUserRel)
AccountEntryUserRel findByPrimaryKey(long accountEntryUserRelId) throws NoSuchEntryUserRelException
NoSuchEntryUserRelException
if it could not be found.accountEntryUserRelId
- the primary key of the account entry user relNoSuchEntryUserRelException
- if a account entry user rel with the primary key could not be foundAccountEntryUserRel fetchByPrimaryKey(long accountEntryUserRelId)
null
if it could not be found.accountEntryUserRelId
- the primary key of the account entry user relnull
if a account entry user rel with the primary key could not be foundjava.util.List<AccountEntryUserRel> findAll()
java.util.List<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
start
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)java.util.List<AccountEntryUserRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
start
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountEntryUserRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryUserRel> 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 AccountEntryUserRelModelImpl
.
start
- the lower bound of the range of account entry user relsend
- the upper bound of the range of account entry user rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()