public class AddRoleEvent extends DocumentEventBase
document
Constructor and Description |
---|
AddRoleEvent(String errorPathPrefix,
Document document,
PersonDocumentRole role) |
AddRoleEvent(String errorPathPrefix,
IdentityManagementPersonDocument document) |
Modifier and Type | Method and Description |
---|---|
PersonDocumentRole |
getRole() |
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 |
setRole(PersonDocumentRole role) |
getDocument, getDocumentId, validate
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 AddRoleEvent(String errorPathPrefix, IdentityManagementPersonDocument document)
public AddRoleEvent(String errorPathPrefix, Document document, PersonDocumentRole role)
public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEvent
public boolean invokeRuleMethod(BusinessRule rule)
RuleEvent
rule
- business rulepublic PersonDocumentRole getRole()
public void setRole(PersonDocumentRole role)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.