public class UpdateSettings extends Object
Constructor and Description |
---|
UpdateSettings() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAcls() |
String |
getComment() |
String |
getDefaultComment() |
EditSelectedEvent |
getEditEvent()
Returns the edit-event that started the edit-action that uses this UpdateSettings.
|
com.saperion.ngc.iform.xml.SaveActionType |
getSaveAction() |
int |
getSelectedImage() |
Map<String,DocumentVariable> |
getVariables() |
boolean |
isCheckin() |
boolean |
isCommentDialogEnabled() |
boolean |
isDeleted() |
boolean |
isLookup() |
UpdateSettings |
setAcls(Set<String> acls) |
UpdateSettings |
setCheckin(boolean checkin) |
UpdateSettings |
setComment(String comment) |
UpdateSettings |
setCommentDialogEnabled(boolean commentDialogEnabled) |
UpdateSettings |
setDefaultComment(String defaultComment) |
void |
setDeleted(boolean deleted) |
UpdateSettings |
setEditEvent(EditSelectedEvent editEvent)
Sets the edit-event that started the edit-action that uses this UpdateSettings.
|
UpdateSettings |
setLookup(boolean lookup) |
UpdateSettings |
setSaveAction(com.saperion.ngc.iform.xml.SaveActionType saveAction) |
UpdateSettings |
setSelectedImage(int selectedImage) |
UpdateSettings |
setVariables(Map<String,DocumentVariable> variables) |
public UpdateSettings setCheckin(boolean checkin)
checkin
- whether to checkin the document or not (default = false)public UpdateSettings setLookup(boolean lookup)
lookup
- whether the item to update is a lookup-item (default = false)public UpdateSettings setComment(String comment)
comment
- revision comment (default = "")public UpdateSettings setSelectedImage(int selectedImage)
selectedImage
- selected image for thumbnail-control (default = -1)public UpdateSettings setAcls(Set<String> acls)
acls
- ACLs to add to the document (default = null)public UpdateSettings setSaveAction(com.saperion.ngc.iform.xml.SaveActionType saveAction)
saveAction
- action to perform after savingpublic boolean isCheckin()
public boolean isLookup()
public String getComment()
public int getSelectedImage()
public com.saperion.ngc.iform.xml.SaveActionType getSaveAction()
public UpdateSettings setVariables(Map<String,DocumentVariable> variables)
variables
- variables to add to documentpublic Map<String,DocumentVariable> getVariables()
public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- if the document that is updates is deleted or notpublic boolean isCommentDialogEnabled()
public UpdateSettings setCommentDialogEnabled(boolean commentDialogEnabled)
commentDialogEnabled
- whether the comment dialog is enabled or notpublic UpdateSettings setDefaultComment(String defaultComment)
defaultComment
- default comment for the new revisionpublic String getDefaultComment()
public EditSelectedEvent getEditEvent()
public UpdateSettings setEditEvent(EditSelectedEvent editEvent)
editEvent
- the last edit-eventCopyright © 2021 Hyland Software Germany GmbH. All rights reserved.