public abstract class DocumentEventBase extends RuleEventBase implements DocumentEvent
| Modifier | Constructor and Description | 
|---|---|
| protected  | DocumentEventBase(String description,
                                  String errorPathPrefix)As a general rule, business rule classes should not change the original object. | 
|   | DocumentEventBase(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 | 
|---|---|
| Document | getDocument() | 
| protected static String | getDocumentId(Document document)Provides null-safe access to the documentNumber of the given document. | 
| void | validate()Validates the event has all the necessary properties. | 
addFact, generateEvents, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgenerateEvents, getDescription, getErrorPathPrefix, getFacts, getName, getRuleInterfaceClass, getRuleMethodName, invokeRuleMethodprotected DocumentEventBase(String description, String errorPathPrefix)
description - errorPathPrefix - public DocumentEventBase(String description, String errorPathPrefix, Document document)
errorPathPrefix - document - description - public final Document getDocument()
getDocument in interface DocumentEventDocumentEvent.getDocument()public void validate()
RuleEventvalidate in interface RuleEventRuleEvent.validate()protected static String getDocumentId(Document document)
document - Copyright © 2005–2016 The Kuali Foundation. All rights reserved.