public final class AddNoteEvent extends DocumentEventBase
document| Constructor and Description |
|---|
AddNoteEvent(Document document,
Note note)
Constructs an AddNoteEvent with the given document
|
AddNoteEvent(String errorPathPrefix,
Document document,
Note note)
Constructs an AddNoteEvent with the specified errorPathPrefix and document
|
| Modifier and Type | Method and Description |
|---|---|
Note |
getNote()
This method retrieves the note associated with 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.
|
void |
validate()
Validates the event has all the necessary properties.
|
getDocument, getDocumentIdaddFact, generateEvents, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateEvents, getDescription, getErrorPathPrefix, getName, getRuleMethodNamepublic AddNoteEvent(String errorPathPrefix, Document document, Note note)
document - errorPathPrefix - public AddNoteEvent(Document document, Note note)
document - public Note getNote()
public void validate()
RuleEventvalidate in interface RuleEventvalidate in class DocumentEventBaseRuleEvent.validate()public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEventRuleEvent.getRuleInterfaceClass()public boolean invokeRuleMethod(BusinessRule rule)
RuleEventrule - business ruleRuleEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)Copyright © 2005–2014 The Kuali Foundation. All rights reserved.