public class ReplyBuilder extends ChangesBuilder
Modifier and Type | Field and Description |
---|---|
static ReplyBuilder |
OK_INSTANCE_READONLY
Single Instance of the ReplyBuilder that can be shared for a simple OK
reply.
|
static ReplyBuilder |
OK_PROCESS_SYNC_REQUESTS_READONLY
Single Instance of the ReplyBuilder that can be shared for a simple OK that will send another request to ther
server to process any outstanding SYNC events in the Maximo UI.
|
static ReplyBuilder |
OK_RELOAD_MODEL_INSTANCE_READONLY
Single Instance of the ReplyBuilder that can be shared for a simple OK that will request a model data reload
reply.
|
Constructor and Description |
---|
ReplyBuilder() |
ReplyBuilder(int result) |
Modifier and Type | Method and Description |
---|---|
com.ibm.json.java.JSONObject |
IO() |
static com.ibm.json.java.JSONObject |
newErrorReply(java.lang.String msg) |
static com.ibm.json.java.JSONObject |
newErrorReply(java.lang.String msg,
java.lang.Throwable e)
Creates an Error Reply
|
addChange, addChange, addChange, addDeleted, addDeleted, addNewRow, addNewRow, addNewRow, Changes, findChange
Actions, addCol, addCol, addCol, addCol, addDef, addGantt, addGantt, addLeftCol, addLeftCol, addLeftCol, addPager, addRightCol, addRightCol, addRightCol, addRow, addSolid, addZoom, Body, Calendars, Cfg, Cols, Def, Filter, Format, Gantt, getSolid, Head, Header, Lang, LeftCols, Pagers, Panel, RightCols, Solid, Toolbar, Zoom
getAsType, newArrayObject, setValue
isValidObject, isValidType, parse, parse, parse, put, serialize, serialize, serialize, serialize, serialize, serialize, toString
public static final ReplyBuilder OK_INSTANCE_READONLY
public static final ReplyBuilder OK_RELOAD_MODEL_INSTANCE_READONLY
public static final ReplyBuilder OK_PROCESS_SYNC_REQUESTS_READONLY
public static com.ibm.json.java.JSONObject newErrorReply(java.lang.String msg, java.lang.Throwable e)
msg
- e
- public static com.ibm.json.java.JSONObject newErrorReply(java.lang.String msg)
public com.ibm.json.java.JSONObject IO()