org.kuali.rice.kns.rule.event
Interface KualiDocumentEvent

All Known Implementing Classes:
AddAdHocRoutePersonEvent, AddAdHocRouteWorkgroupEvent, AddDelegationEvent, AddDelegationMemberEvent, AddGroupEvent, AddGroupMemberEvent, AddMemberEvent, AddNoteEvent, AddPermissionEvent, AddPersonDelegationMemberEvent, AddPersonDocumentDelegationMemberQualifierEvent, AddPersonDocumentRoleQualifierEvent, AddResponsibilityEvent, AddRoleEvent, ApproveDocumentEvent, BlanketApproveDocumentEvent, DocumentAuditEvent, KualiAddLineEvent, KualiDocumentEventBase, PromptBeforeValidationEvent, RouteDocumentEvent, SaveDocumentEvent, SaveOnlyDocumentEvent, SendAdHocRequestsEvent

public interface KualiDocumentEvent

Parent interface of all document-related events, which are used to drive the business rules evaluation process.


Method Summary
 List generateEvents()
          This will return a list of events that are spawned from this event.
 String getDescription()
          A description of the event.
 Document getDocument()
           
 String getErrorPathPrefix()
           
 String getName()
          The name of the event.
 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.
 void validate()
          Validates the event has all the necessary properties.
 

Method Detail

getDocument

Document getDocument()
Returns:
Document The document associated with this event

getName

String getName()
The name of the event.

Returns:
String

getDescription

String getDescription()
A description of the event.

Returns:
String

getErrorPathPrefix

String getErrorPathPrefix()
Returns:
errorPathPrefix for this event

getRuleInterfaceClass

Class getRuleInterfaceClass()
Returns the interface that classes must implement to recieve this event.

Returns:

validate

void validate()
Validates the event has all the necessary properties.


invokeRuleMethod

boolean invokeRuleMethod(BusinessRule rule)
Invokes the event handling method on the rule object.

Parameters:
rule -
Returns:

generateEvents

List generateEvents()
This will return a list of events that are spawned from this event.

Returns:


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