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