001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * The extended model interface for the Layout service. Represents a row in the "Layout" database table, with each column mapped to a property of this class.
019     *
020     * @author Brian Wing Shun Chan
021     * @see LayoutModel
022     * @see com.liferay.portal.model.impl.LayoutImpl
023     * @see com.liferay.portal.model.impl.LayoutModelImpl
024     * @generated
025     */
026    public interface Layout extends LayoutModel, PersistedModel {
027            /*
028             * NOTE FOR DEVELOPERS:
029             *
030             * Never modify this interface directly. Add methods to {@link com.liferay.portal.model.impl.LayoutImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
031             */
032            public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
033                    throws com.liferay.portal.kernel.exception.SystemException;
034    
035            public long getAncestorLayoutId()
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException;
038    
039            public long getAncestorPlid()
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException;
042    
043            public java.util.List<com.liferay.portal.model.Layout> getAncestors()
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException;
046    
047            public java.util.List<com.liferay.portal.model.Layout> getChildren()
048                    throws com.liferay.portal.kernel.exception.SystemException;
049    
050            public java.util.List<com.liferay.portal.model.Layout> getChildren(
051                    com.liferay.portal.security.permission.PermissionChecker permissionChecker)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException;
054    
055            public com.liferay.portal.model.ColorScheme getColorScheme()
056                    throws com.liferay.portal.kernel.exception.PortalException,
057                            com.liferay.portal.kernel.exception.SystemException;
058    
059            public java.lang.String getCssText()
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException;
062    
063            public com.liferay.portal.model.Group getGroup()
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException;
066    
067            public java.lang.String getHTMLTitle(java.util.Locale locale);
068    
069            public java.lang.String getHTMLTitle(java.lang.String localeLanguageId);
070    
071            public com.liferay.portal.model.LayoutSet getLayoutSet()
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException;
074    
075            public com.liferay.portal.model.LayoutType getLayoutType();
076    
077            public java.lang.String getName(java.util.Locale locale);
078    
079            public java.lang.String getName(java.util.Locale locale, boolean useDefault);
080    
081            public java.lang.String getName(java.lang.String localeLanguageId);
082    
083            public java.lang.String getName(java.lang.String localeLanguageId,
084                    boolean useDefault);
085    
086            public long getParentPlid()
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException;
089    
090            public java.lang.String getRegularURL(
091                    javax.servlet.http.HttpServletRequest request)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException;
094    
095            public java.lang.String getResetLayoutURL(
096                    javax.servlet.http.HttpServletRequest request)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException;
099    
100            public java.lang.String getResetMaxStateURL(
101                    javax.servlet.http.HttpServletRequest request)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException;
104    
105            public com.liferay.portal.model.Group getScopeGroup()
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException;
108    
109            public java.lang.String getTarget();
110    
111            public com.liferay.portal.model.Theme getTheme()
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException;
114    
115            public java.lang.String getTitle(java.util.Locale locale);
116    
117            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault);
118    
119            public java.lang.String getTitle(java.lang.String localeLanguageId);
120    
121            public java.lang.String getTitle(java.lang.String localeLanguageId,
122                    boolean useDefault);
123    
124            public java.lang.String getTypeSettings();
125    
126            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
127    
128            public com.liferay.portal.model.ColorScheme getWapColorScheme()
129                    throws com.liferay.portal.kernel.exception.PortalException,
130                            com.liferay.portal.kernel.exception.SystemException;
131    
132            public com.liferay.portal.model.Theme getWapTheme()
133                    throws com.liferay.portal.kernel.exception.PortalException,
134                            com.liferay.portal.kernel.exception.SystemException;
135    
136            public boolean hasAncestor(long layoutId)
137                    throws com.liferay.portal.kernel.exception.PortalException,
138                            com.liferay.portal.kernel.exception.SystemException;
139    
140            public boolean hasChildren()
141                    throws com.liferay.portal.kernel.exception.SystemException;
142    
143            public boolean hasScopeGroup()
144                    throws com.liferay.portal.kernel.exception.PortalException,
145                            com.liferay.portal.kernel.exception.SystemException;
146    
147            public boolean isChildSelected(boolean selectable,
148                    com.liferay.portal.model.Layout layout)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException;
151    
152            public boolean isFirstChild();
153    
154            public boolean isFirstParent();
155    
156            public boolean isInheritLookAndFeel();
157    
158            public boolean isInheritWapLookAndFeel();
159    
160            public boolean isPublicLayout();
161    
162            public boolean isRootLayout();
163    
164            public boolean isSelected(boolean selectable,
165                    com.liferay.portal.model.Layout layout, long ancestorPlid);
166    
167            public boolean isTypeArticle();
168    
169            public boolean isTypeControlPanel();
170    
171            public boolean isTypeEmbedded();
172    
173            public boolean isTypeLinkToLayout();
174    
175            public boolean isTypePanel();
176    
177            public boolean isTypePortlet();
178    
179            public boolean isTypeURL();
180    
181            public void setName(java.lang.String name, java.util.Locale locale);
182    
183            public void setTitle(java.lang.String title, java.util.Locale locale);
184    
185            public void setTypeSettings(java.lang.String typeSettings);
186    
187            public void setTypeSettingsProperties(
188                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
189    }