org.kuali.rice.kim.impl.responsibility
Class AddResponsibilityEvent

java.lang.Object
  extended by org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase
      extended by org.kuali.rice.kim.impl.responsibility.AddResponsibilityEvent
All Implemented Interfaces:
KualiDocumentEvent

public class AddResponsibilityEvent
extends KualiDocumentEventBase

This is a description of what this class does - shyu don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
 
Fields inherited from class org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
AddResponsibilityEvent(String errorPathPrefix, Document document, KimDocumentRoleResponsibility permission)
           
AddResponsibilityEvent(String errorPathPrefix, IdentityManagementRoleDocument document)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase
generateEvents, getDescription, getDocument, getDocumentId, getErrorPathPrefix, getName, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AddResponsibilityEvent

public AddResponsibilityEvent(String errorPathPrefix,
                              IdentityManagementRoleDocument document)

AddResponsibilityEvent

public AddResponsibilityEvent(String errorPathPrefix,
                              Document document,
                              KimDocumentRoleResponsibility permission)
Method Detail

getRuleInterfaceClass

public Class<? extends BusinessRule> getRuleInterfaceClass()
Description copied from interface: KualiDocumentEvent
Returns the interface that classes must implement to receive this event.

Returns:

invokeRuleMethod

public boolean invokeRuleMethod(BusinessRule rule)
Description copied from interface: KualiDocumentEvent
Invokes the event handling method on the rule object.

Returns:

getResponsibility

public KimDocumentRoleResponsibility getResponsibility()
Returns:
the permission

setResponsibility

public void setResponsibility(KimDocumentRoleResponsibility permission)
Parameters:
permission - the permission to set


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.