com.liferay.portlet.wiki.asset
Class WikiPageAssetRendererFactory

java.lang.Object
  extended by com.liferay.portlet.asset.model.BaseAssetRendererFactory
      extended by com.liferay.portlet.wiki.asset.WikiPageAssetRendererFactory
All Implemented Interfaces:
com.liferay.portlet.asset.model.AssetRendererFactory

public class WikiPageAssetRendererFactory
extends com.liferay.portlet.asset.model.BaseAssetRendererFactory

Author:
Julio Camarero, Juan Fernández, Jorge Ferrer, Raymond Augé, Sergio González

Field Summary
static java.lang.String CLASS_NAME
           
static java.lang.String TYPE
           
 
Fields inherited from interface com.liferay.portlet.asset.model.AssetRendererFactory
TYPE_LATEST, TYPE_LATEST_APPROVED
 
Constructor Summary
WikiPageAssetRendererFactory()
           
 
Method Summary
 com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK, int type)
           
 java.lang.String getClassName()
           
protected  java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getType()
           
 boolean hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker, long classPK, java.lang.String actionId)
           
 boolean isLinkable()
           
 
Methods inherited from class com.liferay.portlet.asset.model.BaseAssetRendererFactory
getAssetEntry, getAssetEntry, getAssetRenderer, getAssetRenderer, getClassNameId, getClassTypes, getControlPanelPlid, getIconPath, getPortletId, getURLAdd, isCategorizable, isSelectable, setClassNameId, setPortletId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

WikiPageAssetRendererFactory

public WikiPageAssetRendererFactory()
Method Detail

getAssetRenderer

public com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK,
                                                                      int type)
                                                               throws com.liferay.portal.kernel.exception.PortalException,
                                                                      com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getClassName

public java.lang.String getClassName()

getType

public java.lang.String getType()

hasPermission

public boolean hasPermission(com.liferay.portal.security.permission.PermissionChecker permissionChecker,
                             long classPK,
                             java.lang.String actionId)
                      throws java.lang.Exception
Specified by:
hasPermission in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
hasPermission in class com.liferay.portlet.asset.model.BaseAssetRendererFactory
Throws:
java.lang.Exception

isLinkable

public boolean isLinkable()
Specified by:
isLinkable in interface com.liferay.portlet.asset.model.AssetRendererFactory
Overrides:
isLinkable in class com.liferay.portlet.asset.model.BaseAssetRendererFactory

getIconPath

protected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Overrides:
getIconPath in class com.liferay.portlet.asset.model.BaseAssetRendererFactory