|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.tasks.service.TasksReviewLocalServiceWrapper
public class TasksReviewLocalServiceWrapper
This class is a wrapper for TasksReviewLocalService.
TasksReviewLocalService| Constructor Summary | |
|---|---|
TasksReviewLocalServiceWrapper(TasksReviewLocalService tasksReviewLocalService)
|
|
| Method Summary | |
|---|---|
TasksReview |
addReview(long userId,
long proposalId,
long assignedByUserId,
int stage)
|
TasksReview |
addTasksReview(TasksReview tasksReview)
Adds the tasks review to the database. |
TasksReview |
approveReview(long userId,
long proposalId,
int stage)
|
TasksReview |
createTasksReview(long reviewId)
Creates a new tasks review with the primary key. |
void |
deleteReview(long reviewId)
|
void |
deleteReview(TasksReview review)
|
void |
deleteReviews(long proposalId)
|
void |
deleteTasksReview(long reviewId)
Deletes the tasks review with the primary key from the database. |
void |
deleteTasksReview(TasksReview tasksReview)
Deletes the tasks review from the database. |
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
TasksReview |
getReview(long reviewId)
|
TasksReview |
getReview(long userId,
long proposalId)
|
List<TasksReview> |
getReviews(long proposalId)
|
List<TasksReview> |
getReviews(long proposalId,
int stage)
|
List<TasksReview> |
getReviews(long proposalId,
int stage,
boolean completed)
|
List<TasksReview> |
getReviews(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
TasksReview |
getTasksReview(long reviewId)
Returns the tasks review with the primary key. |
List<TasksReview> |
getTasksReviews(int start,
int end)
Returns a range of all the tasks reviews. |
int |
getTasksReviewsCount()
Returns the number of tasks reviews. |
TasksReviewLocalService |
getWrappedTasksReviewLocalService()
|
TasksReview |
rejectReview(long userId,
long proposalId,
int stage)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedTasksReviewLocalService(TasksReviewLocalService tasksReviewLocalService)
|
void |
updateReviews(long proposalId,
long assignedByUserId,
long[][] userIdsPerStage)
|
TasksReview |
updateTasksReview(TasksReview tasksReview)
Updates the tasks review in the database or adds it if it does not yet exist. |
TasksReview |
updateTasksReview(TasksReview tasksReview,
boolean merge)
Updates the tasks review in the database or adds it if it does not yet exist. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TasksReviewLocalServiceWrapper(TasksReviewLocalService tasksReviewLocalService)
| Method Detail |
|---|
public TasksReview addTasksReview(TasksReview tasksReview)
throws SystemException
addTasksReview in interface TasksReviewLocalServicetasksReview - the tasks review
SystemException - if a system exception occurredpublic TasksReview createTasksReview(long reviewId)
createTasksReview in interface TasksReviewLocalServicereviewId - the primary key for the new tasks review
public void deleteTasksReview(long reviewId)
throws PortalException,
SystemException
deleteTasksReview in interface TasksReviewLocalServicereviewId - the primary key of the tasks review
PortalException - if a tasks review with the primary key could not be found
SystemException - if a system exception occurred
public void deleteTasksReview(TasksReview tasksReview)
throws SystemException
deleteTasksReview in interface TasksReviewLocalServicetasksReview - the tasks review
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface TasksReviewLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
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.
dynamicQuery in interface TasksReviewLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery,
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.
dynamicQuery in interface TasksReviewLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface TasksReviewLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public TasksReview getTasksReview(long reviewId)
throws PortalException,
SystemException
getTasksReview in interface TasksReviewLocalServicereviewId - the primary key of the tasks review
PortalException - if a tasks review with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface TasksReviewLocalServicePortalException
SystemException
public List<TasksReview> getTasksReviews(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.
getTasksReviews in interface TasksReviewLocalServicestart - the lower bound of the range of tasks reviewsend - the upper bound of the range of tasks reviews (not inclusive)
SystemException - if a system exception occurred
public int getTasksReviewsCount()
throws SystemException
getTasksReviewsCount in interface TasksReviewLocalServiceSystemException - if a system exception occurred
public TasksReview updateTasksReview(TasksReview tasksReview)
throws SystemException
updateTasksReview in interface TasksReviewLocalServicetasksReview - the tasks review
SystemException - if a system exception occurred
public TasksReview updateTasksReview(TasksReview tasksReview,
boolean merge)
throws SystemException
updateTasksReview in interface TasksReviewLocalServicetasksReview - the tasks reviewmerge - whether to merge the tasks review with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface TasksReviewLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface TasksReviewLocalServicebeanIdentifier - the Spring bean ID for this bean
public TasksReview addReview(long userId,
long proposalId,
long assignedByUserId,
int stage)
throws PortalException,
SystemException
addReview in interface TasksReviewLocalServicePortalException
SystemException
public TasksReview approveReview(long userId,
long proposalId,
int stage)
throws PortalException,
SystemException
approveReview in interface TasksReviewLocalServicePortalException
SystemException
public void deleteReview(long reviewId)
throws PortalException,
SystemException
deleteReview in interface TasksReviewLocalServicePortalException
SystemException
public void deleteReview(TasksReview review)
throws SystemException
deleteReview in interface TasksReviewLocalServiceSystemException
public void deleteReviews(long proposalId)
throws SystemException
deleteReviews in interface TasksReviewLocalServiceSystemException
public TasksReview getReview(long reviewId)
throws PortalException,
SystemException
getReview in interface TasksReviewLocalServicePortalException
SystemException
public TasksReview getReview(long userId,
long proposalId)
throws PortalException,
SystemException
getReview in interface TasksReviewLocalServicePortalException
SystemException
public List<TasksReview> getReviews(long proposalId)
throws SystemException
getReviews in interface TasksReviewLocalServiceSystemException
public List<TasksReview> getReviews(long proposalId,
int stage)
throws SystemException
getReviews in interface TasksReviewLocalServiceSystemException
public List<TasksReview> getReviews(long proposalId,
int stage,
boolean completed)
throws SystemException
getReviews in interface TasksReviewLocalServiceSystemException
public List<TasksReview> getReviews(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws SystemException
getReviews in interface TasksReviewLocalServiceSystemException
public TasksReview rejectReview(long userId,
long proposalId,
int stage)
throws PortalException,
SystemException
rejectReview in interface TasksReviewLocalServicePortalException
SystemException
public void updateReviews(long proposalId,
long assignedByUserId,
long[][] userIdsPerStage)
throws PortalException,
SystemException
updateReviews in interface TasksReviewLocalServicePortalException
SystemExceptionpublic TasksReviewLocalService getWrappedTasksReviewLocalService()
public void setWrappedTasksReviewLocalService(TasksReviewLocalService tasksReviewLocalService)
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||