001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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    }