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, 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 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            * Returns <code>true</code> 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            * Returns 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            * Returns <code>true</code> 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            * Returns 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            * Returns 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            * Returns 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            * Returns 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            * Returns 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            * Returns 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            * Returns 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            * Returns 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            * Returns the layout set prototype uuid of this layout set.
311            *
312            * @return the layout set prototype uuid of this layout set
313            */
314            public java.lang.String getLayoutSetPrototypeUuid() {
315                    return _layoutSet.getLayoutSetPrototypeUuid();
316            }
317    
318            /**
319            * Sets the layout set prototype uuid of this layout set.
320            *
321            * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set
322            */
323            public void setLayoutSetPrototypeUuid(
324                    java.lang.String layoutSetPrototypeUuid) {
325                    _layoutSet.setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
326            }
327    
328            /**
329            * Returns the layout set prototype link enabled of this layout set.
330            *
331            * @return the layout set prototype link enabled of this layout set
332            */
333            public boolean getLayoutSetPrototypeLinkEnabled() {
334                    return _layoutSet.getLayoutSetPrototypeLinkEnabled();
335            }
336    
337            /**
338            * Returns <code>true</code> if this layout set is layout set prototype link enabled.
339            *
340            * @return <code>true</code> if this layout set is layout set prototype link enabled; <code>false</code> otherwise
341            */
342            public boolean isLayoutSetPrototypeLinkEnabled() {
343                    return _layoutSet.isLayoutSetPrototypeLinkEnabled();
344            }
345    
346            /**
347            * Sets whether this layout set is layout set prototype link enabled.
348            *
349            * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set
350            */
351            public void setLayoutSetPrototypeLinkEnabled(
352                    boolean layoutSetPrototypeLinkEnabled) {
353                    _layoutSet.setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
354            }
355    
356            public boolean isNew() {
357                    return _layoutSet.isNew();
358            }
359    
360            public void setNew(boolean n) {
361                    _layoutSet.setNew(n);
362            }
363    
364            public boolean isCachedModel() {
365                    return _layoutSet.isCachedModel();
366            }
367    
368            public void setCachedModel(boolean cachedModel) {
369                    _layoutSet.setCachedModel(cachedModel);
370            }
371    
372            public boolean isEscapedModel() {
373                    return _layoutSet.isEscapedModel();
374            }
375    
376            public java.io.Serializable getPrimaryKeyObj() {
377                    return _layoutSet.getPrimaryKeyObj();
378            }
379    
380            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
381                    _layoutSet.setPrimaryKeyObj(primaryKeyObj);
382            }
383    
384            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
385                    return _layoutSet.getExpandoBridge();
386            }
387    
388            public void setExpandoBridgeAttributes(
389                    com.liferay.portal.service.ServiceContext serviceContext) {
390                    _layoutSet.setExpandoBridgeAttributes(serviceContext);
391            }
392    
393            @Override
394            public java.lang.Object clone() {
395                    return new LayoutSetWrapper((LayoutSet)_layoutSet.clone());
396            }
397    
398            public int compareTo(com.liferay.portal.model.LayoutSet layoutSet) {
399                    return _layoutSet.compareTo(layoutSet);
400            }
401    
402            @Override
403            public int hashCode() {
404                    return _layoutSet.hashCode();
405            }
406    
407            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSet> toCacheModel() {
408                    return _layoutSet.toCacheModel();
409            }
410    
411            public com.liferay.portal.model.LayoutSet toEscapedModel() {
412                    return new LayoutSetWrapper(_layoutSet.toEscapedModel());
413            }
414    
415            @Override
416            public java.lang.String toString() {
417                    return _layoutSet.toString();
418            }
419    
420            public java.lang.String toXmlString() {
421                    return _layoutSet.toXmlString();
422            }
423    
424            public void persist()
425                    throws com.liferay.portal.kernel.exception.SystemException {
426                    _layoutSet.persist();
427            }
428    
429            public com.liferay.portal.model.Theme getTheme()
430                    throws com.liferay.portal.kernel.exception.SystemException {
431                    return _layoutSet.getTheme();
432            }
433    
434            public com.liferay.portal.model.ColorScheme getColorScheme()
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    return _layoutSet.getColorScheme();
437            }
438    
439            public com.liferay.portal.model.Group getGroup()
440                    throws com.liferay.portal.kernel.exception.PortalException,
441                            com.liferay.portal.kernel.exception.SystemException {
442                    return _layoutSet.getGroup();
443            }
444    
445            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
446                    return _layoutSet.getSettingsProperties();
447            }
448    
449            public java.lang.String getSettingsProperty(java.lang.String key) {
450                    return _layoutSet.getSettingsProperty(key);
451            }
452    
453            public java.lang.String getThemeSetting(java.lang.String key,
454                    java.lang.String device)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    return _layoutSet.getThemeSetting(key, device);
457            }
458    
459            public java.lang.String getVirtualHostname() {
460                    return _layoutSet.getVirtualHostname();
461            }
462    
463            public com.liferay.portal.model.Theme getWapTheme()
464                    throws com.liferay.portal.kernel.exception.SystemException {
465                    return _layoutSet.getWapTheme();
466            }
467    
468            public com.liferay.portal.model.ColorScheme getWapColorScheme()
469                    throws com.liferay.portal.kernel.exception.SystemException {
470                    return _layoutSet.getWapColorScheme();
471            }
472    
473            public void setSettingsProperties(
474                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
475                    _layoutSet.setSettingsProperties(settingsProperties);
476            }
477    
478            /**
479             * @deprecated Renamed to {@link #getWrappedModel}
480             */
481            public LayoutSet getWrappedLayoutSet() {
482                    return _layoutSet;
483            }
484    
485            public LayoutSet getWrappedModel() {
486                    return _layoutSet;
487            }
488    
489            public void resetOriginalValues() {
490                    _layoutSet.resetOriginalValues();
491            }
492    
493            private LayoutSet _layoutSet;
494    }