1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="Layout.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This interface is a model that represents the Layout table in the
28   * database.
29   * </p>
30   *
31   * <p>
32   * Customize {@link com.liferay.portal.model.impl.LayoutImpl} and rerun the
33   * ServiceBuilder to generate the new methods.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       LayoutModel
38   * @see       com.liferay.portal.model.impl.LayoutImpl
39   * @see       com.liferay.portal.model.impl.LayoutModelImpl
40   * @generated
41   */
42  public interface Layout extends LayoutModel {
43      public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
44          throws com.liferay.portal.kernel.exception.SystemException;
45  
46      public long getAncestorLayoutId()
47          throws com.liferay.portal.kernel.exception.PortalException,
48              com.liferay.portal.kernel.exception.SystemException;
49  
50      public long getAncestorPlid()
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException;
53  
54      public java.util.List<com.liferay.portal.model.Layout> getAncestors()
55          throws com.liferay.portal.kernel.exception.PortalException,
56              com.liferay.portal.kernel.exception.SystemException;
57  
58      public java.util.List<com.liferay.portal.model.Layout> getChildren()
59          throws com.liferay.portal.kernel.exception.SystemException;
60  
61      public java.util.List<com.liferay.portal.model.Layout> getChildren(
62          com.liferay.portal.security.permission.PermissionChecker permissionChecker)
63          throws com.liferay.portal.kernel.exception.PortalException,
64              com.liferay.portal.kernel.exception.SystemException;
65  
66      public com.liferay.portal.model.ColorScheme getColorScheme()
67          throws com.liferay.portal.kernel.exception.PortalException,
68              com.liferay.portal.kernel.exception.SystemException;
69  
70      public java.lang.String getCssText()
71          throws com.liferay.portal.kernel.exception.PortalException,
72              com.liferay.portal.kernel.exception.SystemException;
73  
74      public com.liferay.portal.model.Group getGroup()
75          throws com.liferay.portal.kernel.exception.PortalException,
76              com.liferay.portal.kernel.exception.SystemException;
77  
78      public java.lang.String getHTMLTitle(java.util.Locale locale);
79  
80      public java.lang.String getHTMLTitle(java.lang.String localeLanguageId);
81  
82      public com.liferay.portal.model.LayoutSet getLayoutSet()
83          throws com.liferay.portal.kernel.exception.PortalException,
84              com.liferay.portal.kernel.exception.SystemException;
85  
86      public com.liferay.portal.model.LayoutType getLayoutType();
87  
88      public java.lang.String getName(java.util.Locale locale);
89  
90      public java.lang.String getName(java.util.Locale locale, boolean useDefault);
91  
92      public java.lang.String getName(java.lang.String localeLanguageId);
93  
94      public java.lang.String getName(java.lang.String localeLanguageId,
95          boolean useDefault);
96  
97      public long getParentPlid()
98          throws com.liferay.portal.kernel.exception.PortalException,
99              com.liferay.portal.kernel.exception.SystemException;
100 
101     public java.lang.String getRegularURL(
102         javax.servlet.http.HttpServletRequest request)
103         throws com.liferay.portal.kernel.exception.PortalException,
104             com.liferay.portal.kernel.exception.SystemException;
105 
106     public java.lang.String getResetLayoutURL(
107         javax.servlet.http.HttpServletRequest request)
108         throws com.liferay.portal.kernel.exception.PortalException,
109             com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.lang.String getResetMaxStateURL(
112         javax.servlet.http.HttpServletRequest request)
113         throws com.liferay.portal.kernel.exception.PortalException,
114             com.liferay.portal.kernel.exception.SystemException;
115 
116     public com.liferay.portal.model.Group getScopeGroup()
117         throws com.liferay.portal.kernel.exception.PortalException,
118             com.liferay.portal.kernel.exception.SystemException;
119 
120     public java.lang.String getTarget();
121 
122     public com.liferay.portal.model.Theme getTheme()
123         throws com.liferay.portal.kernel.exception.PortalException,
124             com.liferay.portal.kernel.exception.SystemException;
125 
126     public java.lang.String getTitle(java.util.Locale locale);
127 
128     public java.lang.String getTitle(java.util.Locale locale, boolean useDefault);
129 
130     public java.lang.String getTitle(java.lang.String localeLanguageId);
131 
132     public java.lang.String getTitle(java.lang.String localeLanguageId,
133         boolean useDefault);
134 
135     public java.lang.String getTypeSettings();
136 
137     public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
138 
139     public com.liferay.portal.model.ColorScheme getWapColorScheme()
140         throws com.liferay.portal.kernel.exception.PortalException,
141             com.liferay.portal.kernel.exception.SystemException;
142 
143     public com.liferay.portal.model.Theme getWapTheme()
144         throws com.liferay.portal.kernel.exception.PortalException,
145             com.liferay.portal.kernel.exception.SystemException;
146 
147     public boolean hasAncestor(long layoutId)
148         throws com.liferay.portal.kernel.exception.PortalException,
149             com.liferay.portal.kernel.exception.SystemException;
150 
151     public boolean hasChildren()
152         throws com.liferay.portal.kernel.exception.SystemException;
153 
154     public boolean hasScopeGroup()
155         throws com.liferay.portal.kernel.exception.PortalException,
156             com.liferay.portal.kernel.exception.SystemException;
157 
158     public boolean isChildSelected(boolean selectable,
159         com.liferay.portal.model.Layout layout)
160         throws com.liferay.portal.kernel.exception.PortalException,
161             com.liferay.portal.kernel.exception.SystemException;
162 
163     public boolean isFirstChild();
164 
165     public boolean isFirstParent();
166 
167     public boolean isInheritLookAndFeel();
168 
169     public boolean isInheritWapLookAndFeel();
170 
171     public boolean isPublicLayout();
172 
173     public boolean isRootLayout();
174 
175     public boolean isSelected(boolean selectable,
176         com.liferay.portal.model.Layout layout, long ancestorPlid);
177 
178     public boolean isTypeArticle();
179 
180     public boolean isTypeControlPanel();
181 
182     public boolean isTypeEmbedded();
183 
184     public boolean isTypeLinkToLayout();
185 
186     public boolean isTypePanel();
187 
188     public boolean isTypePortlet();
189 
190     public boolean isTypeURL();
191 
192     public void setName(java.lang.String name, java.util.Locale locale);
193 
194     public void setTitle(java.lang.String title, java.util.Locale locale);
195 
196     public void setTypeSettings(java.lang.String typeSettings);
197 
198     public void setTypeSettingsProperties(
199         com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
200 }