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 interface AssetRendererFactory {
28
29 public AssetRenderer getAssetRenderer(long classPK)
30 throws Exception;
31
32 public AssetRenderer getAssetRenderer(long groupId, String urlTitle)
33 throws Exception;
34
35 public String getClassName();
36
37 public long getClassNameId();
38
39 public String getPortletId();
40
41 public String getType();
42
43 public PortletURL getURLAdd(
44 LiferayPortletRequest liferayPortletRequest,
45 LiferayPortletResponse liferayPortletResponse)
46 throws Exception;
47
48 public boolean isSelectable();
49
50 public void setClassNameId(long classNameId);
51
52 public void setPortletId(String portletId);
53
54 }