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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link OrgLaborService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see OrgLaborService
024     * @generated
025     */
026    @ProviderType
027    public class OrgLaborServiceWrapper implements OrgLaborService,
028            ServiceWrapper<OrgLaborService> {
029            public OrgLaborServiceWrapper(OrgLaborService orgLaborService) {
030                    _orgLaborService = orgLaborService;
031            }
032    
033            /**
034            * Returns the Spring bean ID for this bean.
035            *
036            * @return the Spring bean ID for this bean
037            */
038            @Override
039            public java.lang.String getBeanIdentifier() {
040                    return _orgLaborService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            @Override
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _orgLaborService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            @Override
054            public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
055                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
056                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
057                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
061                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
062                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
063            }
064    
065            @Override
066            public void deleteOrgLabor(long orgLaborId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    _orgLaborService.deleteOrgLabor(orgLaborId);
070            }
071    
072            @Override
073            public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _orgLaborService.getOrgLabor(orgLaborId);
077            }
078    
079            @Override
080            public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
081                    long organizationId)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _orgLaborService.getOrgLabors(organizationId);
085            }
086    
087            @Override
088            public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
089                    int typeId, int sunOpen, int sunClose, int monOpen, int monClose,
090                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
091                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
095                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
096                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
097            }
098    
099            /**
100             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
101             */
102            public OrgLaborService getWrappedOrgLaborService() {
103                    return _orgLaborService;
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
108             */
109            public void setWrappedOrgLaborService(OrgLaborService orgLaborService) {
110                    _orgLaborService = orgLaborService;
111            }
112    
113            @Override
114            public OrgLaborService getWrappedService() {
115                    return _orgLaborService;
116            }
117    
118            @Override
119            public void setWrappedService(OrgLaborService orgLaborService) {
120                    _orgLaborService = orgLaborService;
121            }
122    
123            private OrgLaborService _orgLaborService;
124    }