001    /**
002     * Copyright (c) 2000-present 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            @Override
034            public com.liferay.portal.model.OrgLabor addOrgLabor(long organizationId,
035                    long typeId, int sunOpen, int sunClose, int monOpen, int monClose,
036                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
037                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    return _orgLaborService.addOrgLabor(organizationId, typeId, sunOpen,
040                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
041                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
042            }
043    
044            @Override
045            public void deleteOrgLabor(long orgLaborId)
046                    throws com.liferay.portal.kernel.exception.PortalException {
047                    _orgLaborService.deleteOrgLabor(orgLaborId);
048            }
049    
050            /**
051            * Returns the OSGi service identifier.
052            *
053            * @return the OSGi service identifier
054            */
055            @Override
056            public java.lang.String getOSGiServiceIdentifier() {
057                    return _orgLaborService.getOSGiServiceIdentifier();
058            }
059    
060            @Override
061            public com.liferay.portal.model.OrgLabor getOrgLabor(long orgLaborId)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _orgLaborService.getOrgLabor(orgLaborId);
064            }
065    
066            @Override
067            public java.util.List<com.liferay.portal.model.OrgLabor> getOrgLabors(
068                    long organizationId)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    return _orgLaborService.getOrgLabors(organizationId);
071            }
072    
073            @Override
074            public com.liferay.portal.model.OrgLabor updateOrgLabor(long orgLaborId,
075                    long typeId, int sunOpen, int sunClose, int monOpen, int monClose,
076                    int tueOpen, int tueClose, int wedOpen, int wedClose, int thuOpen,
077                    int thuClose, int friOpen, int friClose, int satOpen, int satClose)
078                    throws com.liferay.portal.kernel.exception.PortalException {
079                    return _orgLaborService.updateOrgLabor(orgLaborId, typeId, sunOpen,
080                            sunClose, monOpen, monClose, tueOpen, tueClose, wedOpen, wedClose,
081                            thuOpen, thuClose, friOpen, friClose, satOpen, satClose);
082            }
083    
084            @Override
085            public OrgLaborService getWrappedService() {
086                    return _orgLaborService;
087            }
088    
089            @Override
090            public void setWrappedService(OrgLaborService orgLaborService) {
091                    _orgLaborService = orgLaborService;
092            }
093    
094            private OrgLaborService _orgLaborService;
095    }