@ProviderType public interface AccountGroupAccountEntryRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountGroupAccountEntryRel>
Caching information and settings can be found in portal.properties
AccountGroupAccountEntryRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
Caches the account group account entry rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AccountGroupAccountEntryRel> accountGroupAccountEntryRels)
Caches the account group account entry rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of account group account entry rels.
|
int |
countByAccountEntryId(long accountEntryId)
Returns the number of account group account entry rels where accountEntryId = ?.
|
int |
countByAccountGroupId(long accountGroupId)
Returns the number of account group account entry rels where accountGroupId = ?.
|
int |
countByAGI_AEI(long accountGroupId,
long accountEntryId)
Returns the number of account group account entry rels where accountGroupId = ? and accountEntryId = ?.
|
AccountGroupAccountEntryRel |
create(long AccountGroupAccountEntryRelId)
Creates a new account group account entry rel with the primary key.
|
AccountGroupAccountEntryRel |
fetchByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the first account group account entry rel in the ordered set where accountEntryId = ?.
|
AccountGroupAccountEntryRel |
fetchByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the last account group account entry rel in the ordered set where accountEntryId = ?.
|
AccountGroupAccountEntryRel |
fetchByAccountGroupId_First(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the first account group account entry rel in the ordered set where accountGroupId = ?.
|
AccountGroupAccountEntryRel |
fetchByAccountGroupId_Last(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the last account group account entry rel in the ordered set where accountGroupId = ?.
|
AccountGroupAccountEntryRel |
fetchByAGI_AEI(long accountGroupId,
long accountEntryId)
Returns the account group account entry rel where accountGroupId = ? and accountEntryId = ? or returns
null if it could not be found. |
AccountGroupAccountEntryRel |
fetchByAGI_AEI(long accountGroupId,
long accountEntryId,
boolean useFinderCache)
Returns the account group account entry rel where accountGroupId = ? and accountEntryId = ? or returns
null if it could not be found, optionally using the finder cache. |
AccountGroupAccountEntryRel |
fetchByPrimaryKey(long AccountGroupAccountEntryRelId)
Returns the account group account entry rel with the primary key or returns
null if it could not be found. |
java.util.List<AccountGroupAccountEntryRel> |
findAll()
Returns all the account group account entry rels.
|
java.util.List<AccountGroupAccountEntryRel> |
findAll(int start,
int end)
Returns a range of all the account group account entry rels.
|
java.util.List<AccountGroupAccountEntryRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns an ordered range of all the account group account entry rels.
|
java.util.List<AccountGroupAccountEntryRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account group account entry rels.
|
AccountGroupAccountEntryRel |
findByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the first account group account entry rel in the ordered set where accountEntryId = ?.
|
AccountGroupAccountEntryRel |
findByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the last account group account entry rel in the ordered set where accountEntryId = ?.
|
AccountGroupAccountEntryRel[] |
findByAccountEntryId_PrevAndNext(long AccountGroupAccountEntryRelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the account group account entry rels before and after the current account group account entry rel in the ordered set where accountEntryId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountEntryId(long accountEntryId)
Returns all the account group account entry rels where accountEntryId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the account group account entry rels where accountEntryId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns an ordered range of all the account group account entry rels where accountEntryId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account group account entry rels where accountEntryId = ?.
|
AccountGroupAccountEntryRel |
findByAccountGroupId_First(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the first account group account entry rel in the ordered set where accountGroupId = ?.
|
AccountGroupAccountEntryRel |
findByAccountGroupId_Last(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the last account group account entry rel in the ordered set where accountGroupId = ?.
|
AccountGroupAccountEntryRel[] |
findByAccountGroupId_PrevAndNext(long AccountGroupAccountEntryRelId,
long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns the account group account entry rels before and after the current account group account entry rel in the ordered set where accountGroupId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountGroupId(long accountGroupId)
Returns all the account group account entry rels where accountGroupId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end)
Returns a range of all the account group account entry rels where accountGroupId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
Returns an ordered range of all the account group account entry rels where accountGroupId = ?.
|
java.util.List<AccountGroupAccountEntryRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account group account entry rels where accountGroupId = ?.
|
AccountGroupAccountEntryRel |
findByAGI_AEI(long accountGroupId,
long accountEntryId)
Returns the account group account entry rel where accountGroupId = ? and accountEntryId = ? or throws a
NoSuchGroupAccountEntryRelException if it could not be found. |
AccountGroupAccountEntryRel |
findByPrimaryKey(long AccountGroupAccountEntryRelId)
Returns the account group account entry rel with the primary key or throws a
NoSuchGroupAccountEntryRelException if it could not be found. |
AccountGroupAccountEntryRel |
remove(long AccountGroupAccountEntryRelId)
Removes the account group account entry rel with the primary key from the database.
|
void |
removeAll()
Removes all the account group account entry rels from the database.
|
void |
removeByAccountEntryId(long accountEntryId)
Removes all the account group account entry rels where accountEntryId = ? from the database.
|
void |
removeByAccountGroupId(long accountGroupId)
Removes all the account group account entry rels where accountGroupId = ? from the database.
|
AccountGroupAccountEntryRel |
removeByAGI_AEI(long accountGroupId,
long accountEntryId)
Removes the account group account entry rel where accountGroupId = ? and accountEntryId = ? from the database.
|
AccountGroupAccountEntryRel |
updateImpl(AccountGroupAccountEntryRel accountGroupAccountEntryRel) |
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<AccountGroupAccountEntryRel> findByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDjava.util.List<AccountGroupAccountEntryRel> findByAccountGroupId(long accountGroupId, 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 AccountGroupAccountEntryRelModelImpl
.
accountGroupId
- the account group IDstart
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)java.util.List<AccountGroupAccountEntryRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
accountGroupId
- the account group IDstart
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountGroupAccountEntryRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
accountGroupId
- the account group IDstart
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroupAccountEntryRel findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) throws NoSuchGroupAccountEntryRelException
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupAccountEntryRelException
- if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) throws NoSuchGroupAccountEntryRelException
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupAccountEntryRelException
- if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel[] findByAccountGroupId_PrevAndNext(long AccountGroupAccountEntryRelId, long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) throws NoSuchGroupAccountEntryRelException
AccountGroupAccountEntryRelId
- the primary key of the current account group account entry relaccountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupAccountEntryRelException
- if a account group account entry rel with the primary key could not be foundvoid removeByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDint countByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDjava.util.List<AccountGroupAccountEntryRel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDjava.util.List<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)java.util.List<AccountGroupAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountGroupAccountEntryRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroupAccountEntryRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) throws NoSuchGroupAccountEntryRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupAccountEntryRelException
- if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) throws NoSuchGroupAccountEntryRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupAccountEntryRelException
- if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel[] findByAccountEntryId_PrevAndNext(long AccountGroupAccountEntryRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) throws NoSuchGroupAccountEntryRelException
AccountGroupAccountEntryRelId
- the primary key of the current account group account entry relaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupAccountEntryRelException
- if a account group account entry rel with the primary key could not be foundvoid removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDint countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDAccountGroupAccountEntryRel findByAGI_AEI(long accountGroupId, long accountEntryId) throws NoSuchGroupAccountEntryRelException
NoSuchGroupAccountEntryRelException
if it could not be found.accountGroupId
- the account group IDaccountEntryId
- the account entry IDNoSuchGroupAccountEntryRelException
- if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel fetchByAGI_AEI(long accountGroupId, long accountEntryId)
null
if it could not be found. Uses the finder cache.accountGroupId
- the account group IDaccountEntryId
- the account entry IDnull
if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel fetchByAGI_AEI(long accountGroupId, long accountEntryId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.accountGroupId
- the account group IDaccountEntryId
- the account entry IDuseFinderCache
- whether to use the finder cachenull
if a matching account group account entry rel could not be foundAccountGroupAccountEntryRel removeByAGI_AEI(long accountGroupId, long accountEntryId) throws NoSuchGroupAccountEntryRelException
accountGroupId
- the account group IDaccountEntryId
- the account entry IDNoSuchGroupAccountEntryRelException
int countByAGI_AEI(long accountGroupId, long accountEntryId)
accountGroupId
- the account group IDaccountEntryId
- the account entry IDvoid cacheResult(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
accountGroupAccountEntryRel
- the account group account entry relvoid cacheResult(java.util.List<AccountGroupAccountEntryRel> accountGroupAccountEntryRels)
accountGroupAccountEntryRels
- the account group account entry relsAccountGroupAccountEntryRel create(long AccountGroupAccountEntryRelId)
AccountGroupAccountEntryRelId
- the primary key for the new account group account entry relAccountGroupAccountEntryRel remove(long AccountGroupAccountEntryRelId) throws NoSuchGroupAccountEntryRelException
AccountGroupAccountEntryRelId
- the primary key of the account group account entry relNoSuchGroupAccountEntryRelException
- if a account group account entry rel with the primary key could not be foundAccountGroupAccountEntryRel updateImpl(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
AccountGroupAccountEntryRel findByPrimaryKey(long AccountGroupAccountEntryRelId) throws NoSuchGroupAccountEntryRelException
NoSuchGroupAccountEntryRelException
if it could not be found.AccountGroupAccountEntryRelId
- the primary key of the account group account entry relNoSuchGroupAccountEntryRelException
- if a account group account entry rel with the primary key could not be foundAccountGroupAccountEntryRel fetchByPrimaryKey(long AccountGroupAccountEntryRelId)
null
if it could not be found.AccountGroupAccountEntryRelId
- the primary key of the account group account entry relnull
if a account group account entry rel with the primary key could not be foundjava.util.List<AccountGroupAccountEntryRel> findAll()
java.util.List<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
start
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)java.util.List<AccountGroupAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
start
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountGroupAccountEntryRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> 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 AccountGroupAccountEntryRelModelImpl
.
start
- the lower bound of the range of account group account entry relsend
- the upper bound of the range of account group account entry rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()