1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="Layout.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This interface is a model that represents the Layout table in the
27   * database.
28   * </p>
29   *
30   * <p>
31   * Customize {@link com.liferay.portal.model.impl.LayoutImpl} and rerun the
32   * ServiceBuilder to generate the new methods.
33   * </p>
34   *
35   * @author    Brian Wing Shun Chan
36   * @see       LayoutModel
37   * @see       com.liferay.portal.model.impl.LayoutImpl
38   * @see       com.liferay.portal.model.impl.LayoutModelImpl
39   * @generated
40   */
41  public interface Layout extends LayoutModel {
42      public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
43          throws com.liferay.portal.SystemException;
44  
45      public long getAncestorLayoutId();
46  
47      public long getAncestorPlid();
48  
49      public java.util.List<com.liferay.portal.model.Layout> getAncestors()
50          throws com.liferay.portal.PortalException,
51              com.liferay.portal.SystemException;
52  
53      public java.util.List<com.liferay.portal.model.Layout> getChildren()
54          throws com.liferay.portal.SystemException;
55  
56      public java.util.List<com.liferay.portal.model.Layout> getChildren(
57          com.liferay.portal.security.permission.PermissionChecker permissionChecker)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.SystemException;
60  
61      public com.liferay.portal.model.ColorScheme getColorScheme()
62          throws com.liferay.portal.SystemException;
63  
64      public java.lang.String getCssText();
65  
66      public com.liferay.portal.model.Group getGroup();
67  
68      public java.lang.String getHTMLTitle(java.util.Locale locale);
69  
70      public java.lang.String getHTMLTitle(java.lang.String localeLanguageId);
71  
72      public com.liferay.portal.model.LayoutSet getLayoutSet();
73  
74      public com.liferay.portal.model.LayoutType getLayoutType();
75  
76      public java.lang.String getName(java.util.Locale locale);
77  
78      public java.lang.String getName(java.util.Locale locale, boolean useDefault);
79  
80      public java.lang.String getName(java.lang.String localeLanguageId);
81  
82      public java.lang.String getName(java.lang.String localeLanguageId,
83          boolean useDefault);
84  
85      public long getParentPlid()
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException;
88  
89      public java.lang.String getRegularURL(
90          javax.servlet.http.HttpServletRequest request)
91          throws com.liferay.portal.SystemException;
92  
93      public java.lang.String getResetLayoutURL(
94          javax.servlet.http.HttpServletRequest request)
95          throws com.liferay.portal.SystemException;
96  
97      public java.lang.String getResetMaxStateURL(
98          javax.servlet.http.HttpServletRequest request)
99          throws com.liferay.portal.SystemException;
100 
101     public com.liferay.portal.model.Group getScopeGroup()
102         throws com.liferay.portal.PortalException,
103             com.liferay.portal.SystemException;
104 
105     public java.lang.String getTarget();
106 
107     public com.liferay.portal.model.Theme getTheme()
108         throws com.liferay.portal.SystemException;
109 
110     public java.lang.String getTitle(java.util.Locale locale);
111 
112     public java.lang.String getTitle(java.util.Locale locale, boolean useDefault);
113 
114     public java.lang.String getTitle(java.lang.String localeLanguageId);
115 
116     public java.lang.String getTitle(java.lang.String localeLanguageId,
117         boolean useDefault);
118 
119     public java.lang.String getTypeSettings();
120 
121     public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
122 
123     public com.liferay.portal.model.ColorScheme getWapColorScheme()
124         throws com.liferay.portal.SystemException;
125 
126     public com.liferay.portal.model.Theme getWapTheme()
127         throws com.liferay.portal.SystemException;
128 
129     public boolean hasAncestor(long layoutId)
130         throws com.liferay.portal.PortalException,
131             com.liferay.portal.SystemException;
132 
133     public boolean hasScopeGroup()
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException;
136 
137     public boolean isChildSelected(boolean selectable,
138         com.liferay.portal.model.Layout layout);
139 
140     public boolean isFirstChild();
141 
142     public boolean isFirstParent();
143 
144     public boolean isInheritLookAndFeel();
145 
146     public boolean isInheritWapLookAndFeel();
147 
148     public boolean isPublicLayout();
149 
150     public boolean isRootLayout();
151 
152     public boolean isSelected(boolean selectable,
153         com.liferay.portal.model.Layout layout, long ancestorPlid);
154 
155     public boolean isTypeArticle();
156 
157     public boolean isTypeControlPanel();
158 
159     public boolean isTypeEmbedded();
160 
161     public boolean isTypeLinkToLayout();
162 
163     public boolean isTypePanel();
164 
165     public boolean isTypePortlet();
166 
167     public boolean isTypeURL();
168 
169     public void setName(java.lang.String name, java.util.Locale locale);
170 
171     public void setTitle(java.lang.String title, java.util.Locale locale);
172 
173     public void setTypeSettings(java.lang.String typeSettings);
174 
175     public void setTypeSettingsProperties(
176         com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
177 }