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

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

public class DocumentAuditEvent
extends KualiDocumentEventBase

Event class for document audit

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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
DocumentAuditEvent(Document document)
          Constructs a RunAuditEvent with the given document.
DocumentAuditEvent(String errorPathPrefix, Document document)
          Constructs a RunAuditEvent with the given errorPathPrefix and document.
 
Method Summary
 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.
 
Methods inherited from class org.kuali.rice.krad.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

DocumentAuditEvent

public DocumentAuditEvent(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 Class<? extends BusinessRule> getRuleInterfaceClass()
Description copied from interface: KualiDocumentEvent
Returns the interface that classes must implement to receive this event.

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.

Returns:
See Also:
KualiDocumentEvent.invokeRuleMethod(org.kuali.rice.krad.rule.BusinessRule)


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