public class ApproveDocumentEvent extends DocumentEventBase
document| Modifier | Constructor and Description |
|---|---|
|
ApproveDocumentEvent(Document document)
Constructs an ApproveDocumentEvent with the given document
|
|
ApproveDocumentEvent(String errorPathPrefix,
Document document)
Constructs an ApproveDocumentEvent with the specified errorPathPrefix and document
|
protected |
ApproveDocumentEvent(String eventType,
String errorPathPrefix,
Document document)
Constructs a ApproveDocumentEvent, allowing the eventType to be passed in so that subclasses can specify a more accurate
message.
|
| 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, validateaddFact, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodNamepublic ApproveDocumentEvent(String errorPathPrefix, Document document)
errorPathPrefix - document - public ApproveDocumentEvent(Document document)
document - protected ApproveDocumentEvent(String eventType, String errorPathPrefix, Document document)
eventType - errorPathPrefix - document - public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEventRuleEvent.getRuleInterfaceClass()public boolean invokeRuleMethod(BusinessRule rule)
RuleEventrule - business ruleRuleEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)public List<RuleEvent> generateEvents()
RuleEventgenerateEvents in interface RuleEventgenerateEvents in class RuleEventBaseRuleEvent.generateEvents()Copyright © 2005–2016 The Kuali Foundation. All rights reserved.