@ProviderType
public class MemberRequestUtil
extends java.lang.Object
com.liferay.invitation.invite.members.service.persistence.impl.MemberRequestPersistenceImpl
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
MemberRequestPersistence
,
com.liferay.invitation.invite.members.service.persistence.impl.MemberRequestPersistenceImpl
Constructor and Description |
---|
MemberRequestUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<MemberRequest> memberRequests)
Caches the member requests in the entity cache if it is enabled.
|
static void |
cacheResult(MemberRequest memberRequest)
Caches the member request in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(MemberRequest memberRequest) |
static int |
countAll()
Returns the number of member requests.
|
static int |
countByG_R_S(long groupId,
long receiverUserId,
int status)
Returns the number of member requests where groupId = ? and receiverUserId = ? and status = ?.
|
static int |
countByKey(java.lang.String key)
Returns the number of member requests where key = ?.
|
static int |
countByR_S(long receiverUserId,
int status)
Returns the number of member requests where receiverUserId = ? and status = ?.
|
static int |
countByReceiverUserId(long receiverUserId)
Returns the number of member requests where receiverUserId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static MemberRequest |
create(long memberRequestId)
Creates a new member request with the primary key.
|
static MemberRequest |
fetchByG_R_S(long groupId,
long receiverUserId,
int status)
Returns the member request where groupId = ? and receiverUserId = ? and status = ? or returns
null if it could not be found. |
static MemberRequest |
fetchByG_R_S(long groupId,
long receiverUserId,
int status,
boolean retrieveFromCache)
Returns the member request where groupId = ? and receiverUserId = ? and status = ? or returns
null if it could not be found, optionally using the finder cache. |
static MemberRequest |
fetchByKey(java.lang.String key)
Returns the member request where key = ? or returns
null if it could not be found. |
static MemberRequest |
fetchByKey(java.lang.String key,
boolean retrieveFromCache)
Returns the member request where key = ? or returns
null if it could not be found, optionally using the finder cache. |
static MemberRequest |
fetchByPrimaryKey(long memberRequestId)
Returns the member request with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,MemberRequest> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static MemberRequest |
fetchByR_S_First(long receiverUserId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the first member request in the ordered set where receiverUserId = ? and status = ?.
|
static MemberRequest |
fetchByR_S_Last(long receiverUserId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the last member request in the ordered set where receiverUserId = ? and status = ?.
|
static MemberRequest |
fetchByReceiverUserId_First(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the first member request in the ordered set where receiverUserId = ?.
|
static MemberRequest |
fetchByReceiverUserId_Last(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the last member request in the ordered set where receiverUserId = ?.
|
static java.util.List<MemberRequest> |
findAll()
Returns all the member requests.
|
static java.util.List<MemberRequest> |
findAll(int start,
int end)
Returns a range of all the member requests.
|
static java.util.List<MemberRequest> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns an ordered range of all the member requests.
|
static java.util.List<MemberRequest> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the member requests.
|
static MemberRequest |
findByG_R_S(long groupId,
long receiverUserId,
int status)
Returns the member request where groupId = ? and receiverUserId = ? and status = ? or throws a
NoSuchMemberRequestException if it could not be found. |
static MemberRequest |
findByKey(java.lang.String key)
Returns the member request where key = ? or throws a
NoSuchMemberRequestException if it could not be found. |
static MemberRequest |
findByPrimaryKey(long memberRequestId)
Returns the member request with the primary key or throws a
NoSuchMemberRequestException if it could not be found. |
static MemberRequest |
findByR_S_First(long receiverUserId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the first member request in the ordered set where receiverUserId = ? and status = ?.
|
static MemberRequest |
findByR_S_Last(long receiverUserId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the last member request in the ordered set where receiverUserId = ? and status = ?.
|
static MemberRequest[] |
findByR_S_PrevAndNext(long memberRequestId,
long receiverUserId,
int status,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the member requests before and after the current member request in the ordered set where receiverUserId = ? and status = ?.
|
static java.util.List<MemberRequest> |
findByR_S(long receiverUserId,
int status)
Returns all the member requests where receiverUserId = ? and status = ?.
|
static java.util.List<MemberRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end)
Returns a range of all the member requests where receiverUserId = ? and status = ?.
|
static java.util.List<MemberRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns an ordered range of all the member requests where receiverUserId = ? and status = ?.
|
static java.util.List<MemberRequest> |
findByR_S(long receiverUserId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the member requests where receiverUserId = ? and status = ?.
|
static MemberRequest |
findByReceiverUserId_First(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the first member request in the ordered set where receiverUserId = ?.
|
static MemberRequest |
findByReceiverUserId_Last(long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the last member request in the ordered set where receiverUserId = ?.
|
static MemberRequest[] |
findByReceiverUserId_PrevAndNext(long memberRequestId,
long receiverUserId,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns the member requests before and after the current member request in the ordered set where receiverUserId = ?.
|
static java.util.List<MemberRequest> |
findByReceiverUserId(long receiverUserId)
Returns all the member requests where receiverUserId = ?.
|
static java.util.List<MemberRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end)
Returns a range of all the member requests where receiverUserId = ?.
|
static java.util.List<MemberRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
Returns an ordered range of all the member requests where receiverUserId = ?.
|
static java.util.List<MemberRequest> |
findByReceiverUserId(long receiverUserId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the member requests where receiverUserId = ?.
|
static java.util.List<MemberRequest> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<MemberRequest> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<MemberRequest> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) |
static java.util.Set<java.lang.String> |
getBadColumnNames() |
static MemberRequestPersistence |
getPersistence() |
static MemberRequest |
remove(long memberRequestId)
Removes the member request with the primary key from the database.
|
static void |
removeAll()
Removes all the member requests from the database.
|
static MemberRequest |
removeByG_R_S(long groupId,
long receiverUserId,
int status)
Removes the member request where groupId = ? and receiverUserId = ? and status = ? from the database.
|
static MemberRequest |
removeByKey(java.lang.String key)
Removes the member request where key = ? from the database.
|
static void |
removeByR_S(long receiverUserId,
int status)
Removes all the member requests where receiverUserId = ? and status = ? from the database.
|
static void |
removeByReceiverUserId(long receiverUserId)
Removes all the member requests where receiverUserId = ? from the database.
|
static MemberRequest |
update(MemberRequest memberRequest) |
static MemberRequest |
update(MemberRequest memberRequest,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static MemberRequest |
updateImpl(MemberRequest memberRequest) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(MemberRequest memberRequest)
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.List<MemberRequest> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<MemberRequest> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<MemberRequest> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static MemberRequest update(MemberRequest memberRequest)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static MemberRequest update(MemberRequest memberRequest, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static MemberRequest findByKey(java.lang.String key) throws NoSuchMemberRequestException
NoSuchMemberRequestException
if it could not be found.key
- the keyNoSuchMemberRequestException
- if a matching member request could not be foundpublic static MemberRequest fetchByKey(java.lang.String key)
null
if it could not be found. Uses the finder cache.key
- the keynull
if a matching member request could not be foundpublic static MemberRequest fetchByKey(java.lang.String key, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.key
- the keyretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching member request could not be foundpublic static MemberRequest removeByKey(java.lang.String key) throws NoSuchMemberRequestException
key
- the keyNoSuchMemberRequestException
public static int countByKey(java.lang.String key)
key
- the keypublic static java.util.List<MemberRequest> findByReceiverUserId(long receiverUserId)
receiverUserId
- the receiver user IDpublic static java.util.List<MemberRequest> findByReceiverUserId(long receiverUserId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
receiverUserId
- the receiver user IDstart
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)public static java.util.List<MemberRequest> findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
receiverUserId
- the receiver user IDstart
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MemberRequest> findByReceiverUserId(long receiverUserId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
receiverUserId
- the receiver user IDstart
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MemberRequest findByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) throws NoSuchMemberRequestException
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMemberRequestException
- if a matching member request could not be foundpublic static MemberRequest fetchByReceiverUserId_First(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching member request could not be foundpublic static MemberRequest findByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) throws NoSuchMemberRequestException
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMemberRequestException
- if a matching member request could not be foundpublic static MemberRequest fetchByReceiverUserId_Last(long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
receiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching member request could not be foundpublic static MemberRequest[] findByReceiverUserId_PrevAndNext(long memberRequestId, long receiverUserId, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) throws NoSuchMemberRequestException
memberRequestId
- the primary key of the current member requestreceiverUserId
- the receiver user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMemberRequestException
- if a member request with the primary key could not be foundpublic static void removeByReceiverUserId(long receiverUserId)
receiverUserId
- the receiver user IDpublic static int countByReceiverUserId(long receiverUserId)
receiverUserId
- the receiver user IDpublic static java.util.List<MemberRequest> findByR_S(long receiverUserId, int status)
receiverUserId
- the receiver user IDstatus
- the statuspublic static java.util.List<MemberRequest> findByR_S(long receiverUserId, int status, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
receiverUserId
- the receiver user IDstatus
- the statusstart
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)public static java.util.List<MemberRequest> findByR_S(long receiverUserId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
receiverUserId
- the receiver user IDstatus
- the statusstart
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MemberRequest> findByR_S(long receiverUserId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
receiverUserId
- the receiver user IDstatus
- the statusstart
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static MemberRequest findByR_S_First(long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) throws NoSuchMemberRequestException
receiverUserId
- the receiver user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMemberRequestException
- if a matching member request could not be foundpublic static MemberRequest fetchByR_S_First(long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
receiverUserId
- the receiver user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching member request could not be foundpublic static MemberRequest findByR_S_Last(long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) throws NoSuchMemberRequestException
receiverUserId
- the receiver user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMemberRequestException
- if a matching member request could not be foundpublic static MemberRequest fetchByR_S_Last(long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator)
receiverUserId
- the receiver user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching member request could not be foundpublic static MemberRequest[] findByR_S_PrevAndNext(long memberRequestId, long receiverUserId, int status, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator) throws NoSuchMemberRequestException
memberRequestId
- the primary key of the current member requestreceiverUserId
- the receiver user IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchMemberRequestException
- if a member request with the primary key could not be foundpublic static void removeByR_S(long receiverUserId, int status)
receiverUserId
- the receiver user IDstatus
- the statuspublic static int countByR_S(long receiverUserId, int status)
receiverUserId
- the receiver user IDstatus
- the statuspublic static MemberRequest findByG_R_S(long groupId, long receiverUserId, int status) throws NoSuchMemberRequestException
NoSuchMemberRequestException
if it could not be found.groupId
- the group IDreceiverUserId
- the receiver user IDstatus
- the statusNoSuchMemberRequestException
- if a matching member request could not be foundpublic static MemberRequest fetchByG_R_S(long groupId, long receiverUserId, int status)
null
if it could not be found. Uses the finder cache.groupId
- the group IDreceiverUserId
- the receiver user IDstatus
- the statusnull
if a matching member request could not be foundpublic static MemberRequest fetchByG_R_S(long groupId, long receiverUserId, int status, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDreceiverUserId
- the receiver user IDstatus
- the statusretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching member request could not be foundpublic static MemberRequest removeByG_R_S(long groupId, long receiverUserId, int status) throws NoSuchMemberRequestException
groupId
- the group IDreceiverUserId
- the receiver user IDstatus
- the statusNoSuchMemberRequestException
public static int countByG_R_S(long groupId, long receiverUserId, int status)
groupId
- the group IDreceiverUserId
- the receiver user IDstatus
- the statuspublic static void cacheResult(MemberRequest memberRequest)
memberRequest
- the member requestpublic static void cacheResult(java.util.List<MemberRequest> memberRequests)
memberRequests
- the member requestspublic static MemberRequest create(long memberRequestId)
memberRequestId
- the primary key for the new member requestpublic static MemberRequest remove(long memberRequestId) throws NoSuchMemberRequestException
memberRequestId
- the primary key of the member requestNoSuchMemberRequestException
- if a member request with the primary key could not be foundpublic static MemberRequest updateImpl(MemberRequest memberRequest)
public static MemberRequest findByPrimaryKey(long memberRequestId) throws NoSuchMemberRequestException
NoSuchMemberRequestException
if it could not be found.memberRequestId
- the primary key of the member requestNoSuchMemberRequestException
- if a member request with the primary key could not be foundpublic static MemberRequest fetchByPrimaryKey(long memberRequestId)
null
if it could not be found.memberRequestId
- the primary key of the member requestnull
if a member request with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,MemberRequest> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<MemberRequest> findAll()
public static java.util.List<MemberRequest> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)public static java.util.List<MemberRequest> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<MemberRequest> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MemberRequest> orderByComparator, boolean retrieveFromCache)
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from MemberRequestModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of member requestsend
- the upper bound of the range of member requests (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static MemberRequestPersistence getPersistence()