public class SaveDocumentEvent extends KualiDocumentEventBase implements SaveEvent
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<KualiDocumentEvent> |
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.
|
getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString, validate
public 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()
KualiDocumentEvent
getRuleInterfaceClass
in interface KualiDocumentEvent
KualiDocumentEvent.getRuleInterfaceClass()
public boolean invokeRuleMethod(BusinessRule rule)
KualiDocumentEvent
invokeRuleMethod
in interface KualiDocumentEvent
KualiDocumentEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)
public List<KualiDocumentEvent> generateEvents()
KualiDocumentEvent
generateEvents
in interface KualiDocumentEvent
generateEvents
in class KualiDocumentEventBase
KualiDocumentEvent.generateEvents()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.