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 LayoutSetBranch}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSetBranch
024     * @generated
025     */
026    public class LayoutSetBranchWrapper implements LayoutSetBranch,
027            ModelWrapper<LayoutSetBranch> {
028            public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch) {
029                    _layoutSetBranch = layoutSetBranch;
030            }
031    
032            public Class<?> getModelClass() {
033                    return LayoutSetBranch.class;
034            }
035    
036            public String getModelClassName() {
037                    return LayoutSetBranch.class.getName();
038            }
039    
040            /**
041            * Returns the primary key of this layout set branch.
042            *
043            * @return the primary key of this layout set branch
044            */
045            public long getPrimaryKey() {
046                    return _layoutSetBranch.getPrimaryKey();
047            }
048    
049            /**
050            * Sets the primary key of this layout set branch.
051            *
052            * @param primaryKey the primary key of this layout set branch
053            */
054            public void setPrimaryKey(long primaryKey) {
055                    _layoutSetBranch.setPrimaryKey(primaryKey);
056            }
057    
058            /**
059            * Returns the layout set branch ID of this layout set branch.
060            *
061            * @return the layout set branch ID of this layout set branch
062            */
063            public long getLayoutSetBranchId() {
064                    return _layoutSetBranch.getLayoutSetBranchId();
065            }
066    
067            /**
068            * Sets the layout set branch ID of this layout set branch.
069            *
070            * @param layoutSetBranchId the layout set branch ID of this layout set branch
071            */
072            public void setLayoutSetBranchId(long layoutSetBranchId) {
073                    _layoutSetBranch.setLayoutSetBranchId(layoutSetBranchId);
074            }
075    
076            /**
077            * Returns the group ID of this layout set branch.
078            *
079            * @return the group ID of this layout set branch
080            */
081            public long getGroupId() {
082                    return _layoutSetBranch.getGroupId();
083            }
084    
085            /**
086            * Sets the group ID of this layout set branch.
087            *
088            * @param groupId the group ID of this layout set branch
089            */
090            public void setGroupId(long groupId) {
091                    _layoutSetBranch.setGroupId(groupId);
092            }
093    
094            /**
095            * Returns the company ID of this layout set branch.
096            *
097            * @return the company ID of this layout set branch
098            */
099            public long getCompanyId() {
100                    return _layoutSetBranch.getCompanyId();
101            }
102    
103            /**
104            * Sets the company ID of this layout set branch.
105            *
106            * @param companyId the company ID of this layout set branch
107            */
108            public void setCompanyId(long companyId) {
109                    _layoutSetBranch.setCompanyId(companyId);
110            }
111    
112            /**
113            * Returns the user ID of this layout set branch.
114            *
115            * @return the user ID of this layout set branch
116            */
117            public long getUserId() {
118                    return _layoutSetBranch.getUserId();
119            }
120    
121            /**
122            * Sets the user ID of this layout set branch.
123            *
124            * @param userId the user ID of this layout set branch
125            */
126            public void setUserId(long userId) {
127                    _layoutSetBranch.setUserId(userId);
128            }
129    
130            /**
131            * Returns the user uuid of this layout set branch.
132            *
133            * @return the user uuid of this layout set branch
134            * @throws SystemException if a system exception occurred
135            */
136            public java.lang.String getUserUuid()
137                    throws com.liferay.portal.kernel.exception.SystemException {
138                    return _layoutSetBranch.getUserUuid();
139            }
140    
141            /**
142            * Sets the user uuid of this layout set branch.
143            *
144            * @param userUuid the user uuid of this layout set branch
145            */
146            public void setUserUuid(java.lang.String userUuid) {
147                    _layoutSetBranch.setUserUuid(userUuid);
148            }
149    
150            /**
151            * Returns the user name of this layout set branch.
152            *
153            * @return the user name of this layout set branch
154            */
155            public java.lang.String getUserName() {
156                    return _layoutSetBranch.getUserName();
157            }
158    
159            /**
160            * Sets the user name of this layout set branch.
161            *
162            * @param userName the user name of this layout set branch
163            */
164            public void setUserName(java.lang.String userName) {
165                    _layoutSetBranch.setUserName(userName);
166            }
167    
168            /**
169            * Returns the create date of this layout set branch.
170            *
171            * @return the create date of this layout set branch
172            */
173            public java.util.Date getCreateDate() {
174                    return _layoutSetBranch.getCreateDate();
175            }
176    
177            /**
178            * Sets the create date of this layout set branch.
179            *
180            * @param createDate the create date of this layout set branch
181            */
182            public void setCreateDate(java.util.Date createDate) {
183                    _layoutSetBranch.setCreateDate(createDate);
184            }
185    
186            /**
187            * Returns the modified date of this layout set branch.
188            *
189            * @return the modified date of this layout set branch
190            */
191            public java.util.Date getModifiedDate() {
192                    return _layoutSetBranch.getModifiedDate();
193            }
194    
195            /**
196            * Sets the modified date of this layout set branch.
197            *
198            * @param modifiedDate the modified date of this layout set branch
199            */
200            public void setModifiedDate(java.util.Date modifiedDate) {
201                    _layoutSetBranch.setModifiedDate(modifiedDate);
202            }
203    
204            /**
205            * Returns the private layout of this layout set branch.
206            *
207            * @return the private layout of this layout set branch
208            */
209            public boolean getPrivateLayout() {
210                    return _layoutSetBranch.getPrivateLayout();
211            }
212    
213            /**
214            * Returns <code>true</code> if this layout set branch is private layout.
215            *
216            * @return <code>true</code> if this layout set branch is private layout; <code>false</code> otherwise
217            */
218            public boolean isPrivateLayout() {
219                    return _layoutSetBranch.isPrivateLayout();
220            }
221    
222            /**
223            * Sets whether this layout set branch is private layout.
224            *
225            * @param privateLayout the private layout of this layout set branch
226            */
227            public void setPrivateLayout(boolean privateLayout) {
228                    _layoutSetBranch.setPrivateLayout(privateLayout);
229            }
230    
231            /**
232            * Returns the name of this layout set branch.
233            *
234            * @return the name of this layout set branch
235            */
236            public java.lang.String getName() {
237                    return _layoutSetBranch.getName();
238            }
239    
240            /**
241            * Sets the name of this layout set branch.
242            *
243            * @param name the name of this layout set branch
244            */
245            public void setName(java.lang.String name) {
246                    _layoutSetBranch.setName(name);
247            }
248    
249            /**
250            * Returns the description of this layout set branch.
251            *
252            * @return the description of this layout set branch
253            */
254            public java.lang.String getDescription() {
255                    return _layoutSetBranch.getDescription();
256            }
257    
258            /**
259            * Sets the description of this layout set branch.
260            *
261            * @param description the description of this layout set branch
262            */
263            public void setDescription(java.lang.String description) {
264                    _layoutSetBranch.setDescription(description);
265            }
266    
267            /**
268            * Returns the master of this layout set branch.
269            *
270            * @return the master of this layout set branch
271            */
272            public boolean getMaster() {
273                    return _layoutSetBranch.getMaster();
274            }
275    
276            /**
277            * Returns <code>true</code> if this layout set branch is master.
278            *
279            * @return <code>true</code> if this layout set branch is master; <code>false</code> otherwise
280            */
281            public boolean isMaster() {
282                    return _layoutSetBranch.isMaster();
283            }
284    
285            /**
286            * Sets whether this layout set branch is master.
287            *
288            * @param master the master of this layout set branch
289            */
290            public void setMaster(boolean master) {
291                    _layoutSetBranch.setMaster(master);
292            }
293    
294            /**
295            * Returns the logo of this layout set branch.
296            *
297            * @return the logo of this layout set branch
298            */
299            public boolean getLogo() {
300                    return _layoutSetBranch.getLogo();
301            }
302    
303            /**
304            * Returns <code>true</code> if this layout set branch is logo.
305            *
306            * @return <code>true</code> if this layout set branch is logo; <code>false</code> otherwise
307            */
308            public boolean isLogo() {
309                    return _layoutSetBranch.isLogo();
310            }
311    
312            /**
313            * Sets whether this layout set branch is logo.
314            *
315            * @param logo the logo of this layout set branch
316            */
317            public void setLogo(boolean logo) {
318                    _layoutSetBranch.setLogo(logo);
319            }
320    
321            /**
322            * Returns the logo ID of this layout set branch.
323            *
324            * @return the logo ID of this layout set branch
325            */
326            public long getLogoId() {
327                    return _layoutSetBranch.getLogoId();
328            }
329    
330            /**
331            * Sets the logo ID of this layout set branch.
332            *
333            * @param logoId the logo ID of this layout set branch
334            */
335            public void setLogoId(long logoId) {
336                    _layoutSetBranch.setLogoId(logoId);
337            }
338    
339            /**
340            * Returns the theme ID of this layout set branch.
341            *
342            * @return the theme ID of this layout set branch
343            */
344            public java.lang.String getThemeId() {
345                    return _layoutSetBranch.getThemeId();
346            }
347    
348            /**
349            * Sets the theme ID of this layout set branch.
350            *
351            * @param themeId the theme ID of this layout set branch
352            */
353            public void setThemeId(java.lang.String themeId) {
354                    _layoutSetBranch.setThemeId(themeId);
355            }
356    
357            /**
358            * Returns the color scheme ID of this layout set branch.
359            *
360            * @return the color scheme ID of this layout set branch
361            */
362            public java.lang.String getColorSchemeId() {
363                    return _layoutSetBranch.getColorSchemeId();
364            }
365    
366            /**
367            * Sets the color scheme ID of this layout set branch.
368            *
369            * @param colorSchemeId the color scheme ID of this layout set branch
370            */
371            public void setColorSchemeId(java.lang.String colorSchemeId) {
372                    _layoutSetBranch.setColorSchemeId(colorSchemeId);
373            }
374    
375            /**
376            * Returns the wap theme ID of this layout set branch.
377            *
378            * @return the wap theme ID of this layout set branch
379            */
380            public java.lang.String getWapThemeId() {
381                    return _layoutSetBranch.getWapThemeId();
382            }
383    
384            /**
385            * Sets the wap theme ID of this layout set branch.
386            *
387            * @param wapThemeId the wap theme ID of this layout set branch
388            */
389            public void setWapThemeId(java.lang.String wapThemeId) {
390                    _layoutSetBranch.setWapThemeId(wapThemeId);
391            }
392    
393            /**
394            * Returns the wap color scheme ID of this layout set branch.
395            *
396            * @return the wap color scheme ID of this layout set branch
397            */
398            public java.lang.String getWapColorSchemeId() {
399                    return _layoutSetBranch.getWapColorSchemeId();
400            }
401    
402            /**
403            * Sets the wap color scheme ID of this layout set branch.
404            *
405            * @param wapColorSchemeId the wap color scheme ID of this layout set branch
406            */
407            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
408                    _layoutSetBranch.setWapColorSchemeId(wapColorSchemeId);
409            }
410    
411            /**
412            * Returns the css of this layout set branch.
413            *
414            * @return the css of this layout set branch
415            */
416            public java.lang.String getCss() {
417                    return _layoutSetBranch.getCss();
418            }
419    
420            /**
421            * Sets the css of this layout set branch.
422            *
423            * @param css the css of this layout set branch
424            */
425            public void setCss(java.lang.String css) {
426                    _layoutSetBranch.setCss(css);
427            }
428    
429            /**
430            * Returns the settings of this layout set branch.
431            *
432            * @return the settings of this layout set branch
433            */
434            public java.lang.String getSettings() {
435                    return _layoutSetBranch.getSettings();
436            }
437    
438            /**
439            * Sets the settings of this layout set branch.
440            *
441            * @param settings the settings of this layout set branch
442            */
443            public void setSettings(java.lang.String settings) {
444                    _layoutSetBranch.setSettings(settings);
445            }
446    
447            /**
448            * Returns the layout set prototype uuid of this layout set branch.
449            *
450            * @return the layout set prototype uuid of this layout set branch
451            */
452            public java.lang.String getLayoutSetPrototypeUuid() {
453                    return _layoutSetBranch.getLayoutSetPrototypeUuid();
454            }
455    
456            /**
457            * Sets the layout set prototype uuid of this layout set branch.
458            *
459            * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set branch
460            */
461            public void setLayoutSetPrototypeUuid(
462                    java.lang.String layoutSetPrototypeUuid) {
463                    _layoutSetBranch.setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
464            }
465    
466            /**
467            * Returns the layout set prototype link enabled of this layout set branch.
468            *
469            * @return the layout set prototype link enabled of this layout set branch
470            */
471            public boolean getLayoutSetPrototypeLinkEnabled() {
472                    return _layoutSetBranch.getLayoutSetPrototypeLinkEnabled();
473            }
474    
475            /**
476            * Returns <code>true</code> if this layout set branch is layout set prototype link enabled.
477            *
478            * @return <code>true</code> if this layout set branch is layout set prototype link enabled; <code>false</code> otherwise
479            */
480            public boolean isLayoutSetPrototypeLinkEnabled() {
481                    return _layoutSetBranch.isLayoutSetPrototypeLinkEnabled();
482            }
483    
484            /**
485            * Sets whether this layout set branch is layout set prototype link enabled.
486            *
487            * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set branch
488            */
489            public void setLayoutSetPrototypeLinkEnabled(
490                    boolean layoutSetPrototypeLinkEnabled) {
491                    _layoutSetBranch.setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
492            }
493    
494            public boolean isNew() {
495                    return _layoutSetBranch.isNew();
496            }
497    
498            public void setNew(boolean n) {
499                    _layoutSetBranch.setNew(n);
500            }
501    
502            public boolean isCachedModel() {
503                    return _layoutSetBranch.isCachedModel();
504            }
505    
506            public void setCachedModel(boolean cachedModel) {
507                    _layoutSetBranch.setCachedModel(cachedModel);
508            }
509    
510            public boolean isEscapedModel() {
511                    return _layoutSetBranch.isEscapedModel();
512            }
513    
514            public java.io.Serializable getPrimaryKeyObj() {
515                    return _layoutSetBranch.getPrimaryKeyObj();
516            }
517    
518            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
519                    _layoutSetBranch.setPrimaryKeyObj(primaryKeyObj);
520            }
521    
522            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
523                    return _layoutSetBranch.getExpandoBridge();
524            }
525    
526            public void setExpandoBridgeAttributes(
527                    com.liferay.portal.service.ServiceContext serviceContext) {
528                    _layoutSetBranch.setExpandoBridgeAttributes(serviceContext);
529            }
530    
531            @Override
532            public java.lang.Object clone() {
533                    return new LayoutSetBranchWrapper((LayoutSetBranch)_layoutSetBranch.clone());
534            }
535    
536            public int compareTo(
537                    com.liferay.portal.model.LayoutSetBranch layoutSetBranch) {
538                    return _layoutSetBranch.compareTo(layoutSetBranch);
539            }
540    
541            @Override
542            public int hashCode() {
543                    return _layoutSetBranch.hashCode();
544            }
545    
546            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSetBranch> toCacheModel() {
547                    return _layoutSetBranch.toCacheModel();
548            }
549    
550            public com.liferay.portal.model.LayoutSetBranch toEscapedModel() {
551                    return new LayoutSetBranchWrapper(_layoutSetBranch.toEscapedModel());
552            }
553    
554            @Override
555            public java.lang.String toString() {
556                    return _layoutSetBranch.toString();
557            }
558    
559            public java.lang.String toXmlString() {
560                    return _layoutSetBranch.toXmlString();
561            }
562    
563            public void persist()
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    _layoutSetBranch.persist();
566            }
567    
568            public com.liferay.portal.model.ColorScheme getColorScheme()
569                    throws com.liferay.portal.kernel.exception.SystemException {
570                    return _layoutSetBranch.getColorScheme();
571            }
572    
573            public com.liferay.portal.model.Group getGroup()
574                    throws com.liferay.portal.kernel.exception.PortalException,
575                            com.liferay.portal.kernel.exception.SystemException {
576                    return _layoutSetBranch.getGroup();
577            }
578    
579            public com.liferay.portal.model.LayoutSet getLayoutSet() {
580                    return _layoutSetBranch.getLayoutSet();
581            }
582    
583            public long getLiveLogoId() {
584                    return _layoutSetBranch.getLiveLogoId();
585            }
586    
587            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
588                    return _layoutSetBranch.getSettingsProperties();
589            }
590    
591            public java.lang.String getSettingsProperty(java.lang.String key) {
592                    return _layoutSetBranch.getSettingsProperty(key);
593            }
594    
595            public com.liferay.portal.model.Theme getTheme()
596                    throws com.liferay.portal.kernel.exception.SystemException {
597                    return _layoutSetBranch.getTheme();
598            }
599    
600            public java.lang.String getThemeSetting(java.lang.String key,
601                    java.lang.String device)
602                    throws com.liferay.portal.kernel.exception.SystemException {
603                    return _layoutSetBranch.getThemeSetting(key, device);
604            }
605    
606            public com.liferay.portal.model.ColorScheme getWapColorScheme()
607                    throws com.liferay.portal.kernel.exception.SystemException {
608                    return _layoutSetBranch.getWapColorScheme();
609            }
610    
611            public com.liferay.portal.model.Theme getWapTheme()
612                    throws com.liferay.portal.kernel.exception.SystemException {
613                    return _layoutSetBranch.getWapTheme();
614            }
615    
616            public boolean isLayoutSetPrototypeLinkActive() {
617                    return _layoutSetBranch.isLayoutSetPrototypeLinkActive();
618            }
619    
620            public void setSettingsProperties(
621                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
622                    _layoutSetBranch.setSettingsProperties(settingsProperties);
623            }
624    
625            /**
626             * @deprecated Renamed to {@link #getWrappedModel}
627             */
628            public LayoutSetBranch getWrappedLayoutSetBranch() {
629                    return _layoutSetBranch;
630            }
631    
632            public LayoutSetBranch getWrappedModel() {
633                    return _layoutSetBranch;
634            }
635    
636            public void resetOriginalValues() {
637                    _layoutSetBranch.resetOriginalValues();
638            }
639    
640            private LayoutSetBranch _layoutSetBranch;
641    }