public class DSRequest extends RPCRequest implements com.smartgwt.mobile.client.internal.util.HasSerializeableFields
_attributes| Constructor and Description |
|---|
DSRequest() |
DSRequest(DSOperationType opType) |
DSRequest(DSOperationType opType,
Record data) |
DSRequest(DSOperationType opType,
java.lang.String operationId) |
DSRequest(DSOperationType opType,
java.lang.String operationId,
Record data) |
DSRequest(DSRequest dsRequest) |
| Modifier and Type | Method and Description |
|---|---|
DSCallback |
_getAfterFlowCallback() |
com.google.gwt.i18n.shared.DateTimeFormat |
_getDatetimeFormat()
Returns the
DateTimeFormat used to serialize datetime
values. |
OperationBinding |
_getOperation() |
java.util.Map<java.lang.String,?> |
_getSerializableFields(java.util.List<?> list1,
java.util.List<?> list2) |
java.lang.String |
_getSortByString() |
java.lang.String |
_serialize(boolean strict) |
void |
_setAfterFlowCallback(DSCallback afterFlowCallback) |
void |
_setDatetimeFormat(com.google.gwt.i18n.shared.DateTimeFormat datetimeFormat) |
void |
_setOperation(OperationBinding operation) |
void |
copyAttributes(DSRequest dsRequest) |
void |
copyAttributes(java.util.Map<java.lang.String,java.lang.Object> properties) |
java.lang.String |
getAuthorization()
Returns the value of an
Authorization header field to send with the request. |
DSCallback |
getCallback() |
java.lang.String |
getComponentId() |
java.lang.Object |
getData() |
java.lang.String |
getDataSource() |
java.lang.String |
getDataURL() |
java.lang.Integer |
getEndRow() |
Record |
getOldValues() |
java.lang.String |
getOperationId() |
DSOperationType |
getOperationType() |
java.lang.Object |
getOriginalData()
The
data of the request before DataSource.transformRequest() was called. |
java.util.Map<java.lang.String,java.lang.Object> |
getParams()
Returns the query string parameters that should be sent.
|
SortSpecifier[] |
getSortBy() |
java.lang.Integer |
getStartRow() |
TextMatchStyle |
getTextMatchStyle() |
void |
setAuthorization(java.lang.String authorization) |
void |
setCallback(DSCallback callback) |
void |
setComponentId(java.lang.String componentId) |
void |
setData(java.lang.Object newData) |
void |
setDataSource(java.lang.String dataSource) |
void |
setDataURL(java.lang.String dataURL) |
void |
setEndRow(java.lang.Integer endRow) |
void |
setOldValues(Record oldValues) |
void |
setOperationId(java.lang.String newVal) |
void |
setOperationType(DSOperationType operationType) |
void |
setOriginalData(java.lang.Object newOriginalData) |
void |
setParams(java.util.Map<java.lang.String,java.lang.Object> newParams) |
void |
setSortBy(SortSpecifier... sortBy) |
void |
setStartRow(java.lang.Integer startRow) |
void |
setTextMatchStyle(TextMatchStyle textMatchStyle) |
_getAttributes, _getTransactionNum, _getWillHandleError, _setTransactionNum, getContentType, getHttpHeaders, getHttpMethod, getRequestId, getShowPrompt, getTimeout, getWillHandleError, setContentType, setHttpHeaders, setHttpMethod, setHttpMethod, setRequestId, setShowPrompt, setTimeout, setWillHandleErrorpublic DSRequest()
public DSRequest(DSOperationType opType)
public DSRequest(DSOperationType opType, java.lang.String operationId)
public DSRequest(DSOperationType opType, Record data)
public DSRequest(DSOperationType opType, java.lang.String operationId, Record data)
public DSRequest(DSRequest dsRequest)
@SGWTInternal
public final java.util.Map<java.lang.String,?> _getSerializableFields(java.util.List<?> list1,
java.util.List<?> list2)
_getSerializableFields in interface com.smartgwt.mobile.client.internal.util.HasSerializeableFieldspublic java.lang.String getDataURL()
public void setDataURL(java.lang.String dataURL)
public void copyAttributes(DSRequest dsRequest)
public void copyAttributes(java.util.Map<java.lang.String,java.lang.Object> properties)
@SGWTInternal public java.lang.String _serialize(boolean strict)
@SGWTInternal public final DSCallback _getAfterFlowCallback()
@SGWTInternal public void _setAfterFlowCallback(DSCallback afterFlowCallback)
@SGWTInternal public final java.lang.String getAuthorization()
Authorization header field to send with the request.
The Authorization header field is used by some protocols to authenticate
requests with the server. For example, it is used by the OAuth 2 protocol to access a
protected resource.
If not null, then the String value becomes the value of an Authorization
header field that is sent with the request.
Authorization header field to send with the request. Default value: null.@SGWTInternal public void setAuthorization(java.lang.String authorization)
public java.util.Map<java.lang.String,java.lang.Object> getParams()
public void setParams(java.util.Map<java.lang.String,java.lang.Object> newParams)
@SGWTInternal public final OperationBinding _getOperation()
@SGWTInternal public void _setOperation(OperationBinding operation)
public final java.lang.String getOperationId()
public void setOperationId(java.lang.String newVal)
public final DSOperationType getOperationType()
public void setOperationType(DSOperationType operationType)
public java.lang.String getDataSource()
public void setDataSource(java.lang.String dataSource)
public final DSCallback getCallback()
public void setCallback(DSCallback callback)
public java.lang.String getComponentId()
public void setComponentId(java.lang.String componentId)
public java.lang.Object getData()
public void setData(java.lang.Object newData)
public java.lang.Object getOriginalData()
data of the request before DataSource.transformRequest() was called.public void setOriginalData(java.lang.Object newOriginalData)
public Record getOldValues()
public void setOldValues(Record oldValues)
public final SortSpecifier[] getSortBy()
public void setSortBy(SortSpecifier... sortBy)
@SGWTInternal public final java.lang.String _getSortByString()
public java.lang.Integer getStartRow()
public void setStartRow(java.lang.Integer startRow)
public java.lang.Integer getEndRow()
public void setEndRow(java.lang.Integer endRow)
public void setTextMatchStyle(TextMatchStyle textMatchStyle)
public TextMatchStyle getTextMatchStyle()
@SGWTInternal public final com.google.gwt.i18n.shared.DateTimeFormat _getDatetimeFormat()
DateTimeFormat used to serialize datetime
values.DateTimeFormat object used to serialize datetime values.@SGWTInternal public void _setDatetimeFormat(com.google.gwt.i18n.shared.DateTimeFormat datetimeFormat)