public class SendInPostConnector<T extends BusinessEntity> extends AsyncDatabaseConnector<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
SendInPostConnector.Builder<B extends BusinessEntity>
A utility class useful to create a SendInPostConnector.
|
AsyncDatabaseConnector.OnEndConnectionListener<T>, AsyncDatabaseConnector.OnStartConnectionListenerfileUrl| Modifier | Constructor and Description |
|---|---|
protected |
SendInPostConnector(SendInPostConnector.Builder<T> builder)
SendInPostConnector's constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
doInBackground(java.lang.Void... voids)
This function send the data to the server-side script and fetches its response.
|
static java.util.Map<java.lang.String,java.lang.Object> |
paramsFromObject(BusinessEntity entity)
Return a Map from the result returned by the remote connector.
|
void |
setObjectToSend(java.util.Map<java.lang.String,java.lang.Object> objectToSend)
Set the object that will be searched.
|
executeAfterConnection, getData, onPostExecute, onPreExecute, setErrorprotected SendInPostConnector(SendInPostConnector.Builder<T> builder)
builder - The Builder.protected java.lang.String doInBackground(java.lang.Void... voids)
doInBackground in class AsyncDatabaseConnector<T extends BusinessEntity>voids - Various parameterspublic void setObjectToSend(java.util.Map<java.lang.String,java.lang.Object> objectToSend)
objectToSend - The new object that will be sent.public static java.util.Map<java.lang.String,java.lang.Object> paramsFromObject(BusinessEntity entity)
entity - The BusinessEntity object to be converted.