com.liferay.portlet.tasks.service
Interface TasksReviewLocalService


public interface TasksReviewLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.tasks.service.impl.TasksReviewLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
TasksReviewLocalServiceUtil

Method Summary
 TasksReview addReview(long userId, long proposalId, long assignedByUserId, int stage)
           
 TasksReview addTasksReview(TasksReview tasksReview)
           
 TasksReview approveReview(long userId, long proposalId, int stage)
           
 void deleteReview(long reviewId)
           
 void deleteReview(TasksReview review)
           
 void deleteReviews(long proposalId)
           
 void deleteTasksReview(long reviewId)
           
 void deleteTasksReview(TasksReview tasksReview)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 TasksReview getReview(long reviewId)
           
 TasksReview getReview(long userId, long proposalId)
           
 java.util.List<TasksReview> getReviews(long proposalId)
           
 java.util.List<TasksReview> getReviews(long proposalId, int stage)
           
 java.util.List<TasksReview> getReviews(long proposalId, int stage, boolean completed)
           
 java.util.List<TasksReview> getReviews(long proposalId, int stage, boolean completed, boolean rejected)
           
 TasksReview getTasksReview(long reviewId)
           
 java.util.List<TasksReview> getTasksReviews(int start, int end)
           
 int getTasksReviewsCount()
           
 TasksReview rejectReview(long userId, long proposalId, int stage)
           
 void updateReviews(long proposalId, long assignedByUserId, long[][] userIdsPerStage)
           
 TasksReview updateTasksReview(TasksReview tasksReview)
           
 

Method Detail

addTasksReview

TasksReview addTasksReview(TasksReview tasksReview)
                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteTasksReview

void deleteTasksReview(long reviewId)
                       throws com.liferay.portal.SystemException,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteTasksReview

void deleteTasksReview(TasksReview tasksReview)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTasksReview

TasksReview getTasksReview(long reviewId)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getTasksReviews

java.util.List<TasksReview> getTasksReviews(int start,
                                            int end)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTasksReviewsCount

int getTasksReviewsCount()
                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateTasksReview

TasksReview updateTasksReview(TasksReview tasksReview)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addReview

TasksReview addReview(long userId,
                      long proposalId,
                      long assignedByUserId,
                      int stage)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

approveReview

TasksReview approveReview(long userId,
                          long proposalId,
                          int stage)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteReview

void deleteReview(long reviewId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteReview

void deleteReview(TasksReview review)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteReviews

void deleteReviews(long proposalId)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReview

TasksReview getReview(long reviewId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getReview

TasksReview getReview(long userId,
                      long proposalId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getReviews

java.util.List<TasksReview> getReviews(long proposalId)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReviews

java.util.List<TasksReview> getReviews(long proposalId,
                                       int stage)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReviews

java.util.List<TasksReview> getReviews(long proposalId,
                                       int stage,
                                       boolean completed)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReviews

java.util.List<TasksReview> getReviews(long proposalId,
                                       int stage,
                                       boolean completed,
                                       boolean rejected)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

rejectReview

TasksReview rejectReview(long userId,
                         long proposalId,
                         int stage)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateReviews

void updateReviews(long proposalId,
                   long assignedByUserId,
                   long[][] userIdsPerStage)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException