com.liferay.portlet.blogs.workflow
Class BlogsEntryWorkflowHandler

java.lang.Object
  extended by com.liferay.portal.kernel.workflow.BaseWorkflowHandler
      extended by com.liferay.portlet.blogs.workflow.BlogsEntryWorkflowHandler
All Implemented Interfaces:
com.liferay.portal.kernel.workflow.WorkflowHandler

public class BlogsEntryWorkflowHandler
extends com.liferay.portal.kernel.workflow.BaseWorkflowHandler

View Source

Author:
Jorge Ferrer

Field Summary
static java.lang.String CLASS_NAME
           
 
Fields inherited from interface com.liferay.portal.kernel.workflow.WorkflowHandler
TYPE_CONTENT, TYPE_DOCUMENT, TYPE_UNKNOWN
 
Constructor Summary
BlogsEntryWorkflowHandler()
           
 
Method Summary
protected  com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK)
           
 java.lang.String getClassName()
           
protected  java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getType()
           
 com.liferay.portlet.blogs.model.BlogsEntry updateStatus(int status, java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
           
 
Methods inherited from class com.liferay.portal.kernel.workflow.BaseWorkflowHandler
getIconPath, getTitle, getURLEdit, startWorkflowInstance
 
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
Constructor Detail

BlogsEntryWorkflowHandler

public BlogsEntryWorkflowHandler()
Method Detail

getClassName

public java.lang.String getClassName()

getType

public java.lang.String getType()
Specified by:
getType in interface com.liferay.portal.kernel.workflow.WorkflowHandler
Overrides:
getType in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler

updateStatus

public com.liferay.portlet.blogs.model.BlogsEntry updateStatus(int status,
                                                               java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
                                                        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

getAssetRenderer

protected com.liferay.portlet.asset.model.AssetRenderer getAssetRenderer(long classPK)
                                                                  throws com.liferay.portal.kernel.exception.PortalException,
                                                                         com.liferay.portal.kernel.exception.SystemException
Overrides:
getAssetRenderer in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getIconPath

protected java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
Overrides:
getIconPath in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler