public class AccountGroupAccountEntryRelUtil
extends java.lang.Object
com.liferay.account.service.persistence.impl.AccountGroupAccountEntryRelPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
AccountGroupAccountEntryRelPersistence
Constructor and Description |
---|
AccountGroupAccountEntryRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
Caches the account group account entry rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AccountGroupAccountEntryRel> accountGroupAccountEntryRels)
Caches the account group account entry rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AccountGroupAccountEntryRel accountGroupAccountEntryRel) |
static int |
countAll()
Returns the number of account group account entry rels.
|
static int |
countByAccountEntryId(long accountEntryId)
Returns the number of account group account entry rels where accountEntryId = ?.
|
static int |
countByAccountGroupId(long accountGroupId)
Returns the number of account group account entry rels where accountGroupId = ?.
|
static int |
countByAGI_AEI(long accountGroupId,
long accountEntryId)
Returns the number of account group account entry rels where accountGroupId = ? and accountEntryId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AccountGroupAccountEntryRel |
create(long AccountGroupAccountEntryRelId)
Creates a new account group account entry rel with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static AccountGroupAccountEntryRel |
fetchByPrimaryKey(long AccountGroupAccountEntryRelId)
Returns the account group account entry rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AccountGroupAccountEntryRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<AccountGroupAccountEntryRel> |
findAll()
Returns all the account group account entry rels.
|
static java.util.List<AccountGroupAccountEntryRel> |
findAll(int start,
int end)
Returns a range of all the account group account entry rels.
|
static 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.
|
static 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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<AccountGroupAccountEntryRel> |
findByAccountEntryId(long accountEntryId)
Returns all the account group account entry rels where accountEntryId = ?.
|
static java.util.List<AccountGroupAccountEntryRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the account group account entry rels where accountEntryId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<AccountGroupAccountEntryRel> |
findByAccountGroupId(long accountGroupId)
Returns all the account group account entry rels where accountGroupId = ?.
|
static java.util.List<AccountGroupAccountEntryRel> |
findByAccountGroupId(long accountGroupId,
int start,
int end)
Returns a range of all the account group account entry rels where accountGroupId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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. |
static 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. |
static java.util.List<AccountGroupAccountEntryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AccountGroupAccountEntryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AccountGroupAccountEntryRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator) |
static AccountGroupAccountEntryRelPersistence |
getPersistence() |
static AccountGroupAccountEntryRel |
remove(long AccountGroupAccountEntryRelId)
Removes the account group account entry rel with the primary key from the database.
|
static void |
removeAll()
Removes all the account group account entry rels from the database.
|
static void |
removeByAccountEntryId(long accountEntryId)
Removes all the account group account entry rels where accountEntryId = ? from the database.
|
static void |
removeByAccountGroupId(long accountGroupId)
Removes all the account group account entry rels where accountGroupId = ? from the database.
|
static AccountGroupAccountEntryRel |
removeByAGI_AEI(long accountGroupId,
long accountEntryId)
Removes the account group account entry rel where accountGroupId = ? and accountEntryId = ? from the database.
|
static AccountGroupAccountEntryRel |
update(AccountGroupAccountEntryRel accountGroupAccountEntryRel) |
static AccountGroupAccountEntryRel |
update(AccountGroupAccountEntryRel accountGroupAccountEntryRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AccountGroupAccountEntryRel |
updateImpl(AccountGroupAccountEntryRel accountGroupAccountEntryRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,AccountGroupAccountEntryRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AccountGroupAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AccountGroupAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AccountGroupAccountEntryRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountGroupAccountEntryRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AccountGroupAccountEntryRel update(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AccountGroupAccountEntryRel update(AccountGroupAccountEntryRel accountGroupAccountEntryRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AccountGroupAccountEntryRel> findByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDpublic static java.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)public static 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
)public static 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 cachepublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel[] 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 foundpublic static void removeByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDpublic static int countByAccountGroupId(long accountGroupId)
accountGroupId
- the account group IDpublic static java.util.List<AccountGroupAccountEntryRel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static java.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)public static 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
)public static 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 cachepublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel[] 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 foundpublic static void removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static int countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel removeByAGI_AEI(long accountGroupId, long accountEntryId) throws NoSuchGroupAccountEntryRelException
accountGroupId
- the account group IDaccountEntryId
- the account entry IDNoSuchGroupAccountEntryRelException
public static int countByAGI_AEI(long accountGroupId, long accountEntryId)
accountGroupId
- the account group IDaccountEntryId
- the account entry IDpublic static void cacheResult(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
accountGroupAccountEntryRel
- the account group account entry relpublic static void cacheResult(java.util.List<AccountGroupAccountEntryRel> accountGroupAccountEntryRels)
accountGroupAccountEntryRels
- the account group account entry relspublic static AccountGroupAccountEntryRel create(long AccountGroupAccountEntryRelId)
AccountGroupAccountEntryRelId
- the primary key for the new account group account entry relpublic static AccountGroupAccountEntryRel 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 foundpublic static AccountGroupAccountEntryRel updateImpl(AccountGroupAccountEntryRel accountGroupAccountEntryRel)
public static 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 foundpublic static AccountGroupAccountEntryRel 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 foundpublic static java.util.List<AccountGroupAccountEntryRel> findAll()
public static 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)public static 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
)public static 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 cachepublic static void removeAll()
public static int countAll()
public static AccountGroupAccountEntryRelPersistence getPersistence()