001    /**
002     * Copyright (c) 2000-2011 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.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link OrgLaborService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       OrgLaborService
024     * @generated
025     */
026    public class OrgLaborServiceWrapper implements OrgLaborService {
027            public OrgLaborServiceWrapper(OrgLaborService orgLaborService) {
028                    _orgLaborService = orgLaborService;
029            }
030    
031            public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
032                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
033                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
034                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
038                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
039                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
040            }
041    
042            public void deleteOrgLabor(long orgLaborId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _orgLaborService.deleteOrgLabor(orgLaborId);
046            }
047    
048            public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException {
051                    return _orgLaborService.getOrgLabor(orgLaborId);
052            }
053    
054            public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
055                    long organizationId)
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException {
058                    return _orgLaborService.getOrgLabors(organizationId);
059            }
060    
061            public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
062                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
063                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
064                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
068                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
069                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
070            }
071    
072            public OrgLaborService getWrappedOrgLaborService() {
073                    return _orgLaborService;
074            }
075    
076            private OrgLaborService _orgLaborService;
077    }