001
014
015 package com.liferay.portlet.tasks.service;
016
017
026 public class TasksProposalServiceWrapper implements TasksProposalService {
027 public TasksProposalServiceWrapper(
028 TasksProposalService tasksProposalService) {
029 _tasksProposalService = tasksProposalService;
030 }
031
032 public com.liferay.portlet.tasks.model.TasksProposal addProposal(
033 long groupId, java.lang.String className, java.lang.String classPK,
034 java.lang.String name, java.lang.String description, long reviewUserId,
035 boolean addCommunityPermissions, boolean addGuestPermissions)
036 throws com.liferay.portal.kernel.exception.PortalException,
037 com.liferay.portal.kernel.exception.SystemException {
038 return _tasksProposalService.addProposal(groupId, className, classPK,
039 name, description, reviewUserId, addCommunityPermissions,
040 addGuestPermissions);
041 }
042
043 public com.liferay.portlet.tasks.model.TasksProposal addProposal(
044 long groupId, java.lang.String className, java.lang.String classPK,
045 java.lang.String name, java.lang.String description, long reviewUserId,
046 java.lang.String[] communityPermissions,
047 java.lang.String[] guestPermissions)
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException {
050 return _tasksProposalService.addProposal(groupId, className, classPK,
051 name, description, reviewUserId, communityPermissions,
052 guestPermissions);
053 }
054
055 public void deleteProposal(long proposalId)
056 throws com.liferay.portal.kernel.exception.PortalException,
057 com.liferay.portal.kernel.exception.SystemException {
058 _tasksProposalService.deleteProposal(proposalId);
059 }
060
061 public com.liferay.portlet.tasks.model.TasksProposal updateProposal(
062 long proposalId, java.lang.String description, int dueDateMonth,
063 int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 return _tasksProposalService.updateProposal(proposalId, description,
067 dueDateMonth, dueDateDay, dueDateYear, dueDateHour, dueDateMinute);
068 }
069
070 public TasksProposalService getWrappedTasksProposalService() {
071 return _tasksProposalService;
072 }
073
074 private TasksProposalService _tasksProposalService;
075 }