@ProviderType public interface AccountGroupRelPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<AccountGroupRel>
Caching information and settings can be found in portal.properties
AccountGroupRelUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(AccountGroupRel accountGroupRel)
Caches the account group rel in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<AccountGroupRel> accountGroupRels)
Caches the account group rels in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of account group rels.
|
int |
countByA_C_C(long accountGroupId,
long classNameId,
long classPK)
Returns the number of account group rels where accountGroupId = ? and classNameId = ? and classPK = ?.
|
int |
countByAccountGroupId(long accountGroupId)
Returns the number of account group rels where accountGroupId = ?.
|
int |
countByC_C(long classNameId,
long classPK)
Returns the number of account group rels where classNameId = ? and classPK = ?.
|
AccountGroupRel |
create(long accountGroupRelId)
Creates a new account group rel with the primary key.
|
AccountGroupRel |
fetchByA_C_C(long accountGroupId,
long classNameId,
long classPK)
Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found. |
AccountGroupRel |
fetchByA_C_C(long accountGroupId,
long classNameId,
long classPK,
boolean useFinderCache)
Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
AccountGroupRel |
fetchByAccountGroupId_First(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the first account group rel in the ordered set where accountGroupId = ?.
|
AccountGroupRel |
fetchByAccountGroupId_Last(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the last account group rel in the ordered set where accountGroupId = ?.
|
AccountGroupRel |
fetchByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.
|
AccountGroupRel |
fetchByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.
|
AccountGroupRel |
fetchByPrimaryKey(long accountGroupRelId)
Returns the account group rel with the primary key or returns
null if it could not be found. |
java.util.List<AccountGroupRel> |
findAll()
Returns all the account group rels.
|
java.util.List<AccountGroupRel> |
findAll(int start,
int end)
Returns a range of all the account group rels.
|
java.util.List<AccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns an ordered range of all the account group rels.
|
java.util.List<AccountGroupRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account group rels.
|
AccountGroupRel |
findByA_C_C(long accountGroupId,
long classNameId,
long classPK)
Returns the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? or throws a
NoSuchGroupRelException if it could not be found. |
AccountGroupRel |
findByAccountGroupId_First(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the first account group rel in the ordered set where accountGroupId = ?.
|
AccountGroupRel |
findByAccountGroupId_Last(long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the last account group rel in the ordered set where accountGroupId = ?.
|
AccountGroupRel[] |
findByAccountGroupId_PrevAndNext(long accountGroupRelId,
long accountGroupId,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the account group rels before and after the current account group rel in the ordered set where accountGroupId = ?.
|
java.util.List<AccountGroupRel> |
findByAccountGroupId(long accountGroupId)
Returns all the account group rels where accountGroupId = ?.
|
java.util.List<AccountGroupRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end)
Returns a range of all the account group rels where accountGroupId = ?.
|
java.util.List<AccountGroupRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns an ordered range of all the account group rels where accountGroupId = ?.
|
java.util.List<AccountGroupRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account group rels where accountGroupId = ?.
|
AccountGroupRel |
findByC_C_First(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the first account group rel in the ordered set where classNameId = ? and classPK = ?.
|
AccountGroupRel |
findByC_C_Last(long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the last account group rel in the ordered set where classNameId = ? and classPK = ?.
|
AccountGroupRel[] |
findByC_C_PrevAndNext(long accountGroupRelId,
long classNameId,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns the account group rels before and after the current account group rel in the ordered set where classNameId = ? and classPK = ?.
|
java.util.List<AccountGroupRel> |
findByC_C(long classNameId,
long classPK)
Returns all the account group rels where classNameId = ? and classPK = ?.
|
java.util.List<AccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end)
Returns a range of all the account group rels where classNameId = ? and classPK = ?.
|
java.util.List<AccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.
|
java.util.List<AccountGroupRel> |
findByC_C(long classNameId,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account group rels where classNameId = ? and classPK = ?.
|
AccountGroupRel |
findByPrimaryKey(long accountGroupRelId)
Returns the account group rel with the primary key or throws a
NoSuchGroupRelException if it could not be found. |
AccountGroupRel |
remove(long accountGroupRelId)
Removes the account group rel with the primary key from the database.
|
void |
removeAll()
Removes all the account group rels from the database.
|
AccountGroupRel |
removeByA_C_C(long accountGroupId,
long classNameId,
long classPK)
Removes the account group rel where accountGroupId = ? and classNameId = ? and classPK = ? from the database.
|
void |
removeByAccountGroupId(long accountGroupId)
Removes all the account group rels where accountGroupId = ? from the database.
|
void |
removeByC_C(long classNameId,
long classPK)
Removes all the account group rels where classNameId = ? and classPK = ? from the database.
|
AccountGroupRel |
updateImpl(AccountGroupRel accountGroupRel) |
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<AccountGroupRel> findByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDjava.util.List<AccountGroupRel> 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 AccountGroupRelModelImpl
.
accountGroupId
- the account group IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)java.util.List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> 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 AccountGroupRelModelImpl
.
accountGroupId
- the account group IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountGroupRel> findByAccountGroupId(long accountGroupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> 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 AccountGroupRelModelImpl
.
accountGroupId
- the account group IDstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroupRel findByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupRelException
- if a matching account group rel could not be foundAccountGroupRel fetchByAccountGroupId_First(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group rel could not be foundAccountGroupRel findByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupRelException
- if a matching account group rel could not be foundAccountGroupRel fetchByAccountGroupId_Last(long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
accountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group rel could not be foundAccountGroupRel[] findByAccountGroupId_PrevAndNext(long accountGroupRelId, long accountGroupId, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
accountGroupRelId
- the primary key of the current account group relaccountGroupId
- the account group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupRelException
- if a account group 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<AccountGroupRel> findByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkjava.util.List<AccountGroupRel> findByC_C(long classNameId, long classPK, 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 AccountGroupRelModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)java.util.List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> 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 AccountGroupRelModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountGroupRel> findByC_C(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> 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 AccountGroupRelModelImpl
.
classNameId
- the class name IDclassPK
- the class pkstart
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheAccountGroupRel findByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupRelException
- if a matching account group rel could not be foundAccountGroupRel fetchByC_C_First(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group rel could not be foundAccountGroupRel findByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupRelException
- if a matching account group rel could not be foundAccountGroupRel fetchByC_C_Last(long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator)
classNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account group rel could not be foundAccountGroupRel[] findByC_C_PrevAndNext(long accountGroupRelId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> orderByComparator) throws NoSuchGroupRelException
accountGroupRelId
- the primary key of the current account group relclassNameId
- the class name IDclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchGroupRelException
- if a account group rel with the primary key could not be foundvoid removeByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkint countByC_C(long classNameId, long classPK)
classNameId
- the class name IDclassPK
- the class pkAccountGroupRel findByA_C_C(long accountGroupId, long classNameId, long classPK) throws NoSuchGroupRelException
NoSuchGroupRelException
if it could not be found.accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchGroupRelException
- if a matching account group rel could not be foundAccountGroupRel fetchByA_C_C(long accountGroupId, long classNameId, long classPK)
null
if it could not be found. Uses the finder cache.accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pknull
if a matching account group rel could not be foundAccountGroupRel fetchByA_C_C(long accountGroupId, long classNameId, long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching account group rel could not be foundAccountGroupRel removeByA_C_C(long accountGroupId, long classNameId, long classPK) throws NoSuchGroupRelException
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pkNoSuchGroupRelException
int countByA_C_C(long accountGroupId, long classNameId, long classPK)
accountGroupId
- the account group IDclassNameId
- the class name IDclassPK
- the class pkvoid cacheResult(AccountGroupRel accountGroupRel)
accountGroupRel
- the account group relvoid cacheResult(java.util.List<AccountGroupRel> accountGroupRels)
accountGroupRels
- the account group relsAccountGroupRel create(long accountGroupRelId)
accountGroupRelId
- the primary key for the new account group relAccountGroupRel remove(long accountGroupRelId) throws NoSuchGroupRelException
accountGroupRelId
- the primary key of the account group relNoSuchGroupRelException
- if a account group rel with the primary key could not be foundAccountGroupRel updateImpl(AccountGroupRel accountGroupRel)
AccountGroupRel findByPrimaryKey(long accountGroupRelId) throws NoSuchGroupRelException
NoSuchGroupRelException
if it could not be found.accountGroupRelId
- the primary key of the account group relNoSuchGroupRelException
- if a account group rel with the primary key could not be foundAccountGroupRel fetchByPrimaryKey(long accountGroupRelId)
null
if it could not be found.accountGroupRelId
- the primary key of the account group relnull
if a account group rel with the primary key could not be foundjava.util.List<AccountGroupRel> findAll()
java.util.List<AccountGroupRel> 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 AccountGroupRelModelImpl
.
start
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)java.util.List<AccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> 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 AccountGroupRelModelImpl
.
start
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<AccountGroupRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupRel> 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 AccountGroupRelModelImpl
.
start
- the lower bound of the range of account group relsend
- the upper bound of the range of account group rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()