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