001    /**
002     * Copyright (c) 2000-2012 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.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, ModelWrapper<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            * Returns 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            * Returns 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            * Returns 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            * Returns 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            * Returns the create date of this layout set.
113            *
114            * @return the create date of this layout set
115            */
116            public java.util.Date getCreateDate() {
117                    return _layoutSet.getCreateDate();
118            }
119    
120            /**
121            * Sets the create date of this layout set.
122            *
123            * @param createDate the create date of this layout set
124            */
125            public void setCreateDate(java.util.Date createDate) {
126                    _layoutSet.setCreateDate(createDate);
127            }
128    
129            /**
130            * Returns the modified date of this layout set.
131            *
132            * @return the modified date of this layout set
133            */
134            public java.util.Date getModifiedDate() {
135                    return _layoutSet.getModifiedDate();
136            }
137    
138            /**
139            * Sets the modified date of this layout set.
140            *
141            * @param modifiedDate the modified date of this layout set
142            */
143            public void setModifiedDate(java.util.Date modifiedDate) {
144                    _layoutSet.setModifiedDate(modifiedDate);
145            }
146    
147            /**
148            * Returns the private layout of this layout set.
149            *
150            * @return the private layout of this layout set
151            */
152            public boolean getPrivateLayout() {
153                    return _layoutSet.getPrivateLayout();
154            }
155    
156            /**
157            * Returns <code>true</code> if this layout set is private layout.
158            *
159            * @return <code>true</code> if this layout set is private layout; <code>false</code> otherwise
160            */
161            public boolean isPrivateLayout() {
162                    return _layoutSet.isPrivateLayout();
163            }
164    
165            /**
166            * Sets whether this layout set is private layout.
167            *
168            * @param privateLayout the private layout of this layout set
169            */
170            public void setPrivateLayout(boolean privateLayout) {
171                    _layoutSet.setPrivateLayout(privateLayout);
172            }
173    
174            /**
175            * Returns the logo of this layout set.
176            *
177            * @return the logo of this layout set
178            */
179            public boolean getLogo() {
180                    return _layoutSet.getLogo();
181            }
182    
183            /**
184            * Returns <code>true</code> if this layout set is logo.
185            *
186            * @return <code>true</code> if this layout set is logo; <code>false</code> otherwise
187            */
188            public boolean isLogo() {
189                    return _layoutSet.isLogo();
190            }
191    
192            /**
193            * Sets whether this layout set is logo.
194            *
195            * @param logo the logo of this layout set
196            */
197            public void setLogo(boolean logo) {
198                    _layoutSet.setLogo(logo);
199            }
200    
201            /**
202            * Returns the logo ID of this layout set.
203            *
204            * @return the logo ID of this layout set
205            */
206            public long getLogoId() {
207                    return _layoutSet.getLogoId();
208            }
209    
210            /**
211            * Sets the logo ID of this layout set.
212            *
213            * @param logoId the logo ID of this layout set
214            */
215            public void setLogoId(long logoId) {
216                    _layoutSet.setLogoId(logoId);
217            }
218    
219            /**
220            * Returns the theme ID of this layout set.
221            *
222            * @return the theme ID of this layout set
223            */
224            public java.lang.String getThemeId() {
225                    return _layoutSet.getThemeId();
226            }
227    
228            /**
229            * Sets the theme ID of this layout set.
230            *
231            * @param themeId the theme ID of this layout set
232            */
233            public void setThemeId(java.lang.String themeId) {
234                    _layoutSet.setThemeId(themeId);
235            }
236    
237            /**
238            * Returns the color scheme ID of this layout set.
239            *
240            * @return the color scheme ID of this layout set
241            */
242            public java.lang.String getColorSchemeId() {
243                    return _layoutSet.getColorSchemeId();
244            }
245    
246            /**
247            * Sets the color scheme ID of this layout set.
248            *
249            * @param colorSchemeId the color scheme ID of this layout set
250            */
251            public void setColorSchemeId(java.lang.String colorSchemeId) {
252                    _layoutSet.setColorSchemeId(colorSchemeId);
253            }
254    
255            /**
256            * Returns the wap theme ID of this layout set.
257            *
258            * @return the wap theme ID of this layout set
259            */
260            public java.lang.String getWapThemeId() {
261                    return _layoutSet.getWapThemeId();
262            }
263    
264            /**
265            * Sets the wap theme ID of this layout set.
266            *
267            * @param wapThemeId the wap theme ID of this layout set
268            */
269            public void setWapThemeId(java.lang.String wapThemeId) {
270                    _layoutSet.setWapThemeId(wapThemeId);
271            }
272    
273            /**
274            * Returns the wap color scheme ID of this layout set.
275            *
276            * @return the wap color scheme ID of this layout set
277            */
278            public java.lang.String getWapColorSchemeId() {
279                    return _layoutSet.getWapColorSchemeId();
280            }
281    
282            /**
283            * Sets the wap color scheme ID of this layout set.
284            *
285            * @param wapColorSchemeId the wap color scheme ID of this layout set
286            */
287            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
288                    _layoutSet.setWapColorSchemeId(wapColorSchemeId);
289            }
290    
291            /**
292            * Returns the css of this layout set.
293            *
294            * @return the css of this layout set
295            */
296            public java.lang.String getCss() {
297                    return _layoutSet.getCss();
298            }
299    
300            /**
301            * Sets the css of this layout set.
302            *
303            * @param css the css of this layout set
304            */
305            public void setCss(java.lang.String css) {
306                    _layoutSet.setCss(css);
307            }
308    
309            /**
310            * Returns the page count of this layout set.
311            *
312            * @return the page count of this layout set
313            */
314            public int getPageCount() {
315                    return _layoutSet.getPageCount();
316            }
317    
318            /**
319            * Sets the page count of this layout set.
320            *
321            * @param pageCount the page count of this layout set
322            */
323            public void setPageCount(int pageCount) {
324                    _layoutSet.setPageCount(pageCount);
325            }
326    
327            /**
328            * Returns the settings of this layout set.
329            *
330            * @return the settings of this layout set
331            */
332            public java.lang.String getSettings() {
333                    return _layoutSet.getSettings();
334            }
335    
336            /**
337            * Sets the settings of this layout set.
338            *
339            * @param settings the settings of this layout set
340            */
341            public void setSettings(java.lang.String settings) {
342                    _layoutSet.setSettings(settings);
343            }
344    
345            /**
346            * Returns the layout set prototype uuid of this layout set.
347            *
348            * @return the layout set prototype uuid of this layout set
349            */
350            public java.lang.String getLayoutSetPrototypeUuid() {
351                    return _layoutSet.getLayoutSetPrototypeUuid();
352            }
353    
354            /**
355            * Sets the layout set prototype uuid of this layout set.
356            *
357            * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set
358            */
359            public void setLayoutSetPrototypeUuid(
360                    java.lang.String layoutSetPrototypeUuid) {
361                    _layoutSet.setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
362            }
363    
364            /**
365            * Returns the layout set prototype link enabled of this layout set.
366            *
367            * @return the layout set prototype link enabled of this layout set
368            */
369            public boolean getLayoutSetPrototypeLinkEnabled() {
370                    return _layoutSet.getLayoutSetPrototypeLinkEnabled();
371            }
372    
373            /**
374            * Returns <code>true</code> if this layout set is layout set prototype link enabled.
375            *
376            * @return <code>true</code> if this layout set is layout set prototype link enabled; <code>false</code> otherwise
377            */
378            public boolean isLayoutSetPrototypeLinkEnabled() {
379                    return _layoutSet.isLayoutSetPrototypeLinkEnabled();
380            }
381    
382            /**
383            * Sets whether this layout set is layout set prototype link enabled.
384            *
385            * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set
386            */
387            public void setLayoutSetPrototypeLinkEnabled(
388                    boolean layoutSetPrototypeLinkEnabled) {
389                    _layoutSet.setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
390            }
391    
392            public boolean isNew() {
393                    return _layoutSet.isNew();
394            }
395    
396            public void setNew(boolean n) {
397                    _layoutSet.setNew(n);
398            }
399    
400            public boolean isCachedModel() {
401                    return _layoutSet.isCachedModel();
402            }
403    
404            public void setCachedModel(boolean cachedModel) {
405                    _layoutSet.setCachedModel(cachedModel);
406            }
407    
408            public boolean isEscapedModel() {
409                    return _layoutSet.isEscapedModel();
410            }
411    
412            public java.io.Serializable getPrimaryKeyObj() {
413                    return _layoutSet.getPrimaryKeyObj();
414            }
415    
416            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
417                    _layoutSet.setPrimaryKeyObj(primaryKeyObj);
418            }
419    
420            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
421                    return _layoutSet.getExpandoBridge();
422            }
423    
424            public void setExpandoBridgeAttributes(
425                    com.liferay.portal.service.ServiceContext serviceContext) {
426                    _layoutSet.setExpandoBridgeAttributes(serviceContext);
427            }
428    
429            @Override
430            public java.lang.Object clone() {
431                    return new LayoutSetWrapper((LayoutSet)_layoutSet.clone());
432            }
433    
434            public int compareTo(com.liferay.portal.model.LayoutSet layoutSet) {
435                    return _layoutSet.compareTo(layoutSet);
436            }
437    
438            @Override
439            public int hashCode() {
440                    return _layoutSet.hashCode();
441            }
442    
443            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSet> toCacheModel() {
444                    return _layoutSet.toCacheModel();
445            }
446    
447            public com.liferay.portal.model.LayoutSet toEscapedModel() {
448                    return new LayoutSetWrapper(_layoutSet.toEscapedModel());
449            }
450    
451            @Override
452            public java.lang.String toString() {
453                    return _layoutSet.toString();
454            }
455    
456            public java.lang.String toXmlString() {
457                    return _layoutSet.toXmlString();
458            }
459    
460            public void persist()
461                    throws com.liferay.portal.kernel.exception.SystemException {
462                    _layoutSet.persist();
463            }
464    
465            public com.liferay.portal.model.ColorScheme getColorScheme()
466                    throws com.liferay.portal.kernel.exception.SystemException {
467                    return _layoutSet.getColorScheme();
468            }
469    
470            public com.liferay.portal.model.Group getGroup()
471                    throws com.liferay.portal.kernel.exception.PortalException,
472                            com.liferay.portal.kernel.exception.SystemException {
473                    return _layoutSet.getGroup();
474            }
475    
476            public long getLiveLogoId() {
477                    return _layoutSet.getLiveLogoId();
478            }
479    
480            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
481                    return _layoutSet.getSettingsProperties();
482            }
483    
484            public java.lang.String getSettingsProperty(java.lang.String key) {
485                    return _layoutSet.getSettingsProperty(key);
486            }
487    
488            public com.liferay.portal.model.Theme getTheme()
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return _layoutSet.getTheme();
491            }
492    
493            public java.lang.String getThemeSetting(java.lang.String key,
494                    java.lang.String device)
495                    throws com.liferay.portal.kernel.exception.SystemException {
496                    return _layoutSet.getThemeSetting(key, device);
497            }
498    
499            public java.lang.String getVirtualHostname() {
500                    return _layoutSet.getVirtualHostname();
501            }
502    
503            public com.liferay.portal.model.ColorScheme getWapColorScheme()
504                    throws com.liferay.portal.kernel.exception.SystemException {
505                    return _layoutSet.getWapColorScheme();
506            }
507    
508            public com.liferay.portal.model.Theme getWapTheme()
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    return _layoutSet.getWapTheme();
511            }
512    
513            public boolean isLayoutSetPrototypeLinkActive() {
514                    return _layoutSet.isLayoutSetPrototypeLinkActive();
515            }
516    
517            public void setSettingsProperties(
518                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
519                    _layoutSet.setSettingsProperties(settingsProperties);
520            }
521    
522            /**
523             * @deprecated Renamed to {@link #getWrappedModel}
524             */
525            public LayoutSet getWrappedLayoutSet() {
526                    return _layoutSet;
527            }
528    
529            public LayoutSet getWrappedModel() {
530                    return _layoutSet;
531            }
532    
533            public void resetOriginalValues() {
534                    _layoutSet.resetOriginalValues();
535            }
536    
537            private LayoutSet _layoutSet;
538    }