Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2005-2013 The Kuali Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.opensource.org/licenses/ecl2.php Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 
 package org.kuali.rice.kew.engine;
 
 import java.util.List;
 import java.util.Map;
 
Represents the current context of a Document being processed by the engine.

Author(s):
Kuali Rice Team (rice.collab@kuali.org)
 
 public class RouteContext implements Serializable {
 
 	private static final long serialVersionUID = -7125137491367944594L;
 
 
 
 
 
 
 
 	private boolean doNotSendApproveNotificationEmails = false;
 
 	private Map parameters = new HashMap();
 	
 	private boolean searchIndexingRequestedForContext = false;
 
 	public RouteContext() {
 	}
 
 		protected List<RouteContextinitialValue() {
 			List<RouteContextcontextStack = new LinkedList<RouteContext>();
 			contextStack.add(0, new RouteContext());
 			return contextStack;
 		}
 	};
 
 	public static RouteContext getCurrentRouteContext() {
 		return .get().get(0);
 	}
 
 	public static void clearCurrentRouteContext() {
 	}
 
 	public static RouteContext createNewRouteContext() {
 	}
 
 	}

Deprecated:
use getDocument() instead
 
 		return ;
 	}

Deprecated:
user setDocument() instead
 
 	public void setRouteHeader(DocumentRouteHeaderValue routeHeader) {
		this. = routeHeader;
	}
		return ;
	}
	public void setDocument(DocumentRouteHeaderValue routeHeader) {
		this. = routeHeader;
		try {
catch (Exception e) {
		}
	}
	}
	public void setDocumentContent(DocumentContent documentContent) {
		this. = documentContent;
	}
		return ;
	}
	public void setNodeInstance(RouteNodeInstance nodeInstance) {
		this. = nodeInstance;
	}
		return ;
	}
	public void setEngineState(EngineState engineState) {
		this. = engineState;
	}
	}
	public void setActionRequest(ActionRequestValue actionRequest) {
		this. = actionRequest;
	}
	public boolean isSimulation() {
		if ( == null) {
			return false;
		}
	}
	}
	public void setActivationContext(ActivationContext activationContext) {
		this. = activationContext;
	}
	}
	public void setDoNotSendApproveNotificationEmails(boolean sendNotificationEmails) {
		this. = sendNotificationEmails;
	}
	public Map getParameters() {
		return ;
	}
	public void setParameters(Map parameters) {
		this. = parameters;
	}

Determines if search indexing has already been requested during this context

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

Sets the route context to let it know that search indexing has been requested
	}
New to GrepCode? Check out our FAQ X