1
22
23 package com.liferay.portal.model;
24
25
26
51 public interface Layout extends LayoutModel {
52 public com.liferay.portal.model.Group getGroup();
53
54 public boolean isPublicLayout();
55
56 public long getAncestorPlid();
57
58 public long getAncestorLayoutId();
59
60 public java.util.List<com.liferay.portal.model.Layout> getAncestors()
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException;
63
64 public boolean hasAncestor(long layoutId)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 public boolean isFirstParent();
69
70 public boolean isFirstChild();
71
72 public boolean isRootLayout();
73
74 public java.util.List<com.liferay.portal.model.Layout> getChildren()
75 throws com.liferay.portal.SystemException;
76
77 public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
78 throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portal.model.Layout> getChildren(
81 com.liferay.portal.security.permission.PermissionChecker permissionChecker)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException;
84
85 public java.lang.String getName(java.util.Locale locale);
86
87 public java.lang.String getName(java.lang.String localeLanguageId);
88
89 public java.lang.String getName(java.util.Locale locale, boolean useDefault);
90
91 public java.lang.String getName(java.lang.String localeLanguageId,
92 boolean useDefault);
93
94 public void setName(java.lang.String name, java.util.Locale locale);
95
96 public java.lang.String getTitle(java.util.Locale locale);
97
98 public java.lang.String getTitle(java.lang.String localeLanguageId);
99
100 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault);
101
102 public java.lang.String getTitle(java.lang.String localeLanguageId,
103 boolean useDefault);
104
105 public java.lang.String getHTMLTitle(java.util.Locale locale);
106
107 public java.lang.String getHTMLTitle(java.lang.String localeLanguageId);
108
109 public void setTitle(java.lang.String title, java.util.Locale locale);
110
111 public com.liferay.portal.model.LayoutType getLayoutType();
112
113 public java.lang.String getTypeSettings();
114
115 public void setTypeSettings(java.lang.String typeSettings);
116
117 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties();
118
119 public void setTypeSettingsProperties(
120 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties);
121
122 public com.liferay.portal.model.LayoutSet getLayoutSet();
123
124 public boolean isInheritLookAndFeel();
125
126 public com.liferay.portal.model.Theme getTheme();
127
128 public com.liferay.portal.model.ColorScheme getColorScheme();
129
130 public boolean isInheritWapLookAndFeel();
131
132 public com.liferay.portal.model.Theme getWapTheme();
133
134 public com.liferay.portal.model.ColorScheme getWapColorScheme();
135
136 public java.lang.String getCssText();
137
138 public java.lang.String getRegularURL(
139 javax.servlet.http.HttpServletRequest request)
140 throws com.liferay.portal.SystemException;
141
142 public java.lang.String getResetMaxStateURL(
143 javax.servlet.http.HttpServletRequest request)
144 throws com.liferay.portal.SystemException;
145
146 public java.lang.String getResetLayoutURL(
147 javax.servlet.http.HttpServletRequest request)
148 throws com.liferay.portal.SystemException;
149
150 public java.lang.String getTarget();
151
152 public boolean isSelected(boolean selectable,
153 com.liferay.portal.model.Layout layout, long ancestorPlid);
154 }