1
14
15 package com.liferay.portlet.asset.model;
16
17 import com.liferay.portal.kernel.portlet.LiferayPortletRequest;
18 import com.liferay.portal.kernel.portlet.LiferayPortletResponse;
19
20 import javax.portlet.PortletURL;
21
22
27 public abstract class BaseAssetRenderer implements AssetRenderer {
28
29 public String[] getAvailableLocales() {
30 return _EMPTY_ARRAY;
31 }
32
33 public String getDiscussionPath() {
34 return null;
35 }
36
37 public PortletURL getURLEdit(
38 LiferayPortletRequest liferayPortletRequest,
39 LiferayPortletResponse liferayPortletResponse)
40 throws Exception {
41
42 return null;
43 }
44
45 public PortletURL getURLExport(
46 LiferayPortletRequest liferayPortletRequest,
47 LiferayPortletResponse liferayPortletResponse)
48 throws Exception {
49
50 return null;
51 }
52
53 public String getUrlTitle() {
54 return null;
55 }
56
57 public String getURLViewInContext(
58 LiferayPortletRequest liferayPortletRequest,
59 LiferayPortletResponse liferayPortletResponse,
60 String noSuchEntryRedirect)
61 throws Exception {
62
63 return null;
64 }
65
66 public String getViewInContextMessage() {
67 return "view-in-context";
68 }
69
70 public boolean isConvertible() {
71 return false;
72 }
73
74 public boolean isLocalizable() {
75 return false;
76 }
77
78 public boolean isPrintable() {
79 return false;
80 }
81
82 private static final String[] _EMPTY_ARRAY = new String[0];
83
84 }