public final class RouteDocumentEvent extends DocumentEventBase
document
Constructor and Description |
---|
RouteDocumentEvent(Document document)
Constructs a RouteDocumentEvent with the given document
|
RouteDocumentEvent(String errorPathPrefix,
Document document)
Constructs a RouteDocumentEvent with the specified errorPathPrefix and document
|
Modifier and Type | Method and Description |
---|---|
List<RuleEvent> |
generateEvents()
This will return a list of events that are spawned from this event.
|
Class<? extends BusinessRule> |
getRuleInterfaceClass()
Returns the interface that classes must implement to receive this event.
|
boolean |
invokeRuleMethod(BusinessRule rule)
Invokes the event handling method on the rule object.
|
getDocument, getDocumentId, validate
addFact, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName
public RouteDocumentEvent(String errorPathPrefix, Document document)
errorPathPrefix
- document
- public RouteDocumentEvent(Document document)
document
- public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEvent
RuleEvent.getRuleInterfaceClass()
public boolean invokeRuleMethod(BusinessRule rule)
RuleEvent
rule
- business ruleRuleEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)
public List<RuleEvent> generateEvents()
RuleEvent
generateEvents
in interface RuleEvent
generateEvents
in class RuleEventBase
RuleEvent.generateEvents()
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.