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