001
014
015 package com.liferay.portlet.asset.model;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018
019 import java.util.Locale;
020
021 import javax.portlet.PortletRequest;
022 import javax.portlet.PortletResponse;
023
024
027 public interface Renderer {
028
029 public String getClassName();
030
031 public long getClassPK();
032
033 public String getIconCssClass() throws PortalException;
034
035 public String getIconPath(PortletRequest portletRequest);
036
037 public String getSummary(
038 PortletRequest portletRequest, PortletResponse portletResponse);
039
040 public String getTitle(Locale locale);
041
042 public String render(
043 PortletRequest portletRequest, PortletResponse portletResponse,
044 String template)
045 throws Exception;
046
047 }