org.kuali.rice.kns.rule.event
Class DocumentAuditEvent

java.lang.Object
  extended by org.kuali.rice.kns.rule.event.KualiDocumentEventBase
      extended by org.kuali.rice.kns.rule.event.DocumentAuditEvent
All Implemented Interfaces:
KualiDocumentEvent

public class DocumentAuditEvent
extends KualiDocumentEventBase
implements KualiDocumentEvent

Event class for document audit

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

Field Summary
 
Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
DocumentAuditEvent(Document document)
          Constructs a RunAuditEvent with the given document.
DocumentAuditEvent(java.lang.String errorPathPrefix, Document document)
          Constructs a RunAuditEvent with the given errorPathPrefix and document.
 
Method Summary
 java.lang.Class getRuleInterfaceClass()
          Returns the interface that classes must implement to recieve this event.
 boolean invokeRuleMethod(BusinessRule rule)
          Invokes the event handling method on the rule object.
 
Methods inherited from class org.kuali.rice.kns.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
 
Methods inherited from interface org.kuali.rice.kns.rule.event.KualiDocumentEvent
generateEvents, getDescription, getDocument, getErrorPathPrefix, getName, validate
 

Constructor Detail

DocumentAuditEvent

public DocumentAuditEvent(java.lang.String errorPathPrefix,
                          Document document)
Constructs a RunAuditEvent with the given errorPathPrefix and document.

Parameters:
errorPathPrefix -
document -
accountingLine -

DocumentAuditEvent

public DocumentAuditEvent(Document document)
Constructs a RunAuditEvent with the given document.

Parameters:
errorPathPrefix -
document -
accountingLine -
Method Detail

getRuleInterfaceClass

public java.lang.Class getRuleInterfaceClass()
Description copied from interface: KualiDocumentEvent
Returns the interface that classes must implement to recieve this event.

Specified by:
getRuleInterfaceClass in interface KualiDocumentEvent
Returns:
See Also:
KualiDocumentEvent.getRuleInterfaceClass()

invokeRuleMethod

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

Specified by:
invokeRuleMethod in interface KualiDocumentEvent
Returns:
See Also:
KualiDocumentEvent.invokeRuleMethod(org.kuali.rice.kns.rule.BusinessRule)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.