|
||||||||||
| 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
public abstract class KualiDocumentEventBase
Abstract superclass for document-related events.
| Field Summary | |
|---|---|
protected Document |
document
|
| Constructor Summary | |
|---|---|
protected |
KualiDocumentEventBase(String description,
String errorPathPrefix)
As a general rule, business rule classes should not change the original object. |
|
KualiDocumentEventBase(String description,
String errorPathPrefix,
Document document)
Constructs a KualiEvent with the given description and errorPathPrefix for the given document. |
| Method Summary | |
|---|---|
List<KualiDocumentEvent> |
generateEvents()
This will return a list of events that are spawned from this event. |
String |
getDescription()
A description of the event. |
Document |
getDocument()
|
protected static String |
getDocumentId(Document document)
Provides null-safe access to the documentNumber of the given document. |
String |
getErrorPathPrefix()
|
String |
getName()
The name of the event. |
String |
toString()
|
void |
validate()
Validates the event has all the necessary properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent |
|---|
getRuleInterfaceClass, invokeRuleMethod |
| Field Detail |
|---|
protected Document document
| Constructor Detail |
|---|
protected KualiDocumentEventBase(String description,
String errorPathPrefix)
description - errorPathPrefix -
public KualiDocumentEventBase(String description,
String errorPathPrefix,
Document document)
errorPathPrefix - document - description - | Method Detail |
|---|
public final Document getDocument()
getDocument in interface KualiDocumentEventKualiDocumentEvent.getDocument()public final String getName()
KualiDocumentEvent
getName in interface KualiDocumentEventKualiDocumentEvent.getName()public final String getDescription()
KualiDocumentEvent
getDescription in interface KualiDocumentEventpublic String getErrorPathPrefix()
getErrorPathPrefix in interface KualiDocumentEventKualiDocumentEvent.getErrorPathPrefix()public String toString()
toString in class ObjectObject.toString()public void validate()
KualiDocumentEvent
validate in interface KualiDocumentEventKualiDocumentEvent.validate()public List<KualiDocumentEvent> generateEvents()
KualiDocumentEvent
generateEvents in interface KualiDocumentEventKualiDocumentEvent.generateEvents()protected static String getDocumentId(Document document)
document -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||