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    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            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _layoutSetBranchService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _layoutSetBranchService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            @Override
055            public com.liferay.portal.model.LayoutSetBranch addLayoutSetBranch(
056                    long groupId, boolean privateLayout, java.lang.String name,
057                    java.lang.String description, boolean master,
058                    long copyLayoutSetBranchId,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _layoutSetBranchService.addLayoutSetBranch(groupId,
063                            privateLayout, name, description, master, copyLayoutSetBranchId,
064                            serviceContext);
065            }
066    
067            @Override
068            public void deleteLayoutSetBranch(long layoutSetBranchId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    _layoutSetBranchService.deleteLayoutSetBranch(layoutSetBranchId);
072            }
073    
074            @Override
075            public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
076                    long groupId, boolean privateLayout)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    return _layoutSetBranchService.getLayoutSetBranches(groupId,
079                            privateLayout);
080            }
081    
082            @Override
083            public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
084                    long layoutSetBranchId, long mergeLayoutSetBranchId,
085                    com.liferay.portal.service.ServiceContext serviceContext)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _layoutSetBranchService.mergeLayoutSetBranch(layoutSetBranchId,
089                            mergeLayoutSetBranchId, serviceContext);
090            }
091    
092            @Override
093            public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
094                    long groupId, long layoutSetBranchId, java.lang.String name,
095                    java.lang.String description,
096                    com.liferay.portal.service.ServiceContext serviceContext)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    return _layoutSetBranchService.updateLayoutSetBranch(groupId,
100                            layoutSetBranchId, name, description, serviceContext);
101            }
102    
103            /**
104             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
105             */
106            public LayoutSetBranchService getWrappedLayoutSetBranchService() {
107                    return _layoutSetBranchService;
108            }
109    
110            /**
111             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
112             */
113            public void setWrappedLayoutSetBranchService(
114                    LayoutSetBranchService layoutSetBranchService) {
115                    _layoutSetBranchService = layoutSetBranchService;
116            }
117    
118            @Override
119            public LayoutSetBranchService getWrappedService() {
120                    return _layoutSetBranchService;
121            }
122    
123            @Override
124            public void setWrappedService(LayoutSetBranchService layoutSetBranchService) {
125                    _layoutSetBranchService = layoutSetBranchService;
126            }
127    
128            private LayoutSetBranchService _layoutSetBranchService;
129    }