001
014
015 package com.liferay.taglib.util;
016
017 import com.liferay.portal.kernel.templateparser.TemplateContext;
018 import com.liferay.portal.kernel.util.StringPool;
019 import com.liferay.portal.model.Layout;
020 import com.liferay.portal.model.Portlet;
021 import com.liferay.taglib.aui.ColumnTag;
022 import com.liferay.taglib.aui.LayoutTag;
023 import com.liferay.taglib.ui.AssetCategoriesSummaryTag;
024 import com.liferay.taglib.ui.AssetLinksTag;
025 import com.liferay.taglib.ui.AssetTagsSummaryTag;
026 import com.liferay.taglib.ui.BreadcrumbTag;
027 import com.liferay.taglib.ui.DiscussionTag;
028 import com.liferay.taglib.ui.FlagsTag;
029 import com.liferay.taglib.ui.IconTag;
030 import com.liferay.taglib.ui.JournalArticleTag;
031 import com.liferay.taglib.ui.MySitesTag;
032 import com.liferay.taglib.ui.PngImageTag;
033 import com.liferay.taglib.ui.RatingsTag;
034
035 import javax.portlet.PortletURL;
036 import javax.portlet.WindowState;
037
038 import javax.servlet.ServletContext;
039
040
043 public class DummyVelocityTaglib implements VelocityTaglib {
044
045 public void actionURL(long plid, String portletName, String queryString)
046 throws Exception {
047 }
048
049 public void actionURL(String portletName, String queryString)
050 throws Exception {
051 }
052
053
058 public void actionURL(
059 String windowState, String portletMode, Boolean secure,
060 Boolean copyCurrentRenderParameters, Boolean escapeXml, String name,
061 long plid, long refererPlid, String portletName, Boolean anchor,
062 Boolean encrypt, long doAsUserId, Boolean portletConfiguration,
063 String queryString)
064 throws Exception {
065 }
066
067 public void actionURL(
068 String windowState, String portletMode, Boolean secure,
069 Boolean copyCurrentRenderParameters, Boolean escapeXml, String name,
070 long plid, long refererPlid, String portletName, Boolean anchor,
071 Boolean encrypt, long doAsGroupId, long doAsUserId,
072 Boolean portletConfiguration, String queryString)
073 throws Exception {
074 }
075
076 public void actionURL(
077 String windowState, String portletMode, long plid,
078 String portletName, String queryString)
079 throws Exception {
080 }
081
082 public void actionURL(
083 String windowState, String portletMode, String portletName,
084 String queryString)
085 throws Exception {
086 }
087
088 public void assetCategoriesSummary(
089 String className, long classPK, String message,
090 PortletURL portletURL)
091 throws Exception {
092 }
093
094 public void assetLinks(long assetEntryId, String className, long classPK)
095 throws Exception {
096 }
097
098 public void assetTagsSummary(
099 String className, long classPK, String message,
100 String assetTagNames, PortletURL portletURL)
101 throws Exception {
102 }
103
104 public void breadcrumb() throws Exception {
105 }
106
107 public void breadcrumb(
108 String displayStyle, boolean showGuestGroup,
109 boolean showParentGroups, boolean showLayout,
110 boolean showPortletBreadcrumb)
111 throws Exception {
112 }
113
114 public void discussion(
115 String className, long classPK, String formAction, String formName,
116 boolean hideControls, boolean ratingsEnabled, String redirect,
117 String subject, long userId)
118 throws Exception {
119 }
120
121 public void doAsURL(long doAsUserId) throws Exception {
122 }
123
124 public void flags(
125 String className, long classPK, String contentTitle, boolean label,
126 String message, long reportedUserId)
127 throws Exception {
128 }
129
130 public AssetCategoriesSummaryTag getAssetCategoriesSummaryTag()
131 throws Exception {
132
133 return null;
134 }
135
136 public AssetLinksTag getAssetLinksTag() throws Exception {
137 return null;
138 }
139
140 public AssetTagsSummaryTag getAssetTagsSummaryTag() throws Exception {
141 return null;
142 }
143
144 public BreadcrumbTag getBreadcrumbTag() throws Exception {
145 return null;
146 }
147
148 public ColumnTag getColumnTag() throws Exception {
149 return null;
150 }
151
152 public DiscussionTag getDiscussionTag() throws Exception {
153 return null;
154 }
155
156 public FlagsTag getFlagsTag() throws Exception {
157 return null;
158 }
159
160 public IconTag getIconTag() throws Exception {
161 return null;
162 }
163
164 public JournalArticleTag getJournalArticleTag() throws Exception {
165 return null;
166 }
167
168 public LayoutTag getLayoutTag() throws Exception {
169 return null;
170 }
171
172 public MySitesTag getMySitesTag() throws Exception {
173 return null;
174 }
175
176 public PngImageTag getPngImageTag() throws Exception {
177 return null;
178 }
179
180 public RatingsTag getRatingsTag() throws Exception {
181 return null;
182 }
183
184 public String getSetting(String name) {
185 return null;
186 }
187
188 public WindowState getWindowState(String windowState) {
189 return null;
190 }
191
192 public void icon(String image, boolean label, String message, String url)
193 throws Exception {
194 }
195
196 public void iconBack() throws Exception {
197 }
198
199 public void iconClose() throws Exception {
200 }
201
202 public void iconConfiguration() throws Exception {
203 }
204
205 public void iconEdit() throws Exception {
206 }
207
208 public void iconEditDefaults() throws Exception {
209 }
210
211 public void iconEditGuest() throws Exception {
212 }
213
214 public void iconHelp() throws Exception {
215 }
216
217 public void iconMaximize() throws Exception {
218 }
219
220 public void iconMinimize() throws Exception {
221 }
222
223 public void iconOptions() throws Exception {
224 }
225
226 public void iconPortlet() throws Exception {
227 }
228
229 public void iconPortlet(Portlet portlet) throws Exception {
230 }
231
232 public void iconPortletCss() throws Exception {
233 }
234
235 public void iconPrint() throws Exception {
236 }
237
238 public void iconRefresh() throws Exception {
239 }
240
241 public void include(ServletContext servletContext, String page)
242 throws Exception {
243 }
244
245 public void include(String page) throws Exception {
246 }
247
248 public void journalArticle(
249 String articleId, long groupId, String templateId)
250 throws Exception {
251 }
252
253 public void journalContentSearch() throws Exception {
254 }
255
256 public void journalContentSearch(
257 boolean showListed, String targetPortletId, String type)
258 throws Exception {
259 }
260
261 public void language() throws Exception {
262 }
263
264 public void language(
265 String formName, String formAction, String name, int displayStyle)
266 throws Exception {
267 }
268
269 public void language(
270 String formName, String formAction, String name,
271 String[] languageIds, int displayStyle)
272 throws Exception {
273 }
274
275 public void layoutIcon(Layout layout) throws Exception {
276 }
277
278 public void metaTags() throws Exception {
279 }
280
281
284 public void myPlaces() throws Exception {
285 }
286
287
290 public void myPlaces(int max) throws Exception {
291 }
292
293 public void mySites() throws Exception {
294 }
295
296 public void mySites(int max) throws Exception {
297 }
298
299 public void permissionsURL(
300 String redirect, String modelResource,
301 String modelResourceDescription, Object resourceGroupId,
302 String resourcePrimKey, String windowState, int[] roleTypes)
303 throws Exception {
304 }
305
306
310 public void permissionsURL(
311 String redirect, String modelResource,
312 String modelResourceDescription, String resourcePrimKey,
313 String windowState, int[] roleTypes)
314 throws Exception {
315 }
316
317 public void ratings(
318 String className, long classPK, int numberOfStars, String type,
319 String url)
320 throws Exception {
321 }
322
323 public void renderURL(long plid, String portletName, String queryString)
324 throws Exception {
325 }
326
327 public void renderURL(String portletName, String queryString)
328 throws Exception {
329 }
330
331 public void renderURL(
332 String windowState, String portletMode, Boolean secure,
333 Boolean copyCurrentRenderParameters, Boolean escapeXml, long plid,
334 long refererPlid, String portletName, Boolean anchor,
335 Boolean encrypt, long doAsGroupId, long doAsUserId,
336 Boolean portletConfiguration, String queryString)
337 throws Exception {
338 }
339
340
345 public void renderURL(
346 String windowState, String portletMode, Boolean secure,
347 Boolean copyCurrentRenderParameters, Boolean escapeXml, long plid,
348 String portletName, Boolean anchor, Boolean encrypt,
349 long doAsUserId, Boolean portletConfiguration, String queryString)
350 throws Exception {
351 }
352
353 public void renderURL(
354 String windowState, String portletMode, long plid,
355 String portletName, String queryString)
356 throws Exception {
357 }
358
359 public void renderURL(
360 String windowState, String portletMode, String portletName,
361 String queryString)
362 throws Exception {
363 }
364
365 public void runtime(String portletName) throws Exception {
366 }
367
368 public void runtime(String portletName, String queryString)
369 throws Exception {
370 }
371
372 public void runtime(
373 String portletName, String queryString, String defaultPreferences)
374 throws Exception {
375 }
376
377 public void search() throws Exception {
378 }
379
380 public void setTemplateContext(TemplateContext templateContext) {
381 }
382
383 public void sitesDirectory() throws Exception {
384 }
385
386 public void sitesDirectory(String displayStyle, String sites)
387 throws Exception {
388 }
389
390 public void socialBookmarks(
391 String displayStyle, String target, String types, String title,
392 String url)
393 throws Exception {
394 }
395
396 public void staging() throws Exception {
397 }
398
399 public void toggle(
400 String id, String showImage, String hideImage, String showMessage,
401 String hideMessage, boolean defaultShowContent)
402 throws Exception {
403 }
404
405 public String wrapPortlet(String wrapPage, String portletPage)
406 throws Exception {
407
408 return StringPool.BLANK;
409 }
410
411 }