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 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.model.LayoutSetBranch addLayoutSetBranch(
036                    long groupId, boolean privateLayout, java.lang.String name,
037                    java.lang.String description, boolean master,
038                    long copyLayoutSetBranchId,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _layoutSetBranchService.addLayoutSetBranch(groupId,
042                            privateLayout, name, description, master, copyLayoutSetBranchId,
043                            serviceContext);
044            }
045    
046            @Override
047            public void deleteLayoutSetBranch(long layoutSetBranchId)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    _layoutSetBranchService.deleteLayoutSetBranch(layoutSetBranchId);
050            }
051    
052            @Override
053            public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
054                    long groupId, boolean privateLayout) {
055                    return _layoutSetBranchService.getLayoutSetBranches(groupId,
056                            privateLayout);
057            }
058    
059            /**
060            * Returns the OSGi service identifier.
061            *
062            * @return the OSGi service identifier
063            */
064            @Override
065            public java.lang.String getOSGiServiceIdentifier() {
066                    return _layoutSetBranchService.getOSGiServiceIdentifier();
067            }
068    
069            @Override
070            public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
071                    long layoutSetBranchId, long mergeLayoutSetBranchId,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    return _layoutSetBranchService.mergeLayoutSetBranch(layoutSetBranchId,
075                            mergeLayoutSetBranchId, serviceContext);
076            }
077    
078            @Override
079            public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
080                    long groupId, long layoutSetBranchId, java.lang.String name,
081                    java.lang.String description,
082                    com.liferay.portal.service.ServiceContext serviceContext)
083                    throws com.liferay.portal.kernel.exception.PortalException {
084                    return _layoutSetBranchService.updateLayoutSetBranch(groupId,
085                            layoutSetBranchId, name, description, serviceContext);
086            }
087    
088            @Override
089            public LayoutSetBranchService getWrappedService() {
090                    return _layoutSetBranchService;
091            }
092    
093            @Override
094            public void setWrappedService(LayoutSetBranchService layoutSetBranchService) {
095                    _layoutSetBranchService = layoutSetBranchService;
096            }
097    
098            private LayoutSetBranchService _layoutSetBranchService;
099    }