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            /**
053            * Returns the Spring bean ID for this bean.
054            *
055            * @return the Spring bean ID for this bean
056            */
057            @Override
058            public java.lang.String getBeanIdentifier() {
059                    return _layoutSetBranchService.getBeanIdentifier();
060            }
061    
062            @Override
063            public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
064                    long groupId, boolean privateLayout) {
065                    return _layoutSetBranchService.getLayoutSetBranches(groupId,
066                            privateLayout);
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            /**
079            * Sets the Spring bean ID for this bean.
080            *
081            * @param beanIdentifier the Spring bean ID for this bean
082            */
083            @Override
084            public void setBeanIdentifier(java.lang.String beanIdentifier) {
085                    _layoutSetBranchService.setBeanIdentifier(beanIdentifier);
086            }
087    
088            @Override
089            public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
090                    long groupId, long layoutSetBranchId, java.lang.String name,
091                    java.lang.String description,
092                    com.liferay.portal.service.ServiceContext serviceContext)
093                    throws com.liferay.portal.kernel.exception.PortalException {
094                    return _layoutSetBranchService.updateLayoutSetBranch(groupId,
095                            layoutSetBranchId, name, description, serviceContext);
096            }
097    
098            /**
099             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
100             */
101            @Deprecated
102            public LayoutSetBranchService getWrappedLayoutSetBranchService() {
103                    return _layoutSetBranchService;
104            }
105    
106            /**
107             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
108             */
109            @Deprecated
110            public void setWrappedLayoutSetBranchService(
111                    LayoutSetBranchService layoutSetBranchService) {
112                    _layoutSetBranchService = layoutSetBranchService;
113            }
114    
115            @Override
116            public LayoutSetBranchService getWrappedService() {
117                    return _layoutSetBranchService;
118            }
119    
120            @Override
121            public void setWrappedService(LayoutSetBranchService layoutSetBranchService) {
122                    _layoutSetBranchService = layoutSetBranchService;
123            }
124    
125            private LayoutSetBranchService _layoutSetBranchService;
126    }