public class SaveDocumentEvent extends DocumentEventBase implements SaveEvent
This could be triggered when a user presses the save button for a given document or it could happen when another piece of code calls the save method in the document service.
document| Constructor and Description | 
|---|
| SaveDocumentEvent(Document document)Constructs a SaveDocumentEvent with the given document | 
| SaveDocumentEvent(String errorPathPrefix,
                                  Document document)Constructs a SaveDocumentEvent with the specified errorPathPrefix and document | 
| SaveDocumentEvent(String description,
                                  String errorPathPrefix,
                                  Document 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, validateaddFact, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodNamepublic SaveDocumentEvent(String errorPathPrefix, Document document)
document - errorPathPrefix - public SaveDocumentEvent(Document document)
document - public SaveDocumentEvent(String description, String errorPathPrefix, Document document)
public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEventgetRuleInterfaceClass in interface RuleEventRuleEvent.getRuleInterfaceClass()public boolean invokeRuleMethod(BusinessRule rule)
RuleEventinvokeRuleMethod in interface 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–2014 The Kuali Foundation. All rights reserved.