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