com.liferay.portlet.dynamicdatalists.workflow
Class DDLRecordWorkflowHandler

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

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

Author:
Marcellus Tavares

Field Summary
static java.lang.String CLASS_NAME
           
 
Constructor Summary
DDLRecordWorkflowHandler()
           
 
Method Summary
 java.lang.String getClassName()
           
protected  java.lang.String getIconPath(com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 java.lang.String getType(java.util.Locale locale)
           
 com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId, long groupId, long classPK)
           
 boolean isVisible()
           
 com.liferay.portlet.dynamicdatalists.model.DDLRecord updateStatus(int status, java.util.Map<java.lang.String,java.io.Serializable> workflowContext)
           
 
Methods inherited from class com.liferay.portal.kernel.workflow.BaseWorkflowHandler
getAssetRenderer, getAssetRendererFactory, getIconPath, getSummary, getTitle, getURLEdit, getURLViewInContext, isAssetTypeSearchable, isScopeable, render, 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

DDLRecordWorkflowHandler

public DDLRecordWorkflowHandler()
Method Detail

getClassName

public java.lang.String getClassName()

getType

public java.lang.String getType(java.util.Locale locale)

getWorkflowDefinitionLink

public com.liferay.portal.model.WorkflowDefinitionLink getWorkflowDefinitionLink(long companyId,
                                                                                 long groupId,
                                                                                 long classPK)
                                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getWorkflowDefinitionLink in interface com.liferay.portal.kernel.workflow.WorkflowHandler
Overrides:
getWorkflowDefinitionLink in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

isVisible

public boolean isVisible()
Specified by:
isVisible in interface com.liferay.portal.kernel.workflow.WorkflowHandler
Overrides:
isVisible in class com.liferay.portal.kernel.workflow.BaseWorkflowHandler

updateStatus

public com.liferay.portlet.dynamicdatalists.model.DDLRecord 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

getIconPath

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