gsdsdk / com.gsd.software.sdk.netconnector / GSDRemoteData

GSDRemoteData

open class GSDRemoteData

Created by konradrutkowski on 07.07.2017.

Constructors

Name Summary
<init> GSDRemoteData(context:Context, remoteUrl:String, userName:String, userPassword:String, apiKey:String, appNames:List<String>, deviceIdGenerator:DeviceIdGenerator? = null)
GSDRemoteData(context:Context, accessData:AccessData, deviceIdGenerator:DeviceIdGenerator? = null)
GSDRemoteData(context:Context, currentUser:CurrentUser, deviceIdGenerator:DeviceIdGenerator? = null)

Properties

Name Summary
context var context:Context

Functions

Name Summary
addDocumentsToHistory fun addDocumentsToHistory(callback:NetDataLoadCallback<ResponseObject>, objectIds:List<String>):Unit
assignDocument fun <T> assignDocument(className:String, documentId:String, objectIds:List<String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
changePassword fun changePassword(bodyJson:String, callback:NetDataLoadCallback<ResponseObject>):Unit
createNewConnector fun createNewConnector(context:Context, accessData:AccessData, deviceIdGenerator:DeviceIdGenerator? = null):Unit
deleteObject fun <T> deleteObject(objectId:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
deleteSyncObject fun <T> deleteSyncObject(schemaName:String, syncVersion:String, objectId:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
deleteUploadId fun <T> deleteUploadId(uploadId:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
disableSSL fun disableSSL():Unit
downloadFile fun downloadFile(fileOid:String, directory:String, callback:FileCallback, name:String? = null):Unit
downloadTinyMce fun downloadTinyMce(eTag:String, callback:NetDataLoadCallback<TinyMceResponse>):Unit
executeAutoGetRequest fun <T> executeAutoGetRequest(url:String, queryMap:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
executeAutoPostRequest fun <T> executeAutoPostRequest(url:String, body:String, queryMap:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
executeGetRequest fun executeGetRequest(url:String, queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
executeMacro fun <T> executeMacro(macroName:String, json:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
executePatchRequest fun executePatchRequest(url:String, body:String, queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
executePostRequest fun executePostRequest(url:String, body:String, queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
executeRequest fun <T> executeRequest(requestData:RequestData, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
executeTemplate fun <T> executeTemplate(templateName:String, templateID:String, json:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getAppointments fun <T> getAppointments(query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getCalls fun <T> getCalls(query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getClassStructure fun <T> getClassStructure(query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getConversation fun <T> getConversation(messageOid:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getConversation(messageOid:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getConversations fun <T> getConversations(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getConversations(query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getDocuments fun <T> getDocuments(categoryDetails:List<CategoryDetail>, requestParameters:Map<String,Any>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getDynamicList fun getDynamicList(callback:NetDataLoadCallback<DynamicList>):Unit
getDynamicViews fun getDynamicViews(viewIds:List<String>, globalVariables:GlobalVariables, callback:NetDataLoadCallback<DynamicViewWrapperList>):Unit
getDynamicViewsChanges fun getDynamicViewsChanges(queryMap:Map<String,String>, callback:NetDataLoadCallback<DynamicViewChanges>):Unit
getEmailAccounts fun getEmailAccounts(callback:NetDataLoadCallback<ResponseDataList<EmailAccount>>):Unit
getEmailSettings fun getEmailSettings(callback:NetDataLoadCallback<EmailSettings>):Unit
getEmailSignatures fun getEmailSignatures(callback:NetDataLoadCallback<UserEmailSignatures>):Unit
getFileUploadId fun <T> getFileUploadId(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getFileUploadedSize fun getFileUploadedSize(fileId:String, callback:NetDataLoadCallback<ResponseObject>):Unit
getFolderDocumentsByPath fun <T> getFolderDocumentsByPath(folderPath:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getFolderDocumentsByType fun <T> getFolderDocumentsByType(folderType:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getMessages fun <T> getMessages(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getMessages(query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getMissedCalls fun <T> getMissedCalls(query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getObject fun <T> getObject(oid:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getObject(oid:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getObject(oid:String, field:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getObject(oid:String, field:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getObjectList fun <T> getObjectList(className:String, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
fun <T> getObjectList(className:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getPreview fun getPreview(preview:Preview, callback:NetDataLoadCallback<ResponseBody>):Unit
getServerPublicKey fun <T> getServerPublicKey(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getServiceStatus fun getServiceStatus(callback:NetDataLoadCallback<ServiceStatusInfo>):Unit
getSessionObject fun <T> getSessionObject(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getSync fun <T> getSync(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getSyncChanges fun <T> getSyncChanges(schemaName:String, syncVersion:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getSyncObjects fun getSyncObjects(schemaName:String, syncVersion:String, json:String, schemaProperties:List<SchemaProperty>, callback:NetDataLoadCallback<DfObjectList>):Unit
getSyncSchemas fun <T> getSyncSchemas(syncNames:List<String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
getVersionInfo fun getVersionInfo(callback:NetDataLoadCallback<VersionInfo>):Unit
loginSecure fun <T> loginSecure(clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
logout fun <T> logout(callback:NetDataLoadCallback<ResponseObject>):Unit
markDocumentsAsRead fun markDocumentsAsRead(callback:NetDataLoadCallback<ResponseObject>, objectIds:List<String>):Unit
markDocumentsAsUnread fun markDocumentsAsUnread(callback:NetDataLoadCallback<ResponseObject>, objectIds:List<String>):Unit
patchFileIntoDatabase fun <T> patchFileIntoDatabase(uploadId:String, query:Map<String,String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
patchObject fun patchObject(objectId:String, bodyJson:String, callback:NetDataLoadCallback<ResponseObject>):Unit
postFile fun postFile(fileContent:FileContent, uploadId:String, startPosition:Long, callback:UploadCallback):Unit
sendAnnotation fun <T> sendAnnotation(annotationText:String, userNames:List<String>, objectIds:List<String>, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
sendMail fun <T> sendMail(mailRequestData:MailRequestData, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
sendMessage fun <T> sendMessage(messageActionSend:MessageActionSend, clazz:Class<T>, callback:NetDataLoadCallback<T>):Unit
sendReplyToAppointmentInvitation fun sendReplyToAppointmentInvitation(id:String, action:String, deleteAppointment:Boolean, callback:NetDataLoadCallback<ResponseObject>):Unit
updateSyncObject fun updateSyncObject(schemaName:String, syncVersion:String, objectId:String, json:String, schemaProperties:List<SchemaProperty>, callback:NetDataLoadCallback<DfObject>):Unit
uploadFile fun uploadFile(fileContent:FileContent, objectId:String, callback:UploadCallback):Unit