public class CommentAssetRendererFactory
extends com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Constructor and Description |
|---|
CommentAssetRendererFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.comment.WorkflowableComment> |
getAssetRenderer(long classPK,
int type) |
java.lang.String |
getIconCssClass() |
java.lang.String |
getType() |
javax.portlet.PortletURL |
getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState) |
boolean |
hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId) |
boolean |
isSelectable() |
protected void |
setServletContext(javax.servlet.ServletContext servletContext) |
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassName, getClassNameId, getClassTypeFieldName, getClassTypeFieldNames, getClassTypeFieldNamesCount, getClassTypeReader, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getSubtypeTitle, getTypeName, getTypeName, getTypeName, getURLAdd, getURLAdd, hasAddPermission, hasClassTypeFieldNames, isActive, isCategorizable, isLinkable, isSearchable, isSupportsClassTypes, setCategorizable, setClassName, setLinkable, setPortletId, setSearchable, setSelectable, setSupportsClassTypes, toTuplepublic static final java.lang.String TYPE
public com.liferay.asset.kernel.model.AssetRenderer<com.liferay.portal.kernel.comment.WorkflowableComment> getAssetRenderer(long classPK,
int type)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.lang.String getIconCssClass()
getIconCssClass in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>getIconCssClass in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>public java.lang.String getType()
public javax.portlet.PortletURL getURLView(com.liferay.portal.kernel.portlet.LiferayPortletResponse liferayPortletResponse,
javax.portlet.WindowState windowState)
getURLView in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>getURLView in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>public boolean hasPermission(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
long classPK,
java.lang.String actionId)
throws java.lang.Exception
hasPermission in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>hasPermission in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>java.lang.Exceptionpublic boolean isSelectable()
isSelectable in interface com.liferay.asset.kernel.model.AssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>isSelectable in class com.liferay.asset.kernel.model.BaseAssetRendererFactory<com.liferay.portal.kernel.comment.WorkflowableComment>protected void setServletContext(javax.servlet.ServletContext servletContext)