com.liferay.portlet.tasks.service.impl
Class TasksReviewLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.tasks.service.base.TasksReviewLocalServiceBaseImpl
      extended by com.liferay.portlet.tasks.service.impl.TasksReviewLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tasks.service.TasksReviewLocalService

public class TasksReviewLocalServiceImpl
extends TasksReviewLocalServiceBaseImpl

View Source

Author:
Raymond Aug�, Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.tasks.service.base.TasksReviewLocalServiceBaseImpl
counterLocalService, counterService, socialActivityFinder, socialActivityLocalService, socialActivityPersistence, tasksProposalFinder, tasksProposalLocalService, tasksProposalPersistence, tasksProposalService, tasksReviewLocalService, tasksReviewPersistence, tasksReviewService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
TasksReviewLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.tasks.model.TasksReview addReview(long userId, long proposalId, long assignedByUserId, int stage)
           
 com.liferay.portlet.tasks.model.TasksReview approveReview(long userId, long proposalId, int stage)
           
 void deleteReview(long reviewId)
           
 void deleteReview(com.liferay.portlet.tasks.model.TasksReview review)
           
 void deleteReviews(long proposalId)
           
 com.liferay.portlet.tasks.model.TasksReview getReview(long reviewId)
           
 com.liferay.portlet.tasks.model.TasksReview getReview(long userId, long proposalId)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(long proposalId)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(long proposalId, int stage)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(long proposalId, int stage, boolean completed)
           
 java.util.List<com.liferay.portlet.tasks.model.TasksReview> getReviews(long proposalId, int stage, boolean completed, boolean rejected)
           
 com.liferay.portlet.tasks.model.TasksReview rejectReview(long userId, long proposalId, int stage)
           
protected  com.liferay.portlet.tasks.model.TasksReview updateReview(long userId, long proposalId, int stage, boolean rejected)
           
protected  void updateReviews(long proposalId, long assignedByUserId, int stage, java.util.Set<java.lang.Long> userIds)
           
 void updateReviews(long proposalId, long assignedByUserId, long[][] userIdsPerStage)
           
 
Methods inherited from class com.liferay.portlet.tasks.service.base.TasksReviewLocalServiceBaseImpl
addTasksReview, createTasksReview, deleteTasksReview, deleteTasksReview, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSocialActivityFinder, getSocialActivityLocalService, getSocialActivityPersistence, getTasksProposalFinder, getTasksProposalLocalService, getTasksProposalPersistence, getTasksProposalService, getTasksReview, getTasksReviewLocalService, getTasksReviewPersistence, getTasksReviews, getTasksReviewsCount, getTasksReviewService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setSocialActivityFinder, setSocialActivityLocalService, setSocialActivityPersistence, setTasksProposalFinder, setTasksProposalLocalService, setTasksProposalPersistence, setTasksProposalService, setTasksReviewLocalService, setTasksReviewPersistence, setTasksReviewService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateTasksReview
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksReviewLocalServiceImpl

public TasksReviewLocalServiceImpl()
Method Detail

addReview

public com.liferay.portlet.tasks.model.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

public com.liferay.portlet.tasks.model.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

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

deleteReview

public void deleteReview(com.liferay.portlet.tasks.model.TasksReview review)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteReviews

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

getReview

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

getReview

public com.liferay.portlet.tasks.model.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

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

getReviews

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

getReviews

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

getReviews

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

rejectReview

public com.liferay.portlet.tasks.model.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

public 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

updateReview

protected com.liferay.portlet.tasks.model.TasksReview updateReview(long userId,
                                                                   long proposalId,
                                                                   int stage,
                                                                   boolean rejected)
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateReviews

protected void updateReviews(long proposalId,
                             long assignedByUserId,
                             int stage,
                             java.util.Set<java.lang.Long> userIds)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException