001    /**
002     * Copyright (c) 2000-2013 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            ServiceWrapper<OrgLaborService> {
028            public OrgLaborServiceWrapper(OrgLaborService orgLaborService) {
029                    _orgLaborService = orgLaborService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            public java.lang.String getBeanIdentifier() {
038                    return _orgLaborService.getBeanIdentifier();
039            }
040    
041            /**
042            * Sets the Spring bean ID for this bean.
043            *
044            * @param beanIdentifier the Spring bean ID for this bean
045            */
046            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _orgLaborService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
051                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
052                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
053                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
057                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
058                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
059            }
060    
061            public void deleteOrgLabor(long orgLaborId)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    _orgLaborService.deleteOrgLabor(orgLaborId);
065            }
066    
067            public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _orgLaborService.getOrgLabor(orgLaborId);
071            }
072    
073            public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
074                    long organizationId)
075                    throws com.liferay.portal.kernel.exception.PortalException,
076                            com.liferay.portal.kernel.exception.SystemException {
077                    return _orgLaborService.getOrgLabors(organizationId);
078            }
079    
080            public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
081                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
082                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
083                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
084                    throws com.liferay.portal.kernel.exception.PortalException,
085                            com.liferay.portal.kernel.exception.SystemException {
086                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
087                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
088                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
089            }
090    
091            /**
092             * @deprecated Renamed to {@link #getWrappedService}
093             */
094            public OrgLaborService getWrappedOrgLaborService() {
095                    return _orgLaborService;
096            }
097    
098            /**
099             * @deprecated Renamed to {@link #setWrappedService}
100             */
101            public void setWrappedOrgLaborService(OrgLaborService orgLaborService) {
102                    _orgLaborService = orgLaborService;
103            }
104    
105            public OrgLaborService getWrappedService() {
106                    return _orgLaborService;
107            }
108    
109            public void setWrappedService(OrgLaborService orgLaborService) {
110                    _orgLaborService = orgLaborService;
111            }
112    
113            private OrgLaborService _orgLaborService;
114    }