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 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.node;
Abstract superclass for request activation node types

Kuali Rice Team (
public abstract class RequestActivationNodeBase implements SimpleNode {

This method takes care of notification for ActionItemS. It has logic for suppressing notifications a) during simulations, and b) when the RouteNodeInstance has NodeState specifically hinting for notification suppression for a given ActionItem.

A side effect during non-simulation calls is that any notification suppression NodeStateS will be removed from the RouteNodeInstance after notifications are sent.

	protected void notify(RouteContext contextList<ActionItemactionItemsRouteNodeInstance routeNodeInstance) {
		if (!context.isSimulation()) {
			new NotificationSuppression().notify(actionItemsrouteNodeInstance);
New to GrepCode? Check out our FAQ X