public abstract class KualiDocumentEventBase extends Object implements KualiDocumentEvent
| Modifier | Constructor and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRuleInterfaceClass, invokeRuleMethodprotected KualiDocumentEventBase(String description, String errorPathPrefix)
description - errorPathPrefix - public KualiDocumentEventBase(String description, String errorPathPrefix, Document document)
errorPathPrefix - document - description - public final Document getDocument()
getDocument in interface KualiDocumentEventKualiDocumentEvent.getDocument()public final String getName()
KualiDocumentEventgetName in interface KualiDocumentEventKualiDocumentEvent.getName()public final String getDescription()
KualiDocumentEventgetDescription in interface KualiDocumentEventpublic String getErrorPathPrefix()
getErrorPathPrefix in interface KualiDocumentEventKualiDocumentEvent.getErrorPathPrefix()public String toString()
toString in class ObjectObject.toString()public void validate()
KualiDocumentEventvalidate in interface KualiDocumentEventKualiDocumentEvent.validate()public List<KualiDocumentEvent> generateEvents()
KualiDocumentEventgenerateEvents in interface KualiDocumentEventKualiDocumentEvent.generateEvents()protected static String getDocumentId(Document document)
document - Copyright © 2005–2016 The Kuali Foundation. All rights reserved.