Package com.saperion.ngc.events.iform
Class SaveDocumentEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
com.saperion.ngc.events.iform.SaveDocumentEvent
- All Implemented Interfaces:
- Serializable
public class SaveDocumentEvent
extends org.zkoss.zk.ui.event.Event
Event used to tell the ResultSet that a document was edited in an index-mask. 
 The ResultSet will take care about saving the changes.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSaveDocumentEvent(org.zkoss.zk.ui.Component target, ResultFieldEventBean resultBean) SaveDocumentEvent(org.zkoss.zk.ui.Component target, ResultFieldEventBean resultBean, Set<String> acls, String comment, Map<String, DocumentVariable> variables) 
- 
Method SummaryModifier and TypeMethodDescriptiongetAcls()Returns the edit-event that started the edit-action that resulted in this save-event.List<com.saperion.bean.ContentStream>getList()com.saperion.ngc.iform.xml.SaveActionTypeintbooleanvoidsetEditEvent(EditSelectedEvent editEvent) Sets the the edit-event that started the edit-action that resulted in this save-event.Methods inherited from class org.zkoss.zk.ui.event.EventgetData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
- 
Constructor Details- 
SaveDocumentEvent- Parameters:
- target- Target component
- resultBean- field result bean
 
- 
SaveDocumentEventpublic SaveDocumentEvent(org.zkoss.zk.ui.Component target, ResultFieldEventBean resultBean, Set<String> acls, String comment, Map<String, DocumentVariable> variables) - Parameters:
- target- Target component
- resultBean- field result bean
- acls- acls to add to the document
- comment- the comment for the new revision
- variables- the variables to add to the document
 
 
- 
- 
Method Details- 
getList- Returns:
- Result field list
 
- 
getDDCName- Returns:
- DDC name
 
- 
getSaveActionpublic com.saperion.ngc.iform.xml.SaveActionType getSaveAction()- Returns:
- Save action
 
- 
getSelectedImagepublic int getSelectedImage()- Returns:
- Selected image
 
- 
getImageContent- Returns:
- Image content list
 
- 
getUseAttachmentpublic boolean getUseAttachment()- Returns:
- useAttachment
 
- 
getAcls- Returns:
- acl-string to use when saving
 
- 
getComment- Returns:
- the comment for the new revision
 
- 
getVariables- Returns:
- the variables to add to the document
 
- 
getEditEventReturns the edit-event that started the edit-action that resulted in this save-event. The event can be used to repeat the last edit-action when a save-and-button was pressed.- Returns:
- the last edit-event or null if not set
 
- 
setEditEventSets the the edit-event that started the edit-action that resulted in this save-event. The event can be used to repeat the last edit-action when a save-and-button was pressed.- Parameters:
- editEvent- the last edit-event
 
 
-