001    /**
002     * Copyright (c) 2000-2013 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    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.LocaleException;
020    import com.liferay.portal.kernel.bean.AutoEscape;
021    import com.liferay.portal.kernel.exception.SystemException;
022    import com.liferay.portal.service.ServiceContext;
023    
024    import com.liferay.portlet.expando.model.ExpandoBridge;
025    
026    import java.io.Serializable;
027    
028    import java.util.Date;
029    import java.util.Locale;
030    import java.util.Map;
031    
032    /**
033     * The base model interface for the Layout service. Represents a row in the "Layout" database table, with each column mapped to a property of this class.
034     *
035     * <p>
036     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.LayoutModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.LayoutImpl}.
037     * </p>
038     *
039     * @author Brian Wing Shun Chan
040     * @see Layout
041     * @see com.liferay.portal.model.impl.LayoutImpl
042     * @see com.liferay.portal.model.impl.LayoutModelImpl
043     * @generated
044     */
045    @ProviderType
046    public interface LayoutModel extends BaseModel<Layout>, StagedGroupedModel {
047            /*
048             * NOTE FOR DEVELOPERS:
049             *
050             * Never modify or reference this interface directly. All methods that expect a layout model instance should use the {@link Layout} interface instead.
051             */
052    
053            /**
054             * Returns the primary key of this layout.
055             *
056             * @return the primary key of this layout
057             */
058            public long getPrimaryKey();
059    
060            /**
061             * Sets the primary key of this layout.
062             *
063             * @param primaryKey the primary key of this layout
064             */
065            public void setPrimaryKey(long primaryKey);
066    
067            /**
068             * Returns the uuid of this layout.
069             *
070             * @return the uuid of this layout
071             */
072            @AutoEscape
073            @Override
074            public String getUuid();
075    
076            /**
077             * Sets the uuid of this layout.
078             *
079             * @param uuid the uuid of this layout
080             */
081            @Override
082            public void setUuid(String uuid);
083    
084            /**
085             * Returns the plid of this layout.
086             *
087             * @return the plid of this layout
088             */
089            public long getPlid();
090    
091            /**
092             * Sets the plid of this layout.
093             *
094             * @param plid the plid of this layout
095             */
096            public void setPlid(long plid);
097    
098            /**
099             * Returns the group ID of this layout.
100             *
101             * @return the group ID of this layout
102             */
103            @Override
104            public long getGroupId();
105    
106            /**
107             * Sets the group ID of this layout.
108             *
109             * @param groupId the group ID of this layout
110             */
111            @Override
112            public void setGroupId(long groupId);
113    
114            /**
115             * Returns the company ID of this layout.
116             *
117             * @return the company ID of this layout
118             */
119            @Override
120            public long getCompanyId();
121    
122            /**
123             * Sets the company ID of this layout.
124             *
125             * @param companyId the company ID of this layout
126             */
127            @Override
128            public void setCompanyId(long companyId);
129    
130            /**
131             * Returns the user ID of this layout.
132             *
133             * @return the user ID of this layout
134             */
135            @Override
136            public long getUserId();
137    
138            /**
139             * Sets the user ID of this layout.
140             *
141             * @param userId the user ID of this layout
142             */
143            @Override
144            public void setUserId(long userId);
145    
146            /**
147             * Returns the user uuid of this layout.
148             *
149             * @return the user uuid of this layout
150             * @throws SystemException if a system exception occurred
151             */
152            @Override
153            public String getUserUuid() throws SystemException;
154    
155            /**
156             * Sets the user uuid of this layout.
157             *
158             * @param userUuid the user uuid of this layout
159             */
160            @Override
161            public void setUserUuid(String userUuid);
162    
163            /**
164             * Returns the user name of this layout.
165             *
166             * @return the user name of this layout
167             */
168            @AutoEscape
169            @Override
170            public String getUserName();
171    
172            /**
173             * Sets the user name of this layout.
174             *
175             * @param userName the user name of this layout
176             */
177            @Override
178            public void setUserName(String userName);
179    
180            /**
181             * Returns the create date of this layout.
182             *
183             * @return the create date of this layout
184             */
185            @Override
186            public Date getCreateDate();
187    
188            /**
189             * Sets the create date of this layout.
190             *
191             * @param createDate the create date of this layout
192             */
193            @Override
194            public void setCreateDate(Date createDate);
195    
196            /**
197             * Returns the modified date of this layout.
198             *
199             * @return the modified date of this layout
200             */
201            @Override
202            public Date getModifiedDate();
203    
204            /**
205             * Sets the modified date of this layout.
206             *
207             * @param modifiedDate the modified date of this layout
208             */
209            @Override
210            public void setModifiedDate(Date modifiedDate);
211    
212            /**
213             * Returns the private layout of this layout.
214             *
215             * @return the private layout of this layout
216             */
217            public boolean getPrivateLayout();
218    
219            /**
220             * Returns <code>true</code> if this layout is private layout.
221             *
222             * @return <code>true</code> if this layout is private layout; <code>false</code> otherwise
223             */
224            public boolean isPrivateLayout();
225    
226            /**
227             * Sets whether this layout is private layout.
228             *
229             * @param privateLayout the private layout of this layout
230             */
231            public void setPrivateLayout(boolean privateLayout);
232    
233            /**
234             * Returns the layout ID of this layout.
235             *
236             * @return the layout ID of this layout
237             */
238            public long getLayoutId();
239    
240            /**
241             * Sets the layout ID of this layout.
242             *
243             * @param layoutId the layout ID of this layout
244             */
245            public void setLayoutId(long layoutId);
246    
247            /**
248             * Returns the parent layout ID of this layout.
249             *
250             * @return the parent layout ID of this layout
251             */
252            public long getParentLayoutId();
253    
254            /**
255             * Sets the parent layout ID of this layout.
256             *
257             * @param parentLayoutId the parent layout ID of this layout
258             */
259            public void setParentLayoutId(long parentLayoutId);
260    
261            /**
262             * Returns the name of this layout.
263             *
264             * @return the name of this layout
265             */
266            public String getName();
267    
268            /**
269             * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
270             *
271             * @param locale the locale of the language
272             * @return the localized name of this layout
273             */
274            @AutoEscape
275            public String getName(Locale locale);
276    
277            /**
278             * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
279             *
280             * @param locale the local of the language
281             * @param useDefault whether to use the default language if no localization exists for the requested language
282             * @return the localized name of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
283             */
284            @AutoEscape
285            public String getName(Locale locale, boolean useDefault);
286    
287            /**
288             * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
289             *
290             * @param languageId the ID of the language
291             * @return the localized name of this layout
292             */
293            @AutoEscape
294            public String getName(String languageId);
295    
296            /**
297             * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
298             *
299             * @param languageId the ID of the language
300             * @param useDefault whether to use the default language if no localization exists for the requested language
301             * @return the localized name of this layout
302             */
303            @AutoEscape
304            public String getName(String languageId, boolean useDefault);
305    
306            @AutoEscape
307            public String getNameCurrentLanguageId();
308    
309            @AutoEscape
310            public String getNameCurrentValue();
311    
312            /**
313             * Returns a map of the locales and localized names of this layout.
314             *
315             * @return the locales and localized names of this layout
316             */
317            public Map<Locale, String> getNameMap();
318    
319            /**
320             * Sets the name of this layout.
321             *
322             * @param name the name of this layout
323             */
324            public void setName(String name);
325    
326            /**
327             * Sets the localized name of this layout in the language.
328             *
329             * @param name the localized name of this layout
330             * @param locale the locale of the language
331             */
332            public void setName(String name, Locale locale);
333    
334            /**
335             * Sets the localized name of this layout in the language, and sets the default locale.
336             *
337             * @param name the localized name of this layout
338             * @param locale the locale of the language
339             * @param defaultLocale the default locale
340             */
341            public void setName(String name, Locale locale, Locale defaultLocale);
342    
343            public void setNameCurrentLanguageId(String languageId);
344    
345            /**
346             * Sets the localized names of this layout from the map of locales and localized names.
347             *
348             * @param nameMap the locales and localized names of this layout
349             */
350            public void setNameMap(Map<Locale, String> nameMap);
351    
352            /**
353             * Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.
354             *
355             * @param nameMap the locales and localized names of this layout
356             * @param defaultLocale the default locale
357             */
358            public void setNameMap(Map<Locale, String> nameMap, Locale defaultLocale);
359    
360            /**
361             * Returns the title of this layout.
362             *
363             * @return the title of this layout
364             */
365            public String getTitle();
366    
367            /**
368             * Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
369             *
370             * @param locale the locale of the language
371             * @return the localized title of this layout
372             */
373            @AutoEscape
374            public String getTitle(Locale locale);
375    
376            /**
377             * Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
378             *
379             * @param locale the local of the language
380             * @param useDefault whether to use the default language if no localization exists for the requested language
381             * @return the localized title of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
382             */
383            @AutoEscape
384            public String getTitle(Locale locale, boolean useDefault);
385    
386            /**
387             * Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
388             *
389             * @param languageId the ID of the language
390             * @return the localized title of this layout
391             */
392            @AutoEscape
393            public String getTitle(String languageId);
394    
395            /**
396             * Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
397             *
398             * @param languageId the ID of the language
399             * @param useDefault whether to use the default language if no localization exists for the requested language
400             * @return the localized title of this layout
401             */
402            @AutoEscape
403            public String getTitle(String languageId, boolean useDefault);
404    
405            @AutoEscape
406            public String getTitleCurrentLanguageId();
407    
408            @AutoEscape
409            public String getTitleCurrentValue();
410    
411            /**
412             * Returns a map of the locales and localized titles of this layout.
413             *
414             * @return the locales and localized titles of this layout
415             */
416            public Map<Locale, String> getTitleMap();
417    
418            /**
419             * Sets the title of this layout.
420             *
421             * @param title the title of this layout
422             */
423            public void setTitle(String title);
424    
425            /**
426             * Sets the localized title of this layout in the language.
427             *
428             * @param title the localized title of this layout
429             * @param locale the locale of the language
430             */
431            public void setTitle(String title, Locale locale);
432    
433            /**
434             * Sets the localized title of this layout in the language, and sets the default locale.
435             *
436             * @param title the localized title of this layout
437             * @param locale the locale of the language
438             * @param defaultLocale the default locale
439             */
440            public void setTitle(String title, Locale locale, Locale defaultLocale);
441    
442            public void setTitleCurrentLanguageId(String languageId);
443    
444            /**
445             * Sets the localized titles of this layout from the map of locales and localized titles.
446             *
447             * @param titleMap the locales and localized titles of this layout
448             */
449            public void setTitleMap(Map<Locale, String> titleMap);
450    
451            /**
452             * Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
453             *
454             * @param titleMap the locales and localized titles of this layout
455             * @param defaultLocale the default locale
456             */
457            public void setTitleMap(Map<Locale, String> titleMap, Locale defaultLocale);
458    
459            /**
460             * Returns the description of this layout.
461             *
462             * @return the description of this layout
463             */
464            public String getDescription();
465    
466            /**
467             * Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
468             *
469             * @param locale the locale of the language
470             * @return the localized description of this layout
471             */
472            @AutoEscape
473            public String getDescription(Locale locale);
474    
475            /**
476             * Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
477             *
478             * @param locale the local of the language
479             * @param useDefault whether to use the default language if no localization exists for the requested language
480             * @return the localized description of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
481             */
482            @AutoEscape
483            public String getDescription(Locale locale, boolean useDefault);
484    
485            /**
486             * Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
487             *
488             * @param languageId the ID of the language
489             * @return the localized description of this layout
490             */
491            @AutoEscape
492            public String getDescription(String languageId);
493    
494            /**
495             * Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
496             *
497             * @param languageId the ID of the language
498             * @param useDefault whether to use the default language if no localization exists for the requested language
499             * @return the localized description of this layout
500             */
501            @AutoEscape
502            public String getDescription(String languageId, boolean useDefault);
503    
504            @AutoEscape
505            public String getDescriptionCurrentLanguageId();
506    
507            @AutoEscape
508            public String getDescriptionCurrentValue();
509    
510            /**
511             * Returns a map of the locales and localized descriptions of this layout.
512             *
513             * @return the locales and localized descriptions of this layout
514             */
515            public Map<Locale, String> getDescriptionMap();
516    
517            /**
518             * Sets the description of this layout.
519             *
520             * @param description the description of this layout
521             */
522            public void setDescription(String description);
523    
524            /**
525             * Sets the localized description of this layout in the language.
526             *
527             * @param description the localized description of this layout
528             * @param locale the locale of the language
529             */
530            public void setDescription(String description, Locale locale);
531    
532            /**
533             * Sets the localized description of this layout in the language, and sets the default locale.
534             *
535             * @param description the localized description of this layout
536             * @param locale the locale of the language
537             * @param defaultLocale the default locale
538             */
539            public void setDescription(String description, Locale locale,
540                    Locale defaultLocale);
541    
542            public void setDescriptionCurrentLanguageId(String languageId);
543    
544            /**
545             * Sets the localized descriptions of this layout from the map of locales and localized descriptions.
546             *
547             * @param descriptionMap the locales and localized descriptions of this layout
548             */
549            public void setDescriptionMap(Map<Locale, String> descriptionMap);
550    
551            /**
552             * Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
553             *
554             * @param descriptionMap the locales and localized descriptions of this layout
555             * @param defaultLocale the default locale
556             */
557            public void setDescriptionMap(Map<Locale, String> descriptionMap,
558                    Locale defaultLocale);
559    
560            /**
561             * Returns the keywords of this layout.
562             *
563             * @return the keywords of this layout
564             */
565            public String getKeywords();
566    
567            /**
568             * Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
569             *
570             * @param locale the locale of the language
571             * @return the localized keywords of this layout
572             */
573            @AutoEscape
574            public String getKeywords(Locale locale);
575    
576            /**
577             * Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
578             *
579             * @param locale the local of the language
580             * @param useDefault whether to use the default language if no localization exists for the requested language
581             * @return the localized keywords of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
582             */
583            @AutoEscape
584            public String getKeywords(Locale locale, boolean useDefault);
585    
586            /**
587             * Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
588             *
589             * @param languageId the ID of the language
590             * @return the localized keywords of this layout
591             */
592            @AutoEscape
593            public String getKeywords(String languageId);
594    
595            /**
596             * Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
597             *
598             * @param languageId the ID of the language
599             * @param useDefault whether to use the default language if no localization exists for the requested language
600             * @return the localized keywords of this layout
601             */
602            @AutoEscape
603            public String getKeywords(String languageId, boolean useDefault);
604    
605            @AutoEscape
606            public String getKeywordsCurrentLanguageId();
607    
608            @AutoEscape
609            public String getKeywordsCurrentValue();
610    
611            /**
612             * Returns a map of the locales and localized keywordses of this layout.
613             *
614             * @return the locales and localized keywordses of this layout
615             */
616            public Map<Locale, String> getKeywordsMap();
617    
618            /**
619             * Sets the keywords of this layout.
620             *
621             * @param keywords the keywords of this layout
622             */
623            public void setKeywords(String keywords);
624    
625            /**
626             * Sets the localized keywords of this layout in the language.
627             *
628             * @param keywords the localized keywords of this layout
629             * @param locale the locale of the language
630             */
631            public void setKeywords(String keywords, Locale locale);
632    
633            /**
634             * Sets the localized keywords of this layout in the language, and sets the default locale.
635             *
636             * @param keywords the localized keywords of this layout
637             * @param locale the locale of the language
638             * @param defaultLocale the default locale
639             */
640            public void setKeywords(String keywords, Locale locale, Locale defaultLocale);
641    
642            public void setKeywordsCurrentLanguageId(String languageId);
643    
644            /**
645             * Sets the localized keywordses of this layout from the map of locales and localized keywordses.
646             *
647             * @param keywordsMap the locales and localized keywordses of this layout
648             */
649            public void setKeywordsMap(Map<Locale, String> keywordsMap);
650    
651            /**
652             * Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
653             *
654             * @param keywordsMap the locales and localized keywordses of this layout
655             * @param defaultLocale the default locale
656             */
657            public void setKeywordsMap(Map<Locale, String> keywordsMap,
658                    Locale defaultLocale);
659    
660            /**
661             * Returns the robots of this layout.
662             *
663             * @return the robots of this layout
664             */
665            public String getRobots();
666    
667            /**
668             * Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
669             *
670             * @param locale the locale of the language
671             * @return the localized robots of this layout
672             */
673            @AutoEscape
674            public String getRobots(Locale locale);
675    
676            /**
677             * Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
678             *
679             * @param locale the local of the language
680             * @param useDefault whether to use the default language if no localization exists for the requested language
681             * @return the localized robots of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
682             */
683            @AutoEscape
684            public String getRobots(Locale locale, boolean useDefault);
685    
686            /**
687             * Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
688             *
689             * @param languageId the ID of the language
690             * @return the localized robots of this layout
691             */
692            @AutoEscape
693            public String getRobots(String languageId);
694    
695            /**
696             * Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
697             *
698             * @param languageId the ID of the language
699             * @param useDefault whether to use the default language if no localization exists for the requested language
700             * @return the localized robots of this layout
701             */
702            @AutoEscape
703            public String getRobots(String languageId, boolean useDefault);
704    
705            @AutoEscape
706            public String getRobotsCurrentLanguageId();
707    
708            @AutoEscape
709            public String getRobotsCurrentValue();
710    
711            /**
712             * Returns a map of the locales and localized robotses of this layout.
713             *
714             * @return the locales and localized robotses of this layout
715             */
716            public Map<Locale, String> getRobotsMap();
717    
718            /**
719             * Sets the robots of this layout.
720             *
721             * @param robots the robots of this layout
722             */
723            public void setRobots(String robots);
724    
725            /**
726             * Sets the localized robots of this layout in the language.
727             *
728             * @param robots the localized robots of this layout
729             * @param locale the locale of the language
730             */
731            public void setRobots(String robots, Locale locale);
732    
733            /**
734             * Sets the localized robots of this layout in the language, and sets the default locale.
735             *
736             * @param robots the localized robots of this layout
737             * @param locale the locale of the language
738             * @param defaultLocale the default locale
739             */
740            public void setRobots(String robots, Locale locale, Locale defaultLocale);
741    
742            public void setRobotsCurrentLanguageId(String languageId);
743    
744            /**
745             * Sets the localized robotses of this layout from the map of locales and localized robotses.
746             *
747             * @param robotsMap the locales and localized robotses of this layout
748             */
749            public void setRobotsMap(Map<Locale, String> robotsMap);
750    
751            /**
752             * Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
753             *
754             * @param robotsMap the locales and localized robotses of this layout
755             * @param defaultLocale the default locale
756             */
757            public void setRobotsMap(Map<Locale, String> robotsMap, Locale defaultLocale);
758    
759            /**
760             * Returns the type of this layout.
761             *
762             * @return the type of this layout
763             */
764            @AutoEscape
765            public String getType();
766    
767            /**
768             * Sets the type of this layout.
769             *
770             * @param type the type of this layout
771             */
772            public void setType(String type);
773    
774            /**
775             * Returns the type settings of this layout.
776             *
777             * @return the type settings of this layout
778             */
779            @AutoEscape
780            public String getTypeSettings();
781    
782            /**
783             * Sets the type settings of this layout.
784             *
785             * @param typeSettings the type settings of this layout
786             */
787            public void setTypeSettings(String typeSettings);
788    
789            /**
790             * Returns the hidden of this layout.
791             *
792             * @return the hidden of this layout
793             */
794            public boolean getHidden();
795    
796            /**
797             * Returns <code>true</code> if this layout is hidden.
798             *
799             * @return <code>true</code> if this layout is hidden; <code>false</code> otherwise
800             */
801            public boolean isHidden();
802    
803            /**
804             * Sets whether this layout is hidden.
805             *
806             * @param hidden the hidden of this layout
807             */
808            public void setHidden(boolean hidden);
809    
810            /**
811             * Returns the friendly u r l of this layout.
812             *
813             * @return the friendly u r l of this layout
814             */
815            @AutoEscape
816            public String getFriendlyURL();
817    
818            /**
819             * Sets the friendly u r l of this layout.
820             *
821             * @param friendlyURL the friendly u r l of this layout
822             */
823            public void setFriendlyURL(String friendlyURL);
824    
825            /**
826             * Returns the icon image of this layout.
827             *
828             * @return the icon image of this layout
829             */
830            public boolean getIconImage();
831    
832            /**
833             * Returns <code>true</code> if this layout is icon image.
834             *
835             * @return <code>true</code> if this layout is icon image; <code>false</code> otherwise
836             */
837            public boolean isIconImage();
838    
839            /**
840             * Sets whether this layout is icon image.
841             *
842             * @param iconImage the icon image of this layout
843             */
844            public void setIconImage(boolean iconImage);
845    
846            /**
847             * Returns the icon image ID of this layout.
848             *
849             * @return the icon image ID of this layout
850             */
851            public long getIconImageId();
852    
853            /**
854             * Sets the icon image ID of this layout.
855             *
856             * @param iconImageId the icon image ID of this layout
857             */
858            public void setIconImageId(long iconImageId);
859    
860            /**
861             * Returns the theme ID of this layout.
862             *
863             * @return the theme ID of this layout
864             */
865            @AutoEscape
866            public String getThemeId();
867    
868            /**
869             * Sets the theme ID of this layout.
870             *
871             * @param themeId the theme ID of this layout
872             */
873            public void setThemeId(String themeId);
874    
875            /**
876             * Returns the color scheme ID of this layout.
877             *
878             * @return the color scheme ID of this layout
879             */
880            @AutoEscape
881            public String getColorSchemeId();
882    
883            /**
884             * Sets the color scheme ID of this layout.
885             *
886             * @param colorSchemeId the color scheme ID of this layout
887             */
888            public void setColorSchemeId(String colorSchemeId);
889    
890            /**
891             * Returns the wap theme ID of this layout.
892             *
893             * @return the wap theme ID of this layout
894             */
895            @AutoEscape
896            public String getWapThemeId();
897    
898            /**
899             * Sets the wap theme ID of this layout.
900             *
901             * @param wapThemeId the wap theme ID of this layout
902             */
903            public void setWapThemeId(String wapThemeId);
904    
905            /**
906             * Returns the wap color scheme ID of this layout.
907             *
908             * @return the wap color scheme ID of this layout
909             */
910            @AutoEscape
911            public String getWapColorSchemeId();
912    
913            /**
914             * Sets the wap color scheme ID of this layout.
915             *
916             * @param wapColorSchemeId the wap color scheme ID of this layout
917             */
918            public void setWapColorSchemeId(String wapColorSchemeId);
919    
920            /**
921             * Returns the css of this layout.
922             *
923             * @return the css of this layout
924             */
925            @AutoEscape
926            public String getCss();
927    
928            /**
929             * Sets the css of this layout.
930             *
931             * @param css the css of this layout
932             */
933            public void setCss(String css);
934    
935            /**
936             * Returns the priority of this layout.
937             *
938             * @return the priority of this layout
939             */
940            public int getPriority();
941    
942            /**
943             * Sets the priority of this layout.
944             *
945             * @param priority the priority of this layout
946             */
947            public void setPriority(int priority);
948    
949            /**
950             * Returns the layout prototype uuid of this layout.
951             *
952             * @return the layout prototype uuid of this layout
953             */
954            @AutoEscape
955            public String getLayoutPrototypeUuid();
956    
957            /**
958             * Sets the layout prototype uuid of this layout.
959             *
960             * @param layoutPrototypeUuid the layout prototype uuid of this layout
961             */
962            public void setLayoutPrototypeUuid(String layoutPrototypeUuid);
963    
964            /**
965             * Returns the layout prototype link enabled of this layout.
966             *
967             * @return the layout prototype link enabled of this layout
968             */
969            public boolean getLayoutPrototypeLinkEnabled();
970    
971            /**
972             * Returns <code>true</code> if this layout is layout prototype link enabled.
973             *
974             * @return <code>true</code> if this layout is layout prototype link enabled; <code>false</code> otherwise
975             */
976            public boolean isLayoutPrototypeLinkEnabled();
977    
978            /**
979             * Sets whether this layout is layout prototype link enabled.
980             *
981             * @param layoutPrototypeLinkEnabled the layout prototype link enabled of this layout
982             */
983            public void setLayoutPrototypeLinkEnabled(
984                    boolean layoutPrototypeLinkEnabled);
985    
986            /**
987             * Returns the source prototype layout uuid of this layout.
988             *
989             * @return the source prototype layout uuid of this layout
990             */
991            @AutoEscape
992            public String getSourcePrototypeLayoutUuid();
993    
994            /**
995             * Sets the source prototype layout uuid of this layout.
996             *
997             * @param sourcePrototypeLayoutUuid the source prototype layout uuid of this layout
998             */
999            public void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid);
1000    
1001            @Override
1002            public boolean isNew();
1003    
1004            @Override
1005            public void setNew(boolean n);
1006    
1007            @Override
1008            public boolean isCachedModel();
1009    
1010            @Override
1011            public void setCachedModel(boolean cachedModel);
1012    
1013            @Override
1014            public boolean isEscapedModel();
1015    
1016            @Override
1017            public Serializable getPrimaryKeyObj();
1018    
1019            @Override
1020            public void setPrimaryKeyObj(Serializable primaryKeyObj);
1021    
1022            @Override
1023            public ExpandoBridge getExpandoBridge();
1024    
1025            @Override
1026            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
1027    
1028            @Override
1029            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
1030    
1031            @Override
1032            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
1033    
1034            public String[] getAvailableLanguageIds();
1035    
1036            public String getDefaultLanguageId();
1037    
1038            public void prepareLocalizedFieldsForImport() throws LocaleException;
1039    
1040            public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
1041                    throws LocaleException;
1042    
1043            @Override
1044            public Object clone();
1045    
1046            @Override
1047            public int compareTo(Layout layout);
1048    
1049            @Override
1050            public int hashCode();
1051    
1052            @Override
1053            public CacheModel<Layout> toCacheModel();
1054    
1055            @Override
1056            public Layout toEscapedModel();
1057    
1058            @Override
1059            public Layout toUnescapedModel();
1060    
1061            @Override
1062            public String toString();
1063    
1064            @Override
1065            public String toXmlString();
1066    }