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.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link LayoutSetBranchService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutSetBranchService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutSetBranchServiceWrapper implements LayoutSetBranchService,
028            ServiceWrapper<LayoutSetBranchService> {
029            public LayoutSetBranchServiceWrapper(
030                    LayoutSetBranchService layoutSetBranchService) {
031                    _layoutSetBranchService = layoutSetBranchService;
032            }
033    
034            @Override
035            public com.liferay.portal.kernel.model.LayoutSetBranch addLayoutSetBranch(
036                    long groupId, boolean privateLayout, java.lang.String name,
037                    java.lang.String description, boolean master,
038                    long copyLayoutSetBranchId, ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _layoutSetBranchService.addLayoutSetBranch(groupId,
041                            privateLayout, name, description, master, copyLayoutSetBranchId,
042                            serviceContext);
043            }
044    
045            @Override
046            public com.liferay.portal.kernel.model.LayoutSetBranch mergeLayoutSetBranch(
047                    long layoutSetBranchId, long mergeLayoutSetBranchId,
048                    ServiceContext serviceContext)
049                    throws com.liferay.portal.kernel.exception.PortalException {
050                    return _layoutSetBranchService.mergeLayoutSetBranch(layoutSetBranchId,
051                            mergeLayoutSetBranchId, serviceContext);
052            }
053    
054            @Override
055            public com.liferay.portal.kernel.model.LayoutSetBranch updateLayoutSetBranch(
056                    long groupId, long layoutSetBranchId, java.lang.String name,
057                    java.lang.String description, ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException {
059                    return _layoutSetBranchService.updateLayoutSetBranch(groupId,
060                            layoutSetBranchId, name, description, serviceContext);
061            }
062    
063            /**
064            * Returns the OSGi service identifier.
065            *
066            * @return the OSGi service identifier
067            */
068            @Override
069            public java.lang.String getOSGiServiceIdentifier() {
070                    return _layoutSetBranchService.getOSGiServiceIdentifier();
071            }
072    
073            @Override
074            public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> getLayoutSetBranches(
075                    long groupId, boolean privateLayout) {
076                    return _layoutSetBranchService.getLayoutSetBranches(groupId,
077                            privateLayout);
078            }
079    
080            @Override
081            public void deleteLayoutSetBranch(long layoutSetBranchId)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    _layoutSetBranchService.deleteLayoutSetBranch(layoutSetBranchId);
084            }
085    
086            @Override
087            public LayoutSetBranchService getWrappedService() {
088                    return _layoutSetBranchService;
089            }
090    
091            @Override
092            public void setWrappedService(LayoutSetBranchService layoutSetBranchService) {
093                    _layoutSetBranchService = layoutSetBranchService;
094            }
095    
096            private LayoutSetBranchService _layoutSetBranchService;
097    }