001    /**
002     * Copyright (c) 2000-2010 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 Layout}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       Layout
024     * @generated
025     */
026    public class LayoutWrapper implements Layout {
027            public LayoutWrapper(Layout layout) {
028                    _layout = layout;
029            }
030    
031            /**
032            * Gets the primary key of this layout.
033            *
034            * @return the primary key of this layout
035            */
036            public long getPrimaryKey() {
037                    return _layout.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this layout
042            *
043            * @param pk the primary key of this layout
044            */
045            public void setPrimaryKey(long pk) {
046                    _layout.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this layout.
051            *
052            * @return the uuid of this layout
053            */
054            public java.lang.String getUuid() {
055                    return _layout.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this layout.
060            *
061            * @param uuid the uuid of this layout
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _layout.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the plid of this layout.
069            *
070            * @return the plid of this layout
071            */
072            public long getPlid() {
073                    return _layout.getPlid();
074            }
075    
076            /**
077            * Sets the plid of this layout.
078            *
079            * @param plid the plid of this layout
080            */
081            public void setPlid(long plid) {
082                    _layout.setPlid(plid);
083            }
084    
085            /**
086            * Gets the group id of this layout.
087            *
088            * @return the group id of this layout
089            */
090            public long getGroupId() {
091                    return _layout.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this layout.
096            *
097            * @param groupId the group id of this layout
098            */
099            public void setGroupId(long groupId) {
100                    _layout.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this layout.
105            *
106            * @return the company id of this layout
107            */
108            public long getCompanyId() {
109                    return _layout.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this layout.
114            *
115            * @param companyId the company id of this layout
116            */
117            public void setCompanyId(long companyId) {
118                    _layout.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the private layout of this layout.
123            *
124            * @return the private layout of this layout
125            */
126            public boolean getPrivateLayout() {
127                    return _layout.getPrivateLayout();
128            }
129    
130            /**
131            * Determines whether this layout is private layout.
132            *
133            * @return whether this layout is private layout
134            */
135            public boolean isPrivateLayout() {
136                    return _layout.isPrivateLayout();
137            }
138    
139            /**
140            * Sets whether this {$entity.humanName} is private layout.
141            *
142            * @param privateLayout the private layout of this layout
143            */
144            public void setPrivateLayout(boolean privateLayout) {
145                    _layout.setPrivateLayout(privateLayout);
146            }
147    
148            /**
149            * Gets the layout id of this layout.
150            *
151            * @return the layout id of this layout
152            */
153            public long getLayoutId() {
154                    return _layout.getLayoutId();
155            }
156    
157            /**
158            * Sets the layout id of this layout.
159            *
160            * @param layoutId the layout id of this layout
161            */
162            public void setLayoutId(long layoutId) {
163                    _layout.setLayoutId(layoutId);
164            }
165    
166            /**
167            * Gets the parent layout id of this layout.
168            *
169            * @return the parent layout id of this layout
170            */
171            public long getParentLayoutId() {
172                    return _layout.getParentLayoutId();
173            }
174    
175            /**
176            * Sets the parent layout id of this layout.
177            *
178            * @param parentLayoutId the parent layout id of this layout
179            */
180            public void setParentLayoutId(long parentLayoutId) {
181                    _layout.setParentLayoutId(parentLayoutId);
182            }
183    
184            /**
185            * Gets the name of this layout.
186            *
187            * @return the name of this layout
188            */
189            public java.lang.String getName() {
190                    return _layout.getName();
191            }
192    
193            /**
194            * Sets the name of this layout.
195            *
196            * @param name the name of this layout
197            */
198            public void setName(java.lang.String name) {
199                    _layout.setName(name);
200            }
201    
202            /**
203            * Gets the title of this layout.
204            *
205            * @return the title of this layout
206            */
207            public java.lang.String getTitle() {
208                    return _layout.getTitle();
209            }
210    
211            /**
212            * Sets the title of this layout.
213            *
214            * @param title the title of this layout
215            */
216            public void setTitle(java.lang.String title) {
217                    _layout.setTitle(title);
218            }
219    
220            /**
221            * Gets the description of this layout.
222            *
223            * @return the description of this layout
224            */
225            public java.lang.String getDescription() {
226                    return _layout.getDescription();
227            }
228    
229            /**
230            * Sets the description of this layout.
231            *
232            * @param description the description of this layout
233            */
234            public void setDescription(java.lang.String description) {
235                    _layout.setDescription(description);
236            }
237    
238            /**
239            * Gets the type of this layout.
240            *
241            * @return the type of this layout
242            */
243            public java.lang.String getType() {
244                    return _layout.getType();
245            }
246    
247            /**
248            * Sets the type of this layout.
249            *
250            * @param type the type of this layout
251            */
252            public void setType(java.lang.String type) {
253                    _layout.setType(type);
254            }
255    
256            /**
257            * Gets the type settings of this layout.
258            *
259            * @return the type settings of this layout
260            */
261            public java.lang.String getTypeSettings() {
262                    return _layout.getTypeSettings();
263            }
264    
265            /**
266            * Sets the type settings of this layout.
267            *
268            * @param typeSettings the type settings of this layout
269            */
270            public void setTypeSettings(java.lang.String typeSettings) {
271                    _layout.setTypeSettings(typeSettings);
272            }
273    
274            /**
275            * Gets the hidden of this layout.
276            *
277            * @return the hidden of this layout
278            */
279            public boolean getHidden() {
280                    return _layout.getHidden();
281            }
282    
283            /**
284            * Determines whether this layout is hidden.
285            *
286            * @return whether this layout is hidden
287            */
288            public boolean isHidden() {
289                    return _layout.isHidden();
290            }
291    
292            /**
293            * Sets whether this {$entity.humanName} is hidden.
294            *
295            * @param hidden the hidden of this layout
296            */
297            public void setHidden(boolean hidden) {
298                    _layout.setHidden(hidden);
299            }
300    
301            /**
302            * Gets the friendly u r l of this layout.
303            *
304            * @return the friendly u r l of this layout
305            */
306            public java.lang.String getFriendlyURL() {
307                    return _layout.getFriendlyURL();
308            }
309    
310            /**
311            * Sets the friendly u r l of this layout.
312            *
313            * @param friendlyURL the friendly u r l of this layout
314            */
315            public void setFriendlyURL(java.lang.String friendlyURL) {
316                    _layout.setFriendlyURL(friendlyURL);
317            }
318    
319            /**
320            * Gets the icon image of this layout.
321            *
322            * @return the icon image of this layout
323            */
324            public boolean getIconImage() {
325                    return _layout.getIconImage();
326            }
327    
328            /**
329            * Determines whether this layout is icon image.
330            *
331            * @return whether this layout is icon image
332            */
333            public boolean isIconImage() {
334                    return _layout.isIconImage();
335            }
336    
337            /**
338            * Sets whether this {$entity.humanName} is icon image.
339            *
340            * @param iconImage the icon image of this layout
341            */
342            public void setIconImage(boolean iconImage) {
343                    _layout.setIconImage(iconImage);
344            }
345    
346            /**
347            * Gets the icon image id of this layout.
348            *
349            * @return the icon image id of this layout
350            */
351            public long getIconImageId() {
352                    return _layout.getIconImageId();
353            }
354    
355            /**
356            * Sets the icon image id of this layout.
357            *
358            * @param iconImageId the icon image id of this layout
359            */
360            public void setIconImageId(long iconImageId) {
361                    _layout.setIconImageId(iconImageId);
362            }
363    
364            /**
365            * Gets the theme id of this layout.
366            *
367            * @return the theme id of this layout
368            */
369            public java.lang.String getThemeId() {
370                    return _layout.getThemeId();
371            }
372    
373            /**
374            * Sets the theme id of this layout.
375            *
376            * @param themeId the theme id of this layout
377            */
378            public void setThemeId(java.lang.String themeId) {
379                    _layout.setThemeId(themeId);
380            }
381    
382            /**
383            * Gets the color scheme id of this layout.
384            *
385            * @return the color scheme id of this layout
386            */
387            public java.lang.String getColorSchemeId() {
388                    return _layout.getColorSchemeId();
389            }
390    
391            /**
392            * Sets the color scheme id of this layout.
393            *
394            * @param colorSchemeId the color scheme id of this layout
395            */
396            public void setColorSchemeId(java.lang.String colorSchemeId) {
397                    _layout.setColorSchemeId(colorSchemeId);
398            }
399    
400            /**
401            * Gets the wap theme id of this layout.
402            *
403            * @return the wap theme id of this layout
404            */
405            public java.lang.String getWapThemeId() {
406                    return _layout.getWapThemeId();
407            }
408    
409            /**
410            * Sets the wap theme id of this layout.
411            *
412            * @param wapThemeId the wap theme id of this layout
413            */
414            public void setWapThemeId(java.lang.String wapThemeId) {
415                    _layout.setWapThemeId(wapThemeId);
416            }
417    
418            /**
419            * Gets the wap color scheme id of this layout.
420            *
421            * @return the wap color scheme id of this layout
422            */
423            public java.lang.String getWapColorSchemeId() {
424                    return _layout.getWapColorSchemeId();
425            }
426    
427            /**
428            * Sets the wap color scheme id of this layout.
429            *
430            * @param wapColorSchemeId the wap color scheme id of this layout
431            */
432            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
433                    _layout.setWapColorSchemeId(wapColorSchemeId);
434            }
435    
436            /**
437            * Gets the css of this layout.
438            *
439            * @return the css of this layout
440            */
441            public java.lang.String getCss() {
442                    return _layout.getCss();
443            }
444    
445            /**
446            * Sets the css of this layout.
447            *
448            * @param css the css of this layout
449            */
450            public void setCss(java.lang.String css) {
451                    _layout.setCss(css);
452            }
453    
454            /**
455            * Gets the priority of this layout.
456            *
457            * @return the priority of this layout
458            */
459            public int getPriority() {
460                    return _layout.getPriority();
461            }
462    
463            /**
464            * Sets the priority of this layout.
465            *
466            * @param priority the priority of this layout
467            */
468            public void setPriority(int priority) {
469                    _layout.setPriority(priority);
470            }
471    
472            /**
473            * Gets the layout prototype id of this layout.
474            *
475            * @return the layout prototype id of this layout
476            */
477            public long getLayoutPrototypeId() {
478                    return _layout.getLayoutPrototypeId();
479            }
480    
481            /**
482            * Sets the layout prototype id of this layout.
483            *
484            * @param layoutPrototypeId the layout prototype id of this layout
485            */
486            public void setLayoutPrototypeId(long layoutPrototypeId) {
487                    _layout.setLayoutPrototypeId(layoutPrototypeId);
488            }
489    
490            /**
491            * Gets the dl folder id of this layout.
492            *
493            * @return the dl folder id of this layout
494            */
495            public long getDlFolderId() {
496                    return _layout.getDlFolderId();
497            }
498    
499            /**
500            * Sets the dl folder id of this layout.
501            *
502            * @param dlFolderId the dl folder id of this layout
503            */
504            public void setDlFolderId(long dlFolderId) {
505                    _layout.setDlFolderId(dlFolderId);
506            }
507    
508            public boolean isNew() {
509                    return _layout.isNew();
510            }
511    
512            public void setNew(boolean n) {
513                    _layout.setNew(n);
514            }
515    
516            public boolean isCachedModel() {
517                    return _layout.isCachedModel();
518            }
519    
520            public void setCachedModel(boolean cachedModel) {
521                    _layout.setCachedModel(cachedModel);
522            }
523    
524            public boolean isEscapedModel() {
525                    return _layout.isEscapedModel();
526            }
527    
528            public void setEscapedModel(boolean escapedModel) {
529                    _layout.setEscapedModel(escapedModel);
530            }
531    
532            public java.io.Serializable getPrimaryKeyObj() {
533                    return _layout.getPrimaryKeyObj();
534            }
535    
536            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
537                    return _layout.getExpandoBridge();
538            }
539    
540            public void setExpandoBridgeAttributes(
541                    com.liferay.portal.service.ServiceContext serviceContext) {
542                    _layout.setExpandoBridgeAttributes(serviceContext);
543            }
544    
545            public java.lang.Object clone() {
546                    return _layout.clone();
547            }
548    
549            public int compareTo(com.liferay.portal.model.Layout layout) {
550                    return _layout.compareTo(layout);
551            }
552    
553            public int hashCode() {
554                    return _layout.hashCode();
555            }
556    
557            public com.liferay.portal.model.Layout toEscapedModel() {
558                    return _layout.toEscapedModel();
559            }
560    
561            public java.lang.String toString() {
562                    return _layout.toString();
563            }
564    
565            public java.lang.String toXmlString() {
566                    return _layout.toXmlString();
567            }
568    
569            public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
570                    throws com.liferay.portal.kernel.exception.SystemException {
571                    return _layout.getAllChildren();
572            }
573    
574            public long getAncestorLayoutId()
575                    throws com.liferay.portal.kernel.exception.PortalException,
576                            com.liferay.portal.kernel.exception.SystemException {
577                    return _layout.getAncestorLayoutId();
578            }
579    
580            public long getAncestorPlid()
581                    throws com.liferay.portal.kernel.exception.PortalException,
582                            com.liferay.portal.kernel.exception.SystemException {
583                    return _layout.getAncestorPlid();
584            }
585    
586            public java.util.List<com.liferay.portal.model.Layout> getAncestors()
587                    throws com.liferay.portal.kernel.exception.PortalException,
588                            com.liferay.portal.kernel.exception.SystemException {
589                    return _layout.getAncestors();
590            }
591    
592            public java.util.List<com.liferay.portal.model.Layout> getChildren()
593                    throws com.liferay.portal.kernel.exception.SystemException {
594                    return _layout.getChildren();
595            }
596    
597            public java.util.List<com.liferay.portal.model.Layout> getChildren(
598                    com.liferay.portal.security.permission.PermissionChecker permissionChecker)
599                    throws com.liferay.portal.kernel.exception.PortalException,
600                            com.liferay.portal.kernel.exception.SystemException {
601                    return _layout.getChildren(permissionChecker);
602            }
603    
604            public com.liferay.portal.model.ColorScheme getColorScheme()
605                    throws com.liferay.portal.kernel.exception.PortalException,
606                            com.liferay.portal.kernel.exception.SystemException {
607                    return _layout.getColorScheme();
608            }
609    
610            public java.lang.String getCssText()
611                    throws com.liferay.portal.kernel.exception.PortalException,
612                            com.liferay.portal.kernel.exception.SystemException {
613                    return _layout.getCssText();
614            }
615    
616            public com.liferay.portal.model.Group getGroup()
617                    throws com.liferay.portal.kernel.exception.PortalException,
618                            com.liferay.portal.kernel.exception.SystemException {
619                    return _layout.getGroup();
620            }
621    
622            public java.lang.String getHTMLTitle(java.util.Locale locale) {
623                    return _layout.getHTMLTitle(locale);
624            }
625    
626            public java.lang.String getHTMLTitle(java.lang.String localeLanguageId) {
627                    return _layout.getHTMLTitle(localeLanguageId);
628            }
629    
630            public com.liferay.portal.model.LayoutSet getLayoutSet()
631                    throws com.liferay.portal.kernel.exception.PortalException,
632                            com.liferay.portal.kernel.exception.SystemException {
633                    return _layout.getLayoutSet();
634            }
635    
636            public com.liferay.portal.model.LayoutType getLayoutType() {
637                    return _layout.getLayoutType();
638            }
639    
640            public java.lang.String getName(java.util.Locale locale) {
641                    return _layout.getName(locale);
642            }
643    
644            public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
645                    return _layout.getName(locale, useDefault);
646            }
647    
648            public java.lang.String getName(java.lang.String localeLanguageId) {
649                    return _layout.getName(localeLanguageId);
650            }
651    
652            public java.lang.String getName(java.lang.String localeLanguageId,
653                    boolean useDefault) {
654                    return _layout.getName(localeLanguageId, useDefault);
655            }
656    
657            public long getParentPlid()
658                    throws com.liferay.portal.kernel.exception.PortalException,
659                            com.liferay.portal.kernel.exception.SystemException {
660                    return _layout.getParentPlid();
661            }
662    
663            public java.lang.String getRegularURL(
664                    javax.servlet.http.HttpServletRequest request)
665                    throws com.liferay.portal.kernel.exception.PortalException,
666                            com.liferay.portal.kernel.exception.SystemException {
667                    return _layout.getRegularURL(request);
668            }
669    
670            public java.lang.String getResetLayoutURL(
671                    javax.servlet.http.HttpServletRequest request)
672                    throws com.liferay.portal.kernel.exception.PortalException,
673                            com.liferay.portal.kernel.exception.SystemException {
674                    return _layout.getResetLayoutURL(request);
675            }
676    
677            public java.lang.String getResetMaxStateURL(
678                    javax.servlet.http.HttpServletRequest request)
679                    throws com.liferay.portal.kernel.exception.PortalException,
680                            com.liferay.portal.kernel.exception.SystemException {
681                    return _layout.getResetMaxStateURL(request);
682            }
683    
684            public com.liferay.portal.model.Group getScopeGroup()
685                    throws com.liferay.portal.kernel.exception.PortalException,
686                            com.liferay.portal.kernel.exception.SystemException {
687                    return _layout.getScopeGroup();
688            }
689    
690            public java.lang.String getTarget() {
691                    return _layout.getTarget();
692            }
693    
694            public com.liferay.portal.model.Theme getTheme()
695                    throws com.liferay.portal.kernel.exception.PortalException,
696                            com.liferay.portal.kernel.exception.SystemException {
697                    return _layout.getTheme();
698            }
699    
700            public java.lang.String getTitle(java.util.Locale locale) {
701                    return _layout.getTitle(locale);
702            }
703    
704            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
705                    return _layout.getTitle(locale, useDefault);
706            }
707    
708            public java.lang.String getTitle(java.lang.String localeLanguageId) {
709                    return _layout.getTitle(localeLanguageId);
710            }
711    
712            public java.lang.String getTitle(java.lang.String localeLanguageId,
713                    boolean useDefault) {
714                    return _layout.getTitle(localeLanguageId, useDefault);
715            }
716    
717            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
718                    return _layout.getTypeSettingsProperties();
719            }
720    
721            public com.liferay.portal.model.ColorScheme getWapColorScheme()
722                    throws com.liferay.portal.kernel.exception.PortalException,
723                            com.liferay.portal.kernel.exception.SystemException {
724                    return _layout.getWapColorScheme();
725            }
726    
727            public com.liferay.portal.model.Theme getWapTheme()
728                    throws com.liferay.portal.kernel.exception.PortalException,
729                            com.liferay.portal.kernel.exception.SystemException {
730                    return _layout.getWapTheme();
731            }
732    
733            public boolean hasAncestor(long layoutId)
734                    throws com.liferay.portal.kernel.exception.PortalException,
735                            com.liferay.portal.kernel.exception.SystemException {
736                    return _layout.hasAncestor(layoutId);
737            }
738    
739            public boolean hasChildren()
740                    throws com.liferay.portal.kernel.exception.SystemException {
741                    return _layout.hasChildren();
742            }
743    
744            public boolean hasScopeGroup()
745                    throws com.liferay.portal.kernel.exception.PortalException,
746                            com.liferay.portal.kernel.exception.SystemException {
747                    return _layout.hasScopeGroup();
748            }
749    
750            public boolean isChildSelected(boolean selectable,
751                    com.liferay.portal.model.Layout layout)
752                    throws com.liferay.portal.kernel.exception.PortalException,
753                            com.liferay.portal.kernel.exception.SystemException {
754                    return _layout.isChildSelected(selectable, layout);
755            }
756    
757            public boolean isFirstChild() {
758                    return _layout.isFirstChild();
759            }
760    
761            public boolean isFirstParent() {
762                    return _layout.isFirstParent();
763            }
764    
765            public boolean isInheritLookAndFeel() {
766                    return _layout.isInheritLookAndFeel();
767            }
768    
769            public boolean isInheritWapLookAndFeel() {
770                    return _layout.isInheritWapLookAndFeel();
771            }
772    
773            public boolean isPublicLayout() {
774                    return _layout.isPublicLayout();
775            }
776    
777            public boolean isRootLayout() {
778                    return _layout.isRootLayout();
779            }
780    
781            public boolean isSelected(boolean selectable,
782                    com.liferay.portal.model.Layout layout, long ancestorPlid) {
783                    return _layout.isSelected(selectable, layout, ancestorPlid);
784            }
785    
786            public boolean isTypeArticle() {
787                    return _layout.isTypeArticle();
788            }
789    
790            public boolean isTypeControlPanel() {
791                    return _layout.isTypeControlPanel();
792            }
793    
794            public boolean isTypeEmbedded() {
795                    return _layout.isTypeEmbedded();
796            }
797    
798            public boolean isTypeLinkToLayout() {
799                    return _layout.isTypeLinkToLayout();
800            }
801    
802            public boolean isTypePanel() {
803                    return _layout.isTypePanel();
804            }
805    
806            public boolean isTypePortlet() {
807                    return _layout.isTypePortlet();
808            }
809    
810            public boolean isTypeURL() {
811                    return _layout.isTypeURL();
812            }
813    
814            public void setName(java.lang.String name, java.util.Locale locale) {
815                    _layout.setName(name, locale);
816            }
817    
818            public void setTitle(java.lang.String title, java.util.Locale locale) {
819                    _layout.setTitle(title, locale);
820            }
821    
822            public void setTypeSettingsProperties(
823                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
824                    _layout.setTypeSettingsProperties(typeSettingsProperties);
825            }
826    
827            public Layout getWrappedLayout() {
828                    return _layout;
829            }
830    
831            private Layout _layout;
832    }