1
14
15 package com.liferay.portlet.asset.model;
16
17 import com.liferay.portal.kernel.exception.PortalException;
18 import com.liferay.portal.kernel.exception.SystemException;
19 import com.liferay.portal.kernel.portlet.LiferayPortletRequest;
20 import com.liferay.portal.kernel.portlet.LiferayPortletResponse;
21
22 import javax.portlet.PortletRequest;
23 import javax.portlet.PortletURL;
24
25
31 public interface AssetRendererFactory {
32
33 public AssetRenderer getAssetRenderer(long classPK)
34 throws PortalException, SystemException;
35
36 public AssetRenderer getAssetRenderer(long groupId, String urlTitle)
37 throws PortalException, SystemException;
38
39 public String getClassName();
40
41 public long getClassNameId();
42
43 public String getIconPath(PortletRequest portletRequest);
44
45 public String getPortletId();
46
47 public String getType();
48
49 public PortletURL getURLAdd(
50 LiferayPortletRequest liferayPortletRequest,
51 LiferayPortletResponse liferayPortletResponse);
52
53 public boolean isSelectable();
54
55 public void setClassNameId(long classNameId);
56
57 public void setPortletId(String portletId);
58
59 }