|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.rule.event.KualiDocumentEventBase
org.kuali.rice.kns.rule.event.ApproveDocumentEvent
public class ApproveDocumentEvent
This class represents the approve event that is part of an eDoc in Kuali. This could be triggered when a user presses the approve button for a given document enroute or it could happen when another piece of code calls the approve method in the document service.
| Field Summary |
|---|
| Fields inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase |
|---|
document |
| Constructor Summary | |
|---|---|
|
ApproveDocumentEvent(Document document)
Constructs an ApproveDocumentEvent with the given document |
|
ApproveDocumentEvent(String errorPathPrefix,
Document document)
Constructs an ApproveDocumentEvent with the specified errorPathPrefix and document |
protected |
ApproveDocumentEvent(String eventType,
String errorPathPrefix,
Document document)
Constructs a ApproveDocumentEvent, allowing the eventType to be passed in so that subclasses can specify a more accurate message. |
| Method Summary | |
|---|---|
List |
generateEvents()
This will return a list of events that are spawned from this 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. |
| Methods inherited from class org.kuali.rice.kns.rule.event.KualiDocumentEventBase |
|---|
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 |
|---|
public ApproveDocumentEvent(String errorPathPrefix,
Document document)
errorPathPrefix - document - public ApproveDocumentEvent(Document document)
document -
protected ApproveDocumentEvent(String eventType,
String errorPathPrefix,
Document document)
eventType - errorPathPrefix - document - | Method Detail |
|---|
public Class getRuleInterfaceClass()
KualiDocumentEvent
KualiDocumentEvent.getRuleInterfaceClass()public boolean invokeRuleMethod(BusinessRule rule)
KualiDocumentEvent
KualiDocumentEvent.invokeRuleMethod(org.kuali.rice.kns.rule.BusinessRule)public List generateEvents()
KualiDocumentEvent
generateEvents in interface KualiDocumentEventgenerateEvents in class KualiDocumentEventBaseKualiDocumentEvent.generateEvents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||