001
014
015 package com.liferay.portal.model;
016
017 import com.liferay.portal.kernel.util.Accessor;
018
019
028 public interface Layout extends LayoutModel, PersistedModel {
029
034 public static final Accessor<Layout, Long> LAYOUT_ID_ACCESSOR = new Accessor<Layout, Long>() {
035 public Long get(Layout layout) {
036 return layout.getLayoutId();
037 }
038 };
039
040 public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
041 throws com.liferay.portal.kernel.exception.SystemException;
042
043 public long getAncestorLayoutId()
044 throws com.liferay.portal.kernel.exception.PortalException,
045 com.liferay.portal.kernel.exception.SystemException;
046
047 public long getAncestorPlid()
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException;
050
051 public java.util.List<com.liferay.portal.model.Layout> getAncestors()
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException;
054
055 public java.util.List<com.liferay.portal.model.Layout> getChildren()
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 public java.util.List<com.liferay.portal.model.Layout> getChildren(
059 com.liferay.portal.security.permission.PermissionChecker permissionChecker)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException;
062
063 public com.liferay.portal.model.ColorScheme getColorScheme()
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException;
066
067 public java.lang.String getCssText()
068 throws com.liferay.portal.kernel.exception.PortalException,
069 com.liferay.portal.kernel.exception.SystemException;
070
071 public com.liferay.portal.model.Group getGroup()
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException;
074
075 public java.lang.String getHTMLTitle(java.util.Locale locale);
076
077 public java.lang.String getHTMLTitle(java.lang.String localeLanguageId);
078
079 public com.liferay.portal.model.LayoutSet getLayoutSet()
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException;
082
083 public com.liferay.portal.model.LayoutType getLayoutType();
084
085 public long getParentPlid()
086 throws com.liferay.portal.kernel.exception.PortalException,
087 com.liferay.portal.kernel.exception.SystemException;
088
089 public java.lang.String getRegularURL(
090 javax.servlet.http.HttpServletRequest request)
091 throws com.liferay.portal.kernel.exception.PortalException,
092 com.liferay.portal.kernel.exception.SystemException;
093
094 public java.lang.String getResetLayoutURL(
095 javax.servlet.http.HttpServletRequest request)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException;
098
099 public java.lang.String getResetMaxStateURL(
100 javax.servlet.http.HttpServletRequest request)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException;
103
104 public com.liferay.portal.model.Group getScopeGroup()
105 throws com.liferay.portal.kernel.exception.PortalException,
106 com.liferay.portal.kernel.exception.SystemException;
107
108 public java.lang.String getTarget();
109
110 public com.liferay.portal.model.Theme getTheme()
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException;
113
114 public java.lang.String getThemeSetting(java.lang.String key,
115 java.lang.String device);
116
117 public java.lang.String getTypeSettings();
118
119 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
120
121 public java.lang.String getTypeSettingsProperty(java.lang.String key);
122
123 public com.liferay.portal.model.ColorScheme getWapColorScheme()
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException;
126
127 public com.liferay.portal.model.Theme getWapTheme()
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException;
130
131 public boolean hasAncestor(long layoutId)
132 throws com.liferay.portal.kernel.exception.PortalException,
133 com.liferay.portal.kernel.exception.SystemException;
134
135 public boolean hasChildren()
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public boolean hasScopeGroup()
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException;
141
142 public boolean isChildSelected(boolean selectable,
143 com.liferay.portal.model.Layout layout)
144 throws com.liferay.portal.kernel.exception.PortalException,
145 com.liferay.portal.kernel.exception.SystemException;
146
147 public boolean isContentDisplayPage();
148
149 public boolean isFirstChild();
150
151 public boolean isFirstParent();
152
153 public boolean isInheritLookAndFeel();
154
155 public boolean isInheritWapLookAndFeel();
156
157 public boolean isPublicLayout();
158
159 public boolean isRootLayout();
160
161 public boolean isSelected(boolean selectable,
162 com.liferay.portal.model.Layout layout, long ancestorPlid);
163
164 public boolean isTypeArticle();
165
166 public boolean isTypeControlPanel();
167
168 public boolean isTypeEmbedded();
169
170 public boolean isTypeLinkToLayout();
171
172 public boolean isTypePanel();
173
174 public boolean isTypePortlet();
175
176 public boolean isTypeURL();
177
178 public void setGroupId(long groupId);
179
180 public void setLayoutSet(com.liferay.portal.model.LayoutSet layoutSet);
181
182 public void setPrivateLayout(boolean privateLayout);
183
184 public void setTypeSettings(java.lang.String typeSettings);
185
186 public void setTypeSettingsProperties(
187 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
188 }