1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.tasks.service;
16  
17  /**
18   * <a href="TasksProposalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link TasksProposalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       TasksProposalService
31   * @generated
32   */
33  public class TasksProposalServiceWrapper implements TasksProposalService {
34      public TasksProposalServiceWrapper(
35          TasksProposalService tasksProposalService) {
36          _tasksProposalService = tasksProposalService;
37      }
38  
39      public com.liferay.portlet.tasks.model.TasksProposal addProposal(
40          long groupId, java.lang.String className, java.lang.String classPK,
41          java.lang.String name, java.lang.String description, long reviewUserId,
42          boolean addCommunityPermissions, boolean addGuestPermissions)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException {
45          return _tasksProposalService.addProposal(groupId, className, classPK,
46              name, description, reviewUserId, addCommunityPermissions,
47              addGuestPermissions);
48      }
49  
50      public com.liferay.portlet.tasks.model.TasksProposal addProposal(
51          long groupId, java.lang.String className, java.lang.String classPK,
52          java.lang.String name, java.lang.String description, long reviewUserId,
53          java.lang.String[] communityPermissions,
54          java.lang.String[] guestPermissions)
55          throws com.liferay.portal.PortalException,
56              com.liferay.portal.SystemException {
57          return _tasksProposalService.addProposal(groupId, className, classPK,
58              name, description, reviewUserId, communityPermissions,
59              guestPermissions);
60      }
61  
62      public void deleteProposal(long proposalId)
63          throws com.liferay.portal.PortalException,
64              com.liferay.portal.SystemException {
65          _tasksProposalService.deleteProposal(proposalId);
66      }
67  
68      public com.liferay.portlet.tasks.model.TasksProposal updateProposal(
69          long proposalId, java.lang.String description, int dueDateMonth,
70          int dueDateDay, int dueDateYear, int dueDateHour, int dueDateMinute)
71          throws com.liferay.portal.PortalException,
72              com.liferay.portal.SystemException {
73          return _tasksProposalService.updateProposal(proposalId, description,
74              dueDateMonth, dueDateDay, dueDateYear, dueDateHour, dueDateMinute);
75      }
76  
77      public TasksProposalService getWrappedTasksProposalService() {
78          return _tasksProposalService;
79      }
80  
81      private TasksProposalService _tasksProposalService;
82  }