org.kuali.rice.krad.rules.rule.event
Class SaveOnlyDocumentEvent
java.lang.Object
org.kuali.rice.krad.rules.rule.event.KualiDocumentEventBase
org.kuali.rice.krad.rules.rule.event.SaveDocumentEvent
org.kuali.rice.krad.rules.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.
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)
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-2014 The Kuali Foundation. All Rights Reserved.