com.liferay.portlet.tasks.service
Class TasksReviewLocalServiceUtil
java.lang.Object
com.liferay.portlet.tasks.service.TasksReviewLocalServiceUtil
public class TasksReviewLocalServiceUtil
- extends Object
This class provides static methods for the
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.
- See Also:
TasksReviewLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
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 TasksReview |
createTasksReview(long reviewId)
|
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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static TasksReview |
getReview(long reviewId)
|
static TasksReview |
getReview(long userId,
long proposalId)
|
static List<TasksReview> |
getReviews(long proposalId)
|
static List<TasksReview> |
getReviews(long proposalId,
int stage)
|
static List<TasksReview> |
getReviews(long proposalId,
int stage,
boolean completed)
|
static List<TasksReview> |
getReviews(long proposalId,
int stage,
boolean completed,
boolean rejected)
|
static TasksReviewLocalService |
getService()
|
static TasksReview |
getTasksReview(long reviewId)
|
static List<TasksReview> |
getTasksReviews(int start,
int end)
|
static int |
getTasksReviewsCount()
|
static TasksReview |
rejectReview(long userId,
long proposalId,
int stage)
|
void |
setService(TasksReviewLocalService service)
|
static void |
updateReviews(long proposalId,
long assignedByUserId,
long[][] userIdsPerStage)
|
static TasksReview |
updateTasksReview(TasksReview tasksReview)
|
static TasksReview |
updateTasksReview(TasksReview tasksReview,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TasksReviewLocalServiceUtil
public TasksReviewLocalServiceUtil()
addTasksReview
public static TasksReview addTasksReview(TasksReview tasksReview)
throws SystemException
- Throws:
SystemException
createTasksReview
public static TasksReview createTasksReview(long reviewId)
deleteTasksReview
public static void deleteTasksReview(long reviewId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTasksReview
public static void deleteTasksReview(TasksReview tasksReview)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getTasksReview
public static TasksReview getTasksReview(long reviewId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTasksReviews
public static List<TasksReview> getTasksReviews(int start,
int end)
throws SystemException
- Throws:
SystemException
getTasksReviewsCount
public static int getTasksReviewsCount()
throws SystemException
- Throws:
SystemException
updateTasksReview
public static TasksReview updateTasksReview(TasksReview tasksReview)
throws SystemException
- Throws:
SystemException
updateTasksReview
public static TasksReview updateTasksReview(TasksReview tasksReview,
boolean merge)
throws SystemException
- Throws:
SystemException
addReview
public static TasksReview addReview(long userId,
long proposalId,
long assignedByUserId,
int stage)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
approveReview
public static TasksReview approveReview(long userId,
long proposalId,
int stage)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteReview
public static void deleteReview(long reviewId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteReview
public static void deleteReview(TasksReview review)
throws SystemException
- Throws:
SystemException
deleteReviews
public static void deleteReviews(long proposalId)
throws SystemException
- Throws:
SystemException
getReview
public static TasksReview getReview(long reviewId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getReview
public static TasksReview getReview(long userId,
long proposalId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getReviews
public static List<TasksReview> getReviews(long proposalId)
throws SystemException
- Throws:
SystemException
getReviews
public static List<TasksReview> getReviews(long proposalId,
int stage)
throws SystemException
- Throws:
SystemException
getReviews
public static List<TasksReview> getReviews(long proposalId,
int stage,
boolean completed)
throws SystemException
- Throws:
SystemException
getReviews
public static List<TasksReview> getReviews(long proposalId,
int stage,
boolean completed,
boolean rejected)
throws SystemException
- Throws:
SystemException
rejectReview
public static TasksReview rejectReview(long userId,
long proposalId,
int stage)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateReviews
public static void updateReviews(long proposalId,
long assignedByUserId,
long[][] userIdsPerStage)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static TasksReviewLocalService getService()
setService
public void setService(TasksReviewLocalService service)