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

java.lang.Object
  extended by org.kuali.rice.krad.rule.event.KualiDocumentEventBase
      extended by org.kuali.rice.krad.rule.event.SaveDocumentEvent
          extended by org.kuali.rice.krad.rule.event.SaveOnlyDocumentEvent
All Implemented Interfaces:
KualiDocumentEvent, SaveEvent

public class SaveOnlyDocumentEvent
extends SaveDocumentEvent

This class represents the save event that is part of an eDoc in Kuali. This could be triggered when a user presses the save button for a given document or it could happen when another piece of code calls the save method in the document service. This event does not trigger sub-events for validation.


Field Summary
 
Fields inherited from class org.kuali.rice.krad.rule.event.KualiDocumentEventBase
document
 
Constructor Summary
SaveOnlyDocumentEvent(Document document)
          Constructs a SaveDocumentEvent with the given document
SaveOnlyDocumentEvent(String errorPathPrefix, Document document)
          Constructs a SaveOnlyDocumentEvent with the specified errorPathPrefix and document
SaveOnlyDocumentEvent(String description, String errorPathPrefix, Document document)
           
 
Method Summary
 List<KualiDocumentEvent> generateEvents()
          This overridden method returns an empty list always
 
Methods inherited from class org.kuali.rice.krad.rule.event.SaveDocumentEvent
getRuleInterfaceClass, invokeRuleMethod
 
Methods inherited from class org.kuali.rice.krad.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

SaveOnlyDocumentEvent

public SaveOnlyDocumentEvent(String errorPathPrefix,
                             Document document)
Constructs a SaveOnlyDocumentEvent with the specified errorPathPrefix and document

Parameters:
document -
errorPathPrefix -

SaveOnlyDocumentEvent

public SaveOnlyDocumentEvent(Document document)
Constructs a SaveDocumentEvent with the given document

Parameters:
document -

SaveOnlyDocumentEvent

public SaveOnlyDocumentEvent(String description,
                             String errorPathPrefix,
                             Document document)
See Also:
KualiDocumentEventBase.KualiDocumentEventBase(java.lang.String, java.lang.String, org.kuali.rice.krad.document.Document)
Method Detail

generateEvents

public List<KualiDocumentEvent> generateEvents()
This overridden method returns an empty list always

Specified by:
generateEvents in interface KualiDocumentEvent
Overrides:
generateEvents in class SaveDocumentEvent
Returns:
See Also:
SaveDocumentEvent.generateEvents()


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