Class CompleteDocumentEvent
java.lang.Object
org.kuali.rice.krad.rules.rule.event.RuleEventBase
org.kuali.rice.krad.rules.rule.event.DocumentEventBase
org.kuali.rice.krad.rules.rule.event.CompleteDocumentEvent
- All Implemented Interfaces:
DocumentEvent,RuleEvent
Complete document event
- Author:
- Kuali Rice Team (kuali-rice@googlegroups.com)
-
Field Summary
Fields inherited from class org.kuali.rice.krad.rules.rule.event.DocumentEventBase
document -
Constructor Summary
ConstructorsConstructorDescriptionCompleteDocumentEvent(String errorPathPrefix, Document document) Constructs a RouteDocumentEvent with the specified errorPathPrefix and documentCompleteDocumentEvent(Document document) Constructs a RouteDocumentEvent with the given document -
Method Summary
Modifier and TypeMethodDescriptionThis will return a list of events that are spawned from this event.Returns the interface that classes must implement to receive this event.booleaninvokeRuleMethod(BusinessRule rule) Invokes the event handling method on the rule object.Methods inherited from class org.kuali.rice.krad.rules.rule.event.DocumentEventBase
getDocument, getDocumentId, validateMethods inherited from class org.kuali.rice.krad.rules.rule.event.RuleEventBase
addFact, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.rules.rule.event.RuleEvent
getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName
-
Constructor Details
-
CompleteDocumentEvent
Constructs a RouteDocumentEvent with the specified errorPathPrefix and document- Parameters:
errorPathPrefix-document-
-
CompleteDocumentEvent
Constructs a RouteDocumentEvent with the given document- Parameters:
document-
-
-
Method Details
-
getRuleInterfaceClass
Description copied from interface:RuleEventReturns the interface that classes must implement to receive this event.- Returns:
- rule interface
- See Also:
-
invokeRuleMethod
Description copied from interface:RuleEventInvokes the event handling method on the rule object.- Parameters:
rule- business rule- Returns:
- true if the rule matches
- See Also:
-
generateEvents
Description copied from interface:RuleEventThis will return a list of events that are spawned from this event.- Specified by:
generateEventsin interfaceRuleEvent- Overrides:
generateEventsin classRuleEventBase- Returns:
- list of events
- See Also:
-