|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TasksReviewPersistence
The persistence interface for the tasks review service.
Never modify or reference this interface directly. Always use TasksReviewUtil
to access the tasks review persistence. Modify service.xml
and rerun ServiceBuilder to regenerate this interface.
Caching information and settings can be found in portal.properties
TasksReviewPersistenceImpl
,
TasksReviewUtil
Method Summary | |
---|---|
void |
cacheResult(List<TasksReview> tasksReviews)
Caches the tasks reviews in the entity cache if it is enabled. |
void |
cacheResult(TasksReview tasksReview)
Caches the tasks review in the entity cache if it is enabled. |
int |
countAll()
Counts all the tasks reviews. |
int |
countByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
Counts all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
int |
countByP_S_C(long proposalId,
int stage,
boolean completed)
Counts all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
int |
countByP_S(long proposalId,
int stage)
Counts all the tasks reviews where proposalId = ? and stage = ?. |
int |
countByProposalId(long proposalId)
Counts all the tasks reviews where proposalId = ?. |
int |
countByU_P(long userId,
long proposalId)
Counts all the tasks reviews where userId = ? and proposalId = ?. |
int |
countByUserId(long userId)
Counts all the tasks reviews where userId = ?. |
TasksReview |
create(long reviewId)
Creates a new tasks review with the primary key. |
TasksReview |
fetchByPrimaryKey(long reviewId)
Finds the tasks review with the primary key or returns null if it could not be found. |
TasksReview |
fetchByU_P(long userId,
long proposalId)
Finds the tasks review where userId = ? and proposalId = ? or returns null if it could not be found. |
TasksReview |
fetchByU_P(long userId,
long proposalId,
boolean retrieveFromCache)
Finds the tasks review where userId = ? and proposalId = ? or returns null if it could not be found, optionally using the finder cache. |
List<TasksReview> |
findAll()
Finds all the tasks reviews. |
List<TasksReview> |
findAll(int start,
int end)
Finds a range of all the tasks reviews. |
List<TasksReview> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews. |
TasksReview |
findByP_S_C_First(long proposalId,
int stage,
boolean completed,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ? and stage = ? and completed = ?. |
TasksReview |
findByP_S_C_Last(long proposalId,
int stage,
boolean completed,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ? and stage = ? and completed = ?. |
TasksReview[] |
findByP_S_C_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ? and stage = ? and completed = ?. |
TasksReview |
findByP_S_C_R_First(long proposalId,
int stage,
boolean completed,
boolean rejected,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
TasksReview |
findByP_S_C_R_Last(long proposalId,
int stage,
boolean completed,
boolean rejected,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
TasksReview[] |
findByP_S_C_R_PrevAndNext(long reviewId,
long proposalId,
int stage,
boolean completed,
boolean rejected,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
Finds all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ?. |
List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed)
Finds all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
List<TasksReview> |
findByP_S_C(long proposalId,
int stage,
boolean completed,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ? and stage = ? and completed = ?. |
TasksReview |
findByP_S_First(long proposalId,
int stage,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ? and stage = ?. |
TasksReview |
findByP_S_Last(long proposalId,
int stage,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ? and stage = ?. |
TasksReview[] |
findByP_S_PrevAndNext(long reviewId,
long proposalId,
int stage,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ? and stage = ?. |
List<TasksReview> |
findByP_S(long proposalId,
int stage)
Finds all the tasks reviews where proposalId = ? and stage = ?. |
List<TasksReview> |
findByP_S(long proposalId,
int stage,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ? and stage = ?. |
List<TasksReview> |
findByP_S(long proposalId,
int stage,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ? and stage = ?. |
TasksReview |
findByPrimaryKey(long reviewId)
Finds the tasks review with the primary key or throws a NoSuchReviewException if it could not be found. |
TasksReview |
findByProposalId_First(long proposalId,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where proposalId = ?. |
TasksReview |
findByProposalId_Last(long proposalId,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where proposalId = ?. |
TasksReview[] |
findByProposalId_PrevAndNext(long reviewId,
long proposalId,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where proposalId = ?. |
List<TasksReview> |
findByProposalId(long proposalId)
Finds all the tasks reviews where proposalId = ?. |
List<TasksReview> |
findByProposalId(long proposalId,
int start,
int end)
Finds a range of all the tasks reviews where proposalId = ?. |
List<TasksReview> |
findByProposalId(long proposalId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where proposalId = ?. |
TasksReview |
findByU_P(long userId,
long proposalId)
Finds the tasks review where userId = ? and proposalId = ? or throws a NoSuchReviewException if it could not be found. |
TasksReview |
findByUserId_First(long userId,
OrderByComparator orderByComparator)
Finds the first tasks review in the ordered set where userId = ?. |
TasksReview |
findByUserId_Last(long userId,
OrderByComparator orderByComparator)
Finds the last tasks review in the ordered set where userId = ?. |
TasksReview[] |
findByUserId_PrevAndNext(long reviewId,
long userId,
OrderByComparator orderByComparator)
Finds the tasks reviews before and after the current tasks review in the ordered set where userId = ?. |
List<TasksReview> |
findByUserId(long userId)
Finds all the tasks reviews where userId = ?. |
List<TasksReview> |
findByUserId(long userId,
int start,
int end)
Finds a range of all the tasks reviews where userId = ?. |
List<TasksReview> |
findByUserId(long userId,
int start,
int end,
OrderByComparator orderByComparator)
Finds an ordered range of all the tasks reviews where userId = ?. |
TasksReview |
remove(long reviewId)
Removes the tasks review with the primary key from the database. |
void |
removeAll()
Removes all the tasks reviews from the database. |
void |
removeByP_S_C_R(long proposalId,
int stage,
boolean completed,
boolean rejected)
Removes all the tasks reviews where proposalId = ? and stage = ? and completed = ? and rejected = ? from the database. |
void |
removeByP_S_C(long proposalId,
int stage,
boolean completed)
Removes all the tasks reviews where proposalId = ? and stage = ? and completed = ? from the database. |
void |
removeByP_S(long proposalId,
int stage)
Removes all the tasks reviews where proposalId = ? and stage = ? from the database. |
void |
removeByProposalId(long proposalId)
Removes all the tasks reviews where proposalId = ? from the database. |
void |
removeByU_P(long userId,
long proposalId)
Removes the tasks review where userId = ? and proposalId = ? from the database. |
void |
removeByUserId(long userId)
Removes all the tasks reviews where userId = ? from the database. |
TasksReview |
updateImpl(TasksReview tasksReview,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
---|
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update, update |
Method Detail |
---|
void cacheResult(TasksReview tasksReview)
tasksReview
- the tasks review to cachevoid cacheResult(List<TasksReview> tasksReviews)
tasksReviews
- the tasks reviews to cacheTasksReview create(long reviewId)
reviewId
- the primary key for the new tasks review
TasksReview remove(long reviewId) throws SystemException, NoSuchReviewException
reviewId
- the primary key of the tasks review to remove
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredTasksReview updateImpl(TasksReview tasksReview, boolean merge) throws SystemException
SystemException
TasksReview findByPrimaryKey(long reviewId) throws SystemException, NoSuchReviewException
NoSuchReviewException
if it could not be found.
reviewId
- the primary key of the tasks review to find
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredTasksReview fetchByPrimaryKey(long reviewId) throws SystemException
null
if it could not be found.
reviewId
- the primary key of the tasks review to find
null
if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredList<TasksReview> findByUserId(long userId) throws SystemException
userId
- the user id to search with
SystemException
- if a system exception occurredList<TasksReview> findByUserId(long userId, int start, int end) throws SystemException
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.
userId
- the user id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredList<TasksReview> findByUserId(long userId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
userId
- the user id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredTasksReview findByUserId_First(long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview findByUserId_Last(long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
userId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview[] findByUserId_PrevAndNext(long reviewId, long userId, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
reviewId
- the primary key of the current tasks reviewuserId
- the user id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredList<TasksReview> findByProposalId(long proposalId) throws SystemException
proposalId
- the proposal id to search with
SystemException
- if a system exception occurredList<TasksReview> findByProposalId(long proposalId, int start, int end) throws SystemException
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.
proposalId
- the proposal id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredList<TasksReview> findByProposalId(long proposalId, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
proposalId
- the proposal id to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredTasksReview findByProposalId_First(long proposalId, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview findByProposalId_Last(long proposalId, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview[] findByProposalId_PrevAndNext(long reviewId, long proposalId, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredTasksReview findByU_P(long userId, long proposalId) throws SystemException, NoSuchReviewException
NoSuchReviewException
if it could not be found.
userId
- the user id to search withproposalId
- the proposal id to search with
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview fetchByU_P(long userId, long proposalId) throws SystemException
null
if it could not be found. Uses the finder cache.
userId
- the user id to search withproposalId
- the proposal id to search with
null
if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview fetchByU_P(long userId, long proposalId, boolean retrieveFromCache) throws SystemException
null
if it could not be found, optionally using the finder cache.
userId
- the user id to search withproposalId
- the proposal id to search with
null
if a matching tasks review could not be found
SystemException
- if a system exception occurredList<TasksReview> findByP_S(long proposalId, int stage) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search with
SystemException
- if a system exception occurredList<TasksReview> findByP_S(long proposalId, int stage, int start, int end) throws SystemException
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.
proposalId
- the proposal id to search withstage
- the stage to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredList<TasksReview> findByP_S(long proposalId, int stage, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
proposalId
- the proposal id to search withstage
- the stage to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredTasksReview findByP_S_First(long proposalId, int stage, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withstage
- the stage to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview findByP_S_Last(long proposalId, int stage, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withstage
- the stage to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview[] findByP_S_PrevAndNext(long reviewId, long proposalId, int stage, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withstage
- the stage to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredList<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search with
SystemException
- if a system exception occurredList<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end) throws SystemException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredList<TasksReview> findByP_S_C(long proposalId, int stage, boolean completed, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredTasksReview findByP_S_C_First(long proposalId, int stage, boolean completed, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview findByP_S_C_Last(long proposalId, int stage, boolean completed, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview[] findByP_S_C_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredList<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search with
SystemException
- if a system exception occurredList<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end) throws SystemException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredList<TasksReview> findByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withstart
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredTasksReview findByP_S_C_R_First(long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview findByP_S_C_R_Last(long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a matching tasks review could not be found
SystemException
- if a system exception occurredTasksReview[] findByP_S_C_R_PrevAndNext(long reviewId, long proposalId, int stage, boolean completed, boolean rejected, OrderByComparator orderByComparator) throws SystemException, NoSuchReviewException
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.
reviewId
- the primary key of the current tasks reviewproposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search withorderByComparator
- the comparator to order the set by
NoSuchReviewException
- if a tasks review with the primary key could not be found
SystemException
- if a system exception occurredList<TasksReview> findAll() throws SystemException
SystemException
- if a system exception occurredList<TasksReview> findAll(int start, int end) throws SystemException
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.
start
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)
SystemException
- if a system exception occurredList<TasksReview> findAll(int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
start
- the lower bound of the range of tasks reviews to returnend
- the upper bound of the range of tasks reviews to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredvoid removeByUserId(long userId) throws SystemException
userId
- the user id to search with
SystemException
- if a system exception occurredvoid removeByProposalId(long proposalId) throws SystemException
proposalId
- the proposal id to search with
SystemException
- if a system exception occurredvoid removeByU_P(long userId, long proposalId) throws SystemException, NoSuchReviewException
userId
- the user id to search withproposalId
- the proposal id to search with
SystemException
- if a system exception occurred
NoSuchReviewException
void removeByP_S(long proposalId, int stage) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search with
SystemException
- if a system exception occurredvoid removeByP_S_C(long proposalId, int stage, boolean completed) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search with
SystemException
- if a system exception occurredvoid removeByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search with
SystemException
- if a system exception occurredvoid removeAll() throws SystemException
SystemException
- if a system exception occurredint countByUserId(long userId) throws SystemException
userId
- the user id to search with
SystemException
- if a system exception occurredint countByProposalId(long proposalId) throws SystemException
proposalId
- the proposal id to search with
SystemException
- if a system exception occurredint countByU_P(long userId, long proposalId) throws SystemException
userId
- the user id to search withproposalId
- the proposal id to search with
SystemException
- if a system exception occurredint countByP_S(long proposalId, int stage) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search with
SystemException
- if a system exception occurredint countByP_S_C(long proposalId, int stage, boolean completed) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search with
SystemException
- if a system exception occurredint countByP_S_C_R(long proposalId, int stage, boolean completed, boolean rejected) throws SystemException
proposalId
- the proposal id to search withstage
- the stage to search withcompleted
- the completed to search withrejected
- the rejected to search with
SystemException
- if a system exception occurredint countAll() throws SystemException
SystemException
- if a system exception occurred
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |