| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase
org.kuali.rice.krad.rules.rule.event.AddNoteEvent
public final class AddNoteEvent
This class represents the add note event that is part of an eDoc in Kuali. This is triggered when a user presses the add button for a given note or it could happen when another piece of code calls the create note method in the document service.
| Field Summary | 
|---|
| Fields inherited from class org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase | 
|---|
| document | 
| Constructor Summary | |
|---|---|
| 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 | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase | 
|---|
| generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public AddNoteEvent(String errorPathPrefix,
                    Document document,
                    Note note)
document - errorPathPrefix - 
public AddNoteEvent(Document document,
                    Note note)
document - | Method Detail | 
|---|
public Note getNote()
public void validate()
KualiDocumentEvent
validate in interface KualiDocumentEventvalidate in class KualiDocumentEventBaseKualiDocumentEvent.validate()public Class<? extends BusinessRule> getRuleInterfaceClass()
KualiDocumentEvent
KualiDocumentEvent.getRuleInterfaceClass()public boolean invokeRuleMethod(BusinessRule rule)
KualiDocumentEvent
KualiDocumentEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||