SaveOptions
Inheritance: java.lang.Object
public abstract class SaveOptions
SaveOptions type hold level of abstraction on individual save options
Constructors
Constructor | Description |
---|---|
SaveOptions() |
Methods
Method | Description |
---|---|
getWarningHandler() | Callback to handle any warnings generated. |
setWarningHandler(WarningCallback value) | Callback to handle any warnings generated. |
getSaveFormat() | Format of data save. |
isCloseResponse() | Gets boolean value which indicates will Response object be closed after document saved into response. |
setCloseResponse(boolean value) | Sets boolean value which indicates will Response object be closed after document saved into response. |
SaveOptions()
public SaveOptions()
getWarningHandler()
public WarningCallback getWarningHandler()
Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
Returns: WarningCallback - IWarningCallback value
setWarningHandler(WarningCallback value)
public void setWarningHandler(WarningCallback value)
Callback to handle any warnings generated. The WarningHandler returns ReturnAction enum item specifying either Continue or Abort. Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
Parameters:
Parameter | Type | Description |
---|---|---|
value | WarningCallback | IWarningCallback value |
getSaveFormat()
public SaveFormat getSaveFormat()
Format of data save.
Returns: SaveFormat - SaveFormat value
isCloseResponse()
public boolean isCloseResponse()
Gets boolean value which indicates will Response object be closed after document saved into response.
Returns: boolean - boolean value
setCloseResponse(boolean value)
public void setCloseResponse(boolean value)
Sets boolean value which indicates will Response object be closed after document saved into response.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | boolean value |