001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.tasks.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link TasksProposalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       TasksProposalService
024     * @generated
025     */
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    }