public final class AddAdHocRoutePersonEvent extends KualiDocumentEventBase
document
Constructor and Description |
---|
AddAdHocRoutePersonEvent(Document document,
AdHocRoutePerson adHocRoutePerson)
Constructs an AddAdHocRoutePersonEvent with the given document
|
AddAdHocRoutePersonEvent(String errorPathPrefix,
Document document,
AdHocRoutePerson adHocRoutePerson)
Constructs an AddAdHocRoutePersonEvent with the specified errorPathPrefix, document, and adHocRoutePerson
|
Modifier and Type | Method and Description |
---|---|
AdHocRoutePerson |
getAdHocRoutePerson()
This method retrieves the document adHocRoutePerson associated with 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.
|
void |
validate()
Validates the event has all the necessary properties.
|
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString
public AddAdHocRoutePersonEvent(String errorPathPrefix, Document document, AdHocRoutePerson adHocRoutePerson)
document
- adHocRoutePerson
- errorPathPrefix
- public AddAdHocRoutePersonEvent(Document document, AdHocRoutePerson adHocRoutePerson)
document
- adHocRoutePerson
- public AdHocRoutePerson getAdHocRoutePerson()
public void validate()
KualiDocumentEvent
validate
in interface KualiDocumentEvent
validate
in class KualiDocumentEventBase
KualiDocumentEvent.validate()
public Class<? extends BusinessRule> getRuleInterfaceClass()
KualiDocumentEvent
KualiDocumentEvent.getRuleInterfaceClass()
public boolean invokeRuleMethod(BusinessRule rule)
KualiDocumentEvent
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.