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    /**
018     * Provides a wrapper for {@link LayoutSetBranchService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see LayoutSetBranchService
022     * @generated
023     */
024    public class LayoutSetBranchServiceWrapper implements LayoutSetBranchService,
025            ServiceWrapper<LayoutSetBranchService> {
026            public LayoutSetBranchServiceWrapper(
027                    LayoutSetBranchService layoutSetBranchService) {
028                    _layoutSetBranchService = layoutSetBranchService;
029            }
030    
031            /**
032            * Returns the Spring bean ID for this bean.
033            *
034            * @return the Spring bean ID for this bean
035            */
036            @Override
037            public java.lang.String getBeanIdentifier() {
038                    return _layoutSetBranchService.getBeanIdentifier();
039            }
040    
041            /**
042            * Sets the Spring bean ID for this bean.
043            *
044            * @param beanIdentifier the Spring bean ID for this bean
045            */
046            @Override
047            public void setBeanIdentifier(java.lang.String beanIdentifier) {
048                    _layoutSetBranchService.setBeanIdentifier(beanIdentifier);
049            }
050    
051            @Override
052            public com.liferay.portal.model.LayoutSetBranch addLayoutSetBranch(
053                    long groupId, boolean privateLayout, java.lang.String name,
054                    java.lang.String description, boolean master,
055                    long copyLayoutSetBranchId,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _layoutSetBranchService.addLayoutSetBranch(groupId,
060                            privateLayout, name, description, master, copyLayoutSetBranchId,
061                            serviceContext);
062            }
063    
064            @Override
065            public void deleteLayoutSetBranch(long layoutSetBranchId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _layoutSetBranchService.deleteLayoutSetBranch(layoutSetBranchId);
069            }
070    
071            @Override
072            public java.util.List<com.liferay.portal.model.LayoutSetBranch> getLayoutSetBranches(
073                    long groupId, boolean privateLayout)
074                    throws com.liferay.portal.kernel.exception.SystemException {
075                    return _layoutSetBranchService.getLayoutSetBranches(groupId,
076                            privateLayout);
077            }
078    
079            @Override
080            public com.liferay.portal.model.LayoutSetBranch mergeLayoutSetBranch(
081                    long layoutSetBranchId, long mergeLayoutSetBranchId,
082                    com.liferay.portal.service.ServiceContext serviceContext)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _layoutSetBranchService.mergeLayoutSetBranch(layoutSetBranchId,
086                            mergeLayoutSetBranchId, serviceContext);
087            }
088    
089            @Override
090            public com.liferay.portal.model.LayoutSetBranch updateLayoutSetBranch(
091                    long groupId, long layoutSetBranchId, java.lang.String name,
092                    java.lang.String description,
093                    com.liferay.portal.service.ServiceContext serviceContext)
094                    throws com.liferay.portal.kernel.exception.PortalException,
095                            com.liferay.portal.kernel.exception.SystemException {
096                    return _layoutSetBranchService.updateLayoutSetBranch(groupId,
097                            layoutSetBranchId, name, description, serviceContext);
098            }
099    
100            /**
101             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
102             */
103            public LayoutSetBranchService getWrappedLayoutSetBranchService() {
104                    return _layoutSetBranchService;
105            }
106    
107            /**
108             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
109             */
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    }