001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link LayoutSet}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSet
024     * @generated
025     */
026    public class LayoutSetWrapper implements LayoutSet {
027            public LayoutSetWrapper(LayoutSet layoutSet) {
028                    _layoutSet = layoutSet;
029            }
030    
031            public Class<?> getModelClass() {
032                    return LayoutSet.class;
033            }
034    
035            public String getModelClassName() {
036                    return LayoutSet.class.getName();
037            }
038    
039            /**
040            * Gets the primary key of this layout set.
041            *
042            * @return the primary key of this layout set
043            */
044            public long getPrimaryKey() {
045                    return _layoutSet.getPrimaryKey();
046            }
047    
048            /**
049            * Sets the primary key of this layout set
050            *
051            * @param primaryKey the primary key of this layout set
052            */
053            public void setPrimaryKey(long primaryKey) {
054                    _layoutSet.setPrimaryKey(primaryKey);
055            }
056    
057            /**
058            * Gets the layout set ID of this layout set.
059            *
060            * @return the layout set ID of this layout set
061            */
062            public long getLayoutSetId() {
063                    return _layoutSet.getLayoutSetId();
064            }
065    
066            /**
067            * Sets the layout set ID of this layout set.
068            *
069            * @param layoutSetId the layout set ID of this layout set
070            */
071            public void setLayoutSetId(long layoutSetId) {
072                    _layoutSet.setLayoutSetId(layoutSetId);
073            }
074    
075            /**
076            * Gets the group ID of this layout set.
077            *
078            * @return the group ID of this layout set
079            */
080            public long getGroupId() {
081                    return _layoutSet.getGroupId();
082            }
083    
084            /**
085            * Sets the group ID of this layout set.
086            *
087            * @param groupId the group ID of this layout set
088            */
089            public void setGroupId(long groupId) {
090                    _layoutSet.setGroupId(groupId);
091            }
092    
093            /**
094            * Gets the company ID of this layout set.
095            *
096            * @return the company ID of this layout set
097            */
098            public long getCompanyId() {
099                    return _layoutSet.getCompanyId();
100            }
101    
102            /**
103            * Sets the company ID of this layout set.
104            *
105            * @param companyId the company ID of this layout set
106            */
107            public void setCompanyId(long companyId) {
108                    _layoutSet.setCompanyId(companyId);
109            }
110    
111            /**
112            * Gets the private layout of this layout set.
113            *
114            * @return the private layout of this layout set
115            */
116            public boolean getPrivateLayout() {
117                    return _layoutSet.getPrivateLayout();
118            }
119    
120            /**
121            * Determines if this layout set is private layout.
122            *
123            * @return <code>true</code> if this layout set is private layout; <code>false</code> otherwise
124            */
125            public boolean isPrivateLayout() {
126                    return _layoutSet.isPrivateLayout();
127            }
128    
129            /**
130            * Sets whether this layout set is private layout.
131            *
132            * @param privateLayout the private layout of this layout set
133            */
134            public void setPrivateLayout(boolean privateLayout) {
135                    _layoutSet.setPrivateLayout(privateLayout);
136            }
137    
138            /**
139            * Gets the logo of this layout set.
140            *
141            * @return the logo of this layout set
142            */
143            public boolean getLogo() {
144                    return _layoutSet.getLogo();
145            }
146    
147            /**
148            * Determines if this layout set is logo.
149            *
150            * @return <code>true</code> if this layout set is logo; <code>false</code> otherwise
151            */
152            public boolean isLogo() {
153                    return _layoutSet.isLogo();
154            }
155    
156            /**
157            * Sets whether this layout set is logo.
158            *
159            * @param logo the logo of this layout set
160            */
161            public void setLogo(boolean logo) {
162                    _layoutSet.setLogo(logo);
163            }
164    
165            /**
166            * Gets the logo ID of this layout set.
167            *
168            * @return the logo ID of this layout set
169            */
170            public long getLogoId() {
171                    return _layoutSet.getLogoId();
172            }
173    
174            /**
175            * Sets the logo ID of this layout set.
176            *
177            * @param logoId the logo ID of this layout set
178            */
179            public void setLogoId(long logoId) {
180                    _layoutSet.setLogoId(logoId);
181            }
182    
183            /**
184            * Gets the theme ID of this layout set.
185            *
186            * @return the theme ID of this layout set
187            */
188            public java.lang.String getThemeId() {
189                    return _layoutSet.getThemeId();
190            }
191    
192            /**
193            * Sets the theme ID of this layout set.
194            *
195            * @param themeId the theme ID of this layout set
196            */
197            public void setThemeId(java.lang.String themeId) {
198                    _layoutSet.setThemeId(themeId);
199            }
200    
201            /**
202            * Gets the color scheme ID of this layout set.
203            *
204            * @return the color scheme ID of this layout set
205            */
206            public java.lang.String getColorSchemeId() {
207                    return _layoutSet.getColorSchemeId();
208            }
209    
210            /**
211            * Sets the color scheme ID of this layout set.
212            *
213            * @param colorSchemeId the color scheme ID of this layout set
214            */
215            public void setColorSchemeId(java.lang.String colorSchemeId) {
216                    _layoutSet.setColorSchemeId(colorSchemeId);
217            }
218    
219            /**
220            * Gets the wap theme ID of this layout set.
221            *
222            * @return the wap theme ID of this layout set
223            */
224            public java.lang.String getWapThemeId() {
225                    return _layoutSet.getWapThemeId();
226            }
227    
228            /**
229            * Sets the wap theme ID of this layout set.
230            *
231            * @param wapThemeId the wap theme ID of this layout set
232            */
233            public void setWapThemeId(java.lang.String wapThemeId) {
234                    _layoutSet.setWapThemeId(wapThemeId);
235            }
236    
237            /**
238            * Gets the wap color scheme ID of this layout set.
239            *
240            * @return the wap color scheme ID of this layout set
241            */
242            public java.lang.String getWapColorSchemeId() {
243                    return _layoutSet.getWapColorSchemeId();
244            }
245    
246            /**
247            * Sets the wap color scheme ID of this layout set.
248            *
249            * @param wapColorSchemeId the wap color scheme ID of this layout set
250            */
251            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
252                    _layoutSet.setWapColorSchemeId(wapColorSchemeId);
253            }
254    
255            /**
256            * Gets the css of this layout set.
257            *
258            * @return the css of this layout set
259            */
260            public java.lang.String getCss() {
261                    return _layoutSet.getCss();
262            }
263    
264            /**
265            * Sets the css of this layout set.
266            *
267            * @param css the css of this layout set
268            */
269            public void setCss(java.lang.String css) {
270                    _layoutSet.setCss(css);
271            }
272    
273            /**
274            * Gets the page count of this layout set.
275            *
276            * @return the page count of this layout set
277            */
278            public int getPageCount() {
279                    return _layoutSet.getPageCount();
280            }
281    
282            /**
283            * Sets the page count of this layout set.
284            *
285            * @param pageCount the page count of this layout set
286            */
287            public void setPageCount(int pageCount) {
288                    _layoutSet.setPageCount(pageCount);
289            }
290    
291            /**
292            * Gets the settings of this layout set.
293            *
294            * @return the settings of this layout set
295            */
296            public java.lang.String getSettings() {
297                    return _layoutSet.getSettings();
298            }
299    
300            /**
301            * Sets the settings of this layout set.
302            *
303            * @param settings the settings of this layout set
304            */
305            public void setSettings(java.lang.String settings) {
306                    _layoutSet.setSettings(settings);
307            }
308    
309            /**
310            * Gets the layout set prototype ID of this layout set.
311            *
312            * @return the layout set prototype ID of this layout set
313            */
314            public long getLayoutSetPrototypeId() {
315                    return _layoutSet.getLayoutSetPrototypeId();
316            }
317    
318            /**
319            * Sets the layout set prototype ID of this layout set.
320            *
321            * @param layoutSetPrototypeId the layout set prototype ID of this layout set
322            */
323            public void setLayoutSetPrototypeId(long layoutSetPrototypeId) {
324                    _layoutSet.setLayoutSetPrototypeId(layoutSetPrototypeId);
325            }
326    
327            public boolean isNew() {
328                    return _layoutSet.isNew();
329            }
330    
331            public void setNew(boolean n) {
332                    _layoutSet.setNew(n);
333            }
334    
335            public boolean isCachedModel() {
336                    return _layoutSet.isCachedModel();
337            }
338    
339            public void setCachedModel(boolean cachedModel) {
340                    _layoutSet.setCachedModel(cachedModel);
341            }
342    
343            public boolean isEscapedModel() {
344                    return _layoutSet.isEscapedModel();
345            }
346    
347            public void setEscapedModel(boolean escapedModel) {
348                    _layoutSet.setEscapedModel(escapedModel);
349            }
350    
351            public java.io.Serializable getPrimaryKeyObj() {
352                    return _layoutSet.getPrimaryKeyObj();
353            }
354    
355            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
356                    _layoutSet.setPrimaryKeyObj(primaryKeyObj);
357            }
358    
359            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
360                    return _layoutSet.getExpandoBridge();
361            }
362    
363            public void setExpandoBridgeAttributes(
364                    com.liferay.portal.service.ServiceContext serviceContext) {
365                    _layoutSet.setExpandoBridgeAttributes(serviceContext);
366            }
367    
368            @Override
369            public java.lang.Object clone() {
370                    return new LayoutSetWrapper((LayoutSet)_layoutSet.clone());
371            }
372    
373            public int compareTo(com.liferay.portal.model.LayoutSet layoutSet) {
374                    return _layoutSet.compareTo(layoutSet);
375            }
376    
377            @Override
378            public int hashCode() {
379                    return _layoutSet.hashCode();
380            }
381    
382            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSet> toCacheModel() {
383                    return _layoutSet.toCacheModel();
384            }
385    
386            public com.liferay.portal.model.LayoutSet toEscapedModel() {
387                    return new LayoutSetWrapper(_layoutSet.toEscapedModel());
388            }
389    
390            @Override
391            public java.lang.String toString() {
392                    return _layoutSet.toString();
393            }
394    
395            public java.lang.String toXmlString() {
396                    return _layoutSet.toXmlString();
397            }
398    
399            public void persist()
400                    throws com.liferay.portal.kernel.exception.SystemException {
401                    _layoutSet.persist();
402            }
403    
404            public com.liferay.portal.model.Theme getTheme()
405                    throws com.liferay.portal.kernel.exception.SystemException {
406                    return _layoutSet.getTheme();
407            }
408    
409            public com.liferay.portal.model.ColorScheme getColorScheme()
410                    throws com.liferay.portal.kernel.exception.SystemException {
411                    return _layoutSet.getColorScheme();
412            }
413    
414            public com.liferay.portal.model.Group getGroup()
415                    throws com.liferay.portal.kernel.exception.PortalException,
416                            com.liferay.portal.kernel.exception.SystemException {
417                    return _layoutSet.getGroup();
418            }
419    
420            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
421                    return _layoutSet.getSettingsProperties();
422            }
423    
424            public java.lang.String getSettingsProperty(java.lang.String key) {
425                    return _layoutSet.getSettingsProperty(key);
426            }
427    
428            /**
429            * @deprecated {@link #getVirtualHostname}
430            */
431            public java.lang.String getVirtualHost() {
432                    return _layoutSet.getVirtualHost();
433            }
434    
435            public java.lang.String getVirtualHostname() {
436                    return _layoutSet.getVirtualHostname();
437            }
438    
439            public com.liferay.portal.model.Theme getWapTheme()
440                    throws com.liferay.portal.kernel.exception.SystemException {
441                    return _layoutSet.getWapTheme();
442            }
443    
444            public com.liferay.portal.model.ColorScheme getWapColorScheme()
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    return _layoutSet.getWapColorScheme();
447            }
448    
449            public void setSettingsProperties(
450                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
451                    _layoutSet.setSettingsProperties(settingsProperties);
452            }
453    
454            public LayoutSet getWrappedLayoutSet() {
455                    return _layoutSet;
456            }
457    
458            public void resetOriginalValues() {
459                    _layoutSet.resetOriginalValues();
460            }
461    
462            private LayoutSet _layoutSet;
463    }