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