com.liferay.portlet.tasks.service
Class TasksReviewLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.tasks.service.TasksReviewLocalServiceUtil

public class TasksReviewLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.tasks.service.TasksReviewLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.tasks.service.TasksReviewLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
TasksReviewLocalService, TasksReviewLocalServiceFactory

Constructor Summary
TasksReviewLocalServiceUtil()
           
 
Method Summary
static TasksReview addReview(long userId, long proposalId, long assignedByUserId, int stage)
           
static TasksReview addTasksReview(TasksReview tasksReview)
           
static TasksReview approveReview(long userId, long proposalId, int stage)
           
static void deleteReview(long reviewId)
           
static void deleteReview(TasksReview review)
           
static void deleteReviews(long proposalId)
           
static void deleteTasksReview(long reviewId)
           
static void deleteTasksReview(TasksReview tasksReview)
           
static java.util.List<TasksReview> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List<TasksReview> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static TasksReview getReview(long reviewId)
           
static TasksReview getReview(long userId, long proposalId)
           
static java.util.List<TasksReview> getReviews(long proposalId)
           
static java.util.List<TasksReview> getReviews(long proposalId, int stage)
           
static java.util.List<TasksReview> getReviews(long proposalId, int stage, boolean completed)
           
static java.util.List<TasksReview> getReviews(long proposalId, int stage, boolean completed, boolean rejected)
           
static TasksReview rejectReview(long userId, long proposalId, int stage)
           
static void updateReviews(long proposalId, long assignedByUserId, long[][] userIdsPerStage)
           
static TasksReview updateTasksReview(TasksReview tasksReview)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksReviewLocalServiceUtil

public TasksReviewLocalServiceUtil()
Method Detail

addTasksReview

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

deleteTasksReview

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

deleteTasksReview

public static void deleteTasksReview(TasksReview tasksReview)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

dynamicQuery

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

dynamicQuery

public static 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

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

addReview

public static 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 static 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 static void deleteReview(long reviewId)
                         throws com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteReview

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

deleteReviews

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

getReview

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

getReview

public static 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 static java.util.List<TasksReview> getReviews(long proposalId)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getReviews

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

getReviews

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

getReviews

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

rejectReview

public static 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 static 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