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

DocuConnector

class DocuConnector

Created by PJablonski on 04.07.2017.

Constructors

Name Summary
<init> DocuConnector(context:Context, accessData:AccessData, deviceIdGenerator:DeviceIdGenerator?)
Created by PJablonski on 04.07.2017.

Properties

Name Summary
accessData var accessData:AccessData
keyProvider val keyProvider:KeyProvider
networkController val networkController:NetworkController
secureAuthentication var secureAuthentication:SecureAuthentication
sessionCache val sessionCache:SessionCache

Functions

Name Summary
addDocumentsToHistory fun addDocumentsToHistory(callback:NetDataLoadCallback<ResponseObject>, objectIds:List<String>):Unit
assignDocument fun assignDocument(className:String, documentId:String, objectIds:List<String>, callback:NetDataLoadCallback<ResponseObject>):Unit
authenticate fun authenticate(callback:NetDataLoadCallback<ResponseObject>):Unit
changePassword fun changePassword(bodyJson:String, callback:NetDataLoadCallback<ResponseObject>):Unit
deleteObject fun deleteObject(objectId:String, queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
deleteSyncObject fun deleteSyncObject(schemaName:String, syncVersion:String, objectId:String, callback:NetDataLoadCallback<ResponseObject>):Unit
deleteUploadId fun deleteUploadId(uploadId:String, callback:NetDataLoadCallback<ResponseObject>):Unit
disableSSL fun disableSSL():Unit
downloadFile fun downloadFile(fileOid:String, directory:String, callback:FileCallback, name:String?):Unit
downloadTinyMce fun downloadTinyMce(eTag:String, callback:NetDataLoadCallback<TinyMceResponse>):Unit
executeGetRequest fun executeGetRequest(url:String, queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
executeMacro fun executeMacro(macroName:String, json:String, callback:NetDataLoadCallback<ResponseObject>):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
executeRequestData fun executeRequestData(requestData:RequestData, callback:NetDataLoadCallback<ResponseObject>):Unit
executeTemplate fun executeTemplate(templateName:String, templateID:String, json:String, callback:NetDataLoadCallback<ResponseObject>):Unit
getAppointments fun getAppointments(query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getCalls fun getCalls(query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getClassStructure fun getClassStructure(query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getConversation fun getConversation(messageOid:String, query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getConversations fun getConversations(query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getDocuments fun getDocuments(categoryDetails:List<CategoryDetail>, requestParameters:Map<String,Any>, callback:NetDataLoadCallback<ResponseObject>):Unit
getDynamicViews fun getDynamicViews(viewIds:List<String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getDynamicViewsChanges fun getDynamicViewsChanges(queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getEmailAccounts fun getEmailAccounts(callback:NetDataLoadCallback<ResponseObject>):Unit
getEmailSettings fun getEmailSettings(callback:NetDataLoadCallback<ResponseObject>):Unit
getEmailSignatures fun getEmailSignatures(callback:NetDataLoadCallback<ResponseObject>):Unit
getFileUploadId fun getFileUploadId(callback:NetDataLoadCallback<ResponseObject>):Unit
getFileUploadedSize fun getFileUploadedSize(fileId:String, callback:NetDataLoadCallback<ResponseObject>):Unit
getFolderDocumentsByPath fun getFolderDocumentsByPath(folderPath:String, query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getFolderDocumentsByType fun getFolderDocumentsByType(folderType:String, query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getMessages fun getMessages(query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getMissedCalls fun getMissedCalls(query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getObject fun getObject(oid:String, field:String, queryMap:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getObjectList fun getObjectList(className:String, query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getPreview fun getPreview(preview:Preview, callback:NetDataLoadCallback<ResponseBody>):Unit
getServerPublicKey fun getServerPublicKey(callback:NetDataLoadCallback<ResponseObject>):Unit
getServiceStatus fun getServiceStatus(callback:NetDataLoadCallback<ResponseObject>):Unit
getSync fun getSync(callback:NetDataLoadCallback<ResponseObject>):Unit
getSyncChanges fun getSyncChanges(schemaName:String, syncVersion:String, query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getSyncObjects fun getSyncObjects(schemaName:String, syncVersion:String, json:String, callback:NetDataLoadCallback<ResponseObject>):Unit
getSyncSchemas fun getSyncSchemas(syncNames:List<String>, callback:NetDataLoadCallback<ResponseObject>):Unit
getVersionInfo fun getVersionInfo(callback:NetDataLoadCallback<ResponseObject>):Unit
loginSecure fun loginSecure(callback:NetDataLoadCallback<ResponseObject>):Unit
logout fun logout(callback:NetDataLoadCallback<ResponseObject>):Unit
patchFile fun patchFile(uploadId:String, query:Map<String,String>, callback:NetDataLoadCallback<ResponseObject>):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 sendAnnotation(annotationText:String, userNames:List<String>, objectIds:List<String>, callback:NetDataLoadCallback<ResponseObject>):Unit
sendMail fun sendMail(mailRequestData:MailRequestData, callback:NetDataLoadCallback<ResponseObject>):Unit
sendMessage fun sendMessage(messageActionSend:MessageActionSend, callback:NetDataLoadCallback<ResponseObject>):Unit
sendReplyToAppointmentInvitation fun sendReplyToAppointmentInvitation(id:String, action:String, deleteAppointment:Boolean, callback:NetDataLoadCallback<ResponseObject>):Unit
updateDocumentsReadStatus fun updateDocumentsReadStatus(callback:NetDataLoadCallback<ResponseObject>, objectIds:List<String>, isRead:Boolean):Unit
updateSyncObject fun updateSyncObject(schemaName:String, syncVersion:String, objectId:String, json:String, callback:NetDataLoadCallback<ResponseObject>):Unit
uploadFile fun uploadFile(fileContent:FileContent, objectId:String, callback:UploadCallback):Unit