001
014
015 package com.liferay.portal.model;
016
017
026 public interface Layout extends LayoutModel, PersistedModel {
027
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 }