1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service;
24  
25  
26  /**
27   * <a href="LayoutSetLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link LayoutSetLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       LayoutSetLocalService
40   * @generated
41   */
42  public class LayoutSetLocalServiceWrapper implements LayoutSetLocalService {
43      public LayoutSetLocalServiceWrapper(
44          LayoutSetLocalService layoutSetLocalService) {
45          _layoutSetLocalService = layoutSetLocalService;
46      }
47  
48      public com.liferay.portal.model.LayoutSet addLayoutSet(
49          com.liferay.portal.model.LayoutSet layoutSet)
50          throws com.liferay.portal.SystemException {
51          return _layoutSetLocalService.addLayoutSet(layoutSet);
52      }
53  
54      public com.liferay.portal.model.LayoutSet createLayoutSet(long layoutSetId) {
55          return _layoutSetLocalService.createLayoutSet(layoutSetId);
56      }
57  
58      public void deleteLayoutSet(long layoutSetId)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException {
61          _layoutSetLocalService.deleteLayoutSet(layoutSetId);
62      }
63  
64      public void deleteLayoutSet(com.liferay.portal.model.LayoutSet layoutSet)
65          throws com.liferay.portal.SystemException {
66          _layoutSetLocalService.deleteLayoutSet(layoutSet);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
71          throws com.liferay.portal.SystemException {
72          return _layoutSetLocalService.dynamicQuery(dynamicQuery);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end) throws com.liferay.portal.SystemException {
78          return _layoutSetLocalService.dynamicQuery(dynamicQuery, start, end);
79      }
80  
81      public com.liferay.portal.model.LayoutSet getLayoutSet(long layoutSetId)
82          throws com.liferay.portal.PortalException,
83              com.liferay.portal.SystemException {
84          return _layoutSetLocalService.getLayoutSet(layoutSetId);
85      }
86  
87      public java.util.List<com.liferay.portal.model.LayoutSet> getLayoutSets(
88          int start, int end) throws com.liferay.portal.SystemException {
89          return _layoutSetLocalService.getLayoutSets(start, end);
90      }
91  
92      public int getLayoutSetsCount() throws com.liferay.portal.SystemException {
93          return _layoutSetLocalService.getLayoutSetsCount();
94      }
95  
96      public com.liferay.portal.model.LayoutSet updateLayoutSet(
97          com.liferay.portal.model.LayoutSet layoutSet)
98          throws com.liferay.portal.SystemException {
99          return _layoutSetLocalService.updateLayoutSet(layoutSet);
100     }
101 
102     public com.liferay.portal.model.LayoutSet updateLayoutSet(
103         com.liferay.portal.model.LayoutSet layoutSet, boolean merge)
104         throws com.liferay.portal.SystemException {
105         return _layoutSetLocalService.updateLayoutSet(layoutSet, merge);
106     }
107 
108     public com.liferay.portal.model.LayoutSet addLayoutSet(long groupId,
109         boolean privateLayout)
110         throws com.liferay.portal.PortalException,
111             com.liferay.portal.SystemException {
112         return _layoutSetLocalService.addLayoutSet(groupId, privateLayout);
113     }
114 
115     public void deleteLayoutSet(long groupId, boolean privateLayout)
116         throws com.liferay.portal.PortalException,
117             com.liferay.portal.SystemException {
118         _layoutSetLocalService.deleteLayoutSet(groupId, privateLayout);
119     }
120 
121     public com.liferay.portal.model.LayoutSet getLayoutSet(long groupId,
122         boolean privateLayout)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         return _layoutSetLocalService.getLayoutSet(groupId, privateLayout);
126     }
127 
128     public com.liferay.portal.model.LayoutSet getLayoutSet(
129         java.lang.String virtualHost)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException {
132         return _layoutSetLocalService.getLayoutSet(virtualHost);
133     }
134 
135     public void updateLogo(long groupId, boolean privateLayout, boolean logo,
136         java.io.File file)
137         throws com.liferay.portal.PortalException,
138             com.liferay.portal.SystemException {
139         _layoutSetLocalService.updateLogo(groupId, privateLayout, logo, file);
140     }
141 
142     public void updateLogo(long groupId, boolean privateLayout, boolean logo,
143         java.io.InputStream is)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _layoutSetLocalService.updateLogo(groupId, privateLayout, logo, is);
147     }
148 
149     public void updateLookAndFeel(long groupId, java.lang.String themeId,
150         java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         _layoutSetLocalService.updateLookAndFeel(groupId, themeId,
154             colorSchemeId, css, wapTheme);
155     }
156 
157     public com.liferay.portal.model.LayoutSet updateLookAndFeel(long groupId,
158         boolean privateLayout, java.lang.String themeId,
159         java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         return _layoutSetLocalService.updateLookAndFeel(groupId, privateLayout,
163             themeId, colorSchemeId, css, wapTheme);
164     }
165 
166     public com.liferay.portal.model.LayoutSet updatePageCount(long groupId,
167         boolean privateLayout)
168         throws com.liferay.portal.PortalException,
169             com.liferay.portal.SystemException {
170         return _layoutSetLocalService.updatePageCount(groupId, privateLayout);
171     }
172 
173     public com.liferay.portal.model.LayoutSet updateVirtualHost(long groupId,
174         boolean privateLayout, java.lang.String virtualHost)
175         throws com.liferay.portal.PortalException,
176             com.liferay.portal.SystemException {
177         return _layoutSetLocalService.updateVirtualHost(groupId, privateLayout,
178             virtualHost);
179     }
180 
181     public LayoutSetLocalService getWrappedLayoutSetLocalService() {
182         return _layoutSetLocalService;
183     }
184 
185     private LayoutSetLocalService _layoutSetLocalService;
186 }