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:
TasksReviewLocalServiceFactory, 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<TasksReview> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<TasksReview> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, 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 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,
                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<TasksReview> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<TasksReview> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                         int begin,
                                         int end)
                                         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.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

approveReview

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

deleteReview

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

deleteReview

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

deleteReviews

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

getReview

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

getReview

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

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,
                                              com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

rejectReview

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

updateReviews

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