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