org.kuali.rice.kew.engine
Class RouteContext

java.lang.Object
  extended by org.kuali.rice.kew.engine.RouteContext
All Implemented Interfaces:
Serializable

public class RouteContext
extends Object
implements Serializable

Represents the current context of a Document being processed by the engine.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
RouteContext()
           
 
Method Summary
static void clearCurrentRouteContext()
           
static RouteContext createNewRouteContext()
           
 ActionRequestValue getActionRequest()
           
 ActivationContext getActivationContext()
           
static RouteContext getCurrentRouteContext()
           
 DocumentRouteHeaderValue getDocument()
           
 DocumentContent getDocumentContent()
           
 EngineState getEngineState()
           
 RouteNodeInstance getNodeInstance()
           
 Map getParameters()
           
 DocumentRouteHeaderValue getRouteHeader()
          Deprecated. use getDocument() instead
 boolean isDoNotSendApproveNotificationEmails()
           
 boolean isSearchIndexingRequestedForContext()
          Determines if search indexing has already been requested during this context
 boolean isSimulation()
           
static RouteContext releaseCurrentRouteContext()
           
 void requestSearchIndexingForContext()
          Sets the route context to let it know that search indexing has been requested
 void setActionRequest(ActionRequestValue actionRequest)
           
 void setActivationContext(ActivationContext activationContext)
           
 void setDocument(DocumentRouteHeaderValue routeHeader)
           
 void setDocumentContent(DocumentContent documentContent)
           
 void setDoNotSendApproveNotificationEmails(boolean sendNotificationEmails)
           
 void setEngineState(EngineState engineState)
           
 void setNodeInstance(RouteNodeInstance nodeInstance)
           
 void setParameters(Map parameters)
           
 void setRouteHeader(DocumentRouteHeaderValue routeHeader)
          Deprecated. user setDocument() instead
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RouteContext

public RouteContext()
Method Detail

getCurrentRouteContext

public static RouteContext getCurrentRouteContext()

clearCurrentRouteContext

public static void clearCurrentRouteContext()

createNewRouteContext

public static RouteContext createNewRouteContext()

releaseCurrentRouteContext

public static RouteContext releaseCurrentRouteContext()

getRouteHeader

public DocumentRouteHeaderValue getRouteHeader()
Deprecated. use getDocument() instead


setRouteHeader

public void setRouteHeader(DocumentRouteHeaderValue routeHeader)
Deprecated. user setDocument() instead


getDocument

public DocumentRouteHeaderValue getDocument()

setDocument

public void setDocument(DocumentRouteHeaderValue routeHeader)

getDocumentContent

public DocumentContent getDocumentContent()

setDocumentContent

public void setDocumentContent(DocumentContent documentContent)

getNodeInstance

public RouteNodeInstance getNodeInstance()

setNodeInstance

public void setNodeInstance(RouteNodeInstance nodeInstance)

getEngineState

public EngineState getEngineState()

setEngineState

public void setEngineState(EngineState engineState)

getActionRequest

public ActionRequestValue getActionRequest()

setActionRequest

public void setActionRequest(ActionRequestValue actionRequest)

isSimulation

public boolean isSimulation()

getActivationContext

public ActivationContext getActivationContext()

setActivationContext

public void setActivationContext(ActivationContext activationContext)

isDoNotSendApproveNotificationEmails

public boolean isDoNotSendApproveNotificationEmails()

setDoNotSendApproveNotificationEmails

public void setDoNotSendApproveNotificationEmails(boolean sendNotificationEmails)

getParameters

public Map getParameters()

setParameters

public void setParameters(Map parameters)

isSearchIndexingRequestedForContext

public boolean isSearchIndexingRequestedForContext()
Determines if search indexing has already been requested during this context

Returns:
the searchIndexingRequestedForContext: true if search indexing has been requested, false otherwise

requestSearchIndexingForContext

public void requestSearchIndexingForContext()
Sets the route context to let it know that search indexing has been requested



Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.