public final class AddAdHocRouteWorkgroupEvent extends DocumentEventBase
document
Constructor and Description |
---|
AddAdHocRouteWorkgroupEvent(Document document,
AdHocRouteWorkgroup adHocRouteWorkgroup)
Constructs an AddAdHocRouteWorkgroupEvent with the given document
|
AddAdHocRouteWorkgroupEvent(String errorPathPrefix,
Document document,
AdHocRouteWorkgroup adHocRouteWorkgroup)
Constructs an AddAdHocRouteWorkgroupEvent with the specified errorPathPrefix, document, and adHocRouteWorkgroup
|
Modifier and Type | Method and Description |
---|---|
AdHocRouteWorkgroup |
getAdHocRouteWorkgroup()
This method retrieves the document adHocRouteWorkgroup 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.
|
getDocument, getDocumentId
addFact, generateEvents, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName, setFacts, setName, setRuleMethodName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateEvents, getDescription, getErrorPathPrefix, getFacts, getName, getRuleMethodName
public AddAdHocRouteWorkgroupEvent(String errorPathPrefix, Document document, AdHocRouteWorkgroup adHocRouteWorkgroup)
document
- adHocRouteWorkgroup
- errorPathPrefix
- public AddAdHocRouteWorkgroupEvent(Document document, AdHocRouteWorkgroup adHocRouteWorkgroup)
document
- adHocRouteWorkgroup
- public AdHocRouteWorkgroup getAdHocRouteWorkgroup()
public void validate()
RuleEvent
validate
in interface RuleEvent
validate
in class DocumentEventBase
RuleEvent.validate()
public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEvent
RuleEvent.getRuleInterfaceClass()
public boolean invokeRuleMethod(BusinessRule rule)
RuleEvent
rule
- business ruleRuleEvent.invokeRuleMethod(org.kuali.rice.krad.rules.rule.BusinessRule)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.