public class AccountEntryOrganizationRelUtil
extends java.lang.Object
com.liferay.account.service.persistence.impl.AccountEntryOrganizationRelPersistenceImpl
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
AccountEntryOrganizationRelPersistence
Constructor and Description |
---|
AccountEntryOrganizationRelUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(AccountEntryOrganizationRel accountEntryOrganizationRel)
Caches the account entry organization rel in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<AccountEntryOrganizationRel> accountEntryOrganizationRels)
Caches the account entry organization rels in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(AccountEntryOrganizationRel accountEntryOrganizationRel) |
static int |
countAll()
Returns the number of account entry organization rels.
|
static int |
countByA_O(long accountEntryId,
long organizationId)
Returns the number of account entry organization rels where accountEntryId = ? and organizationId = ?.
|
static int |
countByAccountEntryId(long accountEntryId)
Returns the number of account entry organization rels where accountEntryId = ?.
|
static int |
countByOrganizationId(long organizationId)
Returns the number of account entry organization rels where organizationId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static AccountEntryOrganizationRel |
create(long accountEntryOrganizationRelId)
Creates a new account entry organization rel with the primary key.
|
static AccountEntryOrganizationRel |
fetchByA_O(long accountEntryId,
long organizationId)
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returns
null if it could not be found. |
static AccountEntryOrganizationRel |
fetchByA_O(long accountEntryId,
long organizationId,
boolean useFinderCache)
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or returns
null if it could not be found, optionally using the finder cache. |
static AccountEntryOrganizationRel |
fetchByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where accountEntryId = ?.
|
static AccountEntryOrganizationRel |
fetchByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where accountEntryId = ?.
|
static AccountEntryOrganizationRel |
fetchByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where organizationId = ?.
|
static AccountEntryOrganizationRel |
fetchByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where organizationId = ?.
|
static AccountEntryOrganizationRel |
fetchByPrimaryKey(long accountEntryOrganizationRelId)
Returns the account entry organization rel with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,AccountEntryOrganizationRel> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<AccountEntryOrganizationRel> |
findAll()
Returns all the account entry organization rels.
|
static java.util.List<AccountEntryOrganizationRel> |
findAll(int start,
int end)
Returns a range of all the account entry organization rels.
|
static java.util.List<AccountEntryOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns an ordered range of all the account entry organization rels.
|
static java.util.List<AccountEntryOrganizationRel> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry organization rels.
|
static AccountEntryOrganizationRel |
findByA_O(long accountEntryId,
long organizationId)
Returns the account entry organization rel where accountEntryId = ? and organizationId = ? or throws a
NoSuchEntryOrganizationRelException if it could not be found. |
static AccountEntryOrganizationRel |
findByAccountEntryId_First(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where accountEntryId = ?.
|
static AccountEntryOrganizationRel |
findByAccountEntryId_Last(long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where accountEntryId = ?.
|
static AccountEntryOrganizationRel[] |
findByAccountEntryId_PrevAndNext(long accountEntryOrganizationRelId,
long accountEntryId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the account entry organization rels before and after the current account entry organization rel in the ordered set where accountEntryId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId)
Returns all the account entry organization rels where accountEntryId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end)
Returns a range of all the account entry organization rels where accountEntryId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns an ordered range of all the account entry organization rels where accountEntryId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByAccountEntryId(long accountEntryId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry organization rels where accountEntryId = ?.
|
static AccountEntryOrganizationRel |
findByOrganizationId_First(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the first account entry organization rel in the ordered set where organizationId = ?.
|
static AccountEntryOrganizationRel |
findByOrganizationId_Last(long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the last account entry organization rel in the ordered set where organizationId = ?.
|
static AccountEntryOrganizationRel[] |
findByOrganizationId_PrevAndNext(long accountEntryOrganizationRelId,
long organizationId,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns the account entry organization rels before and after the current account entry organization rel in the ordered set where organizationId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId)
Returns all the account entry organization rels where organizationId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end)
Returns a range of all the account entry organization rels where organizationId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Returns an ordered range of all the account entry organization rels where organizationId = ?.
|
static java.util.List<AccountEntryOrganizationRel> |
findByOrganizationId(long organizationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the account entry organization rels where organizationId = ?.
|
static AccountEntryOrganizationRel |
findByPrimaryKey(long accountEntryOrganizationRelId)
Returns the account entry organization rel with the primary key or throws a
NoSuchEntryOrganizationRelException if it could not be found. |
static java.util.List<AccountEntryOrganizationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<AccountEntryOrganizationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<AccountEntryOrganizationRel> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) |
static AccountEntryOrganizationRelPersistence |
getPersistence() |
static AccountEntryOrganizationRel |
remove(long accountEntryOrganizationRelId)
Removes the account entry organization rel with the primary key from the database.
|
static void |
removeAll()
Removes all the account entry organization rels from the database.
|
static AccountEntryOrganizationRel |
removeByA_O(long accountEntryId,
long organizationId)
Removes the account entry organization rel where accountEntryId = ? and organizationId = ? from the database.
|
static void |
removeByAccountEntryId(long accountEntryId)
Removes all the account entry organization rels where accountEntryId = ? from the database.
|
static void |
removeByOrganizationId(long organizationId)
Removes all the account entry organization rels where organizationId = ? from the database.
|
static AccountEntryOrganizationRel |
update(AccountEntryOrganizationRel accountEntryOrganizationRel) |
static AccountEntryOrganizationRel |
update(AccountEntryOrganizationRel accountEntryOrganizationRel,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static AccountEntryOrganizationRel |
updateImpl(AccountEntryOrganizationRel accountEntryOrganizationRel) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(AccountEntryOrganizationRel accountEntryOrganizationRel)
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,AccountEntryOrganizationRel> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<AccountEntryOrganizationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<AccountEntryOrganizationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<AccountEntryOrganizationRel> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static AccountEntryOrganizationRel update(AccountEntryOrganizationRel accountEntryOrganizationRel)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static AccountEntryOrganizationRel update(AccountEntryOrganizationRel accountEntryOrganizationRel, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)public static java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AccountEntryOrganizationRel> findByAccountEntryId(long accountEntryId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
accountEntryId
- the account entry IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AccountEntryOrganizationRel findByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel fetchByAccountEntryId_First(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel findByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel fetchByAccountEntryId_Last(long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
accountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel[] findByAccountEntryId_PrevAndNext(long accountEntryOrganizationRelId, long accountEntryId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryOrganizationRelId
- the primary key of the current account entry organization relaccountEntryId
- the account entry IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundpublic static void removeByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static int countByAccountEntryId(long accountEntryId)
accountEntryId
- the account entry IDpublic static java.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId)
organizationId
- the organization IDpublic static java.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
organizationId
- the organization IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)public static java.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
organizationId
- the organization IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AccountEntryOrganizationRel> findByOrganizationId(long organizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
organizationId
- the organization IDstart
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static AccountEntryOrganizationRel findByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel fetchByOrganizationId_First(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel findByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel fetchByOrganizationId_Last(long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
organizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel[] findByOrganizationId_PrevAndNext(long accountEntryOrganizationRelId, long organizationId, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator) throws NoSuchEntryOrganizationRelException
accountEntryOrganizationRelId
- the primary key of the current account entry organization relorganizationId
- the organization IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundpublic static void removeByOrganizationId(long organizationId)
organizationId
- the organization IDpublic static int countByOrganizationId(long organizationId)
organizationId
- the organization IDpublic static AccountEntryOrganizationRel findByA_O(long accountEntryId, long organizationId) throws NoSuchEntryOrganizationRelException
NoSuchEntryOrganizationRelException
if it could not be found.accountEntryId
- the account entry IDorganizationId
- the organization IDNoSuchEntryOrganizationRelException
- if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel fetchByA_O(long accountEntryId, long organizationId)
null
if it could not be found. Uses the finder cache.accountEntryId
- the account entry IDorganizationId
- the organization IDnull
if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel fetchByA_O(long accountEntryId, long organizationId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.accountEntryId
- the account entry IDorganizationId
- the organization IDuseFinderCache
- whether to use the finder cachenull
if a matching account entry organization rel could not be foundpublic static AccountEntryOrganizationRel removeByA_O(long accountEntryId, long organizationId) throws NoSuchEntryOrganizationRelException
accountEntryId
- the account entry IDorganizationId
- the organization IDNoSuchEntryOrganizationRelException
public static int countByA_O(long accountEntryId, long organizationId)
accountEntryId
- the account entry IDorganizationId
- the organization IDpublic static void cacheResult(AccountEntryOrganizationRel accountEntryOrganizationRel)
accountEntryOrganizationRel
- the account entry organization relpublic static void cacheResult(java.util.List<AccountEntryOrganizationRel> accountEntryOrganizationRels)
accountEntryOrganizationRels
- the account entry organization relspublic static AccountEntryOrganizationRel create(long accountEntryOrganizationRelId)
accountEntryOrganizationRelId
- the primary key for the new account entry organization relpublic static AccountEntryOrganizationRel remove(long accountEntryOrganizationRelId) throws NoSuchEntryOrganizationRelException
accountEntryOrganizationRelId
- the primary key of the account entry organization relNoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundpublic static AccountEntryOrganizationRel updateImpl(AccountEntryOrganizationRel accountEntryOrganizationRel)
public static AccountEntryOrganizationRel findByPrimaryKey(long accountEntryOrganizationRelId) throws NoSuchEntryOrganizationRelException
NoSuchEntryOrganizationRelException
if it could not be found.accountEntryOrganizationRelId
- the primary key of the account entry organization relNoSuchEntryOrganizationRelException
- if a account entry organization rel with the primary key could not be foundpublic static AccountEntryOrganizationRel fetchByPrimaryKey(long accountEntryOrganizationRelId)
null
if it could not be found.accountEntryOrganizationRelId
- the primary key of the account entry organization relnull
if a account entry organization rel with the primary key could not be foundpublic static java.util.List<AccountEntryOrganizationRel> findAll()
public static java.util.List<AccountEntryOrganizationRel> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)public static java.util.List<AccountEntryOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<AccountEntryOrganizationRel> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<AccountEntryOrganizationRel> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from AccountEntryOrganizationRelModelImpl
.
start
- the lower bound of the range of account entry organization relsend
- the upper bound of the range of account entry organization rels (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static AccountEntryOrganizationRelPersistence getPersistence()