public class AddResponsibilityEvent extends DocumentEventBase
document
Constructor and Description |
---|
AddResponsibilityEvent(String errorPathPrefix,
Document document,
KimDocumentRoleResponsibility permission) |
AddResponsibilityEvent(String errorPathPrefix,
IdentityManagementRoleDocument document) |
Modifier and Type | Method and Description |
---|---|
KimDocumentRoleResponsibility |
getResponsibility() |
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 |
setResponsibility(KimDocumentRoleResponsibility permission) |
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 AddResponsibilityEvent(String errorPathPrefix, IdentityManagementRoleDocument document)
public AddResponsibilityEvent(String errorPathPrefix, Document document, KimDocumentRoleResponsibility permission)
public Class<? extends BusinessRule> getRuleInterfaceClass()
RuleEvent
public boolean invokeRuleMethod(BusinessRule rule)
RuleEvent
rule
- business rulepublic KimDocumentRoleResponsibility getResponsibility()
public void setResponsibility(KimDocumentRoleResponsibility permission)
permission
- the permission to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.