gsdsdk / com.gsd.software.sdk.netconnector.request / AbstractRequest

AbstractRequest

abstract class AbstractRequest<T, K> :RequestInterface<K>, Callback<K>

Created by PJablonski on 06.07.2017.

Constructors

Name Summary
<init> AbstractRequest(interceptor: Interceptor, apiClass:Class<T>, resultClass:Class<K>, accessData:AccessData, handleSSL:Boolean)
Created by PJablonski on 06.07.2017.

Properties

Name Summary
accessData var accessData:AccessData
apiCall var apiCall:T?
externalCallback var externalCallback:NetDataLoadCallback<K>?
gson var gson: Gson?
handleSSL var handleSSL:Boolean
headers var headers:HashMap<String,String>
id val id:String
internalCallback var internalCallback:NetDataLoadCallback<K>?

Functions

Name Summary
addHeader open fun addHeader(name:String, value:String):Unit
automaticallyRenewSession open fun automaticallyRenewSession():Boolean
databaseOpAfterSuccess open fun databaseOpAfterSuccess(gsdDao:GSDDao):Unit
execute open fun execute():Unit
fillHeader open fun fillHeader():Unit
getHeaders fun getHeaders():Map<String,String>
hasSessionId fun hasSessionId():Boolean
offlineAutoSave open fun offlineAutoSave():Boolean
onFailure open fun onFailure(call: Call<K>, t:Throwable):Unit
onResponse open fun onResponse(call: Call<K>, response: Response<K>):Unit
onRetryFail open fun onRetryFail():Unit
renewSession fun renewSession(secureAuthentication:SecureAuthentication, resultCallback:NetDataLoadCallback<AuthorizationResponse>):Unit
setDataLoadCallback open fun setDataLoadCallback(externalCallback:NetDataLoadCallback<K>):Unit

Inherited Functions

Name Summary
definition abstract fun definition(): Call<T>

Inheritors

Name Summary
AddDocumentsToHistoryRequest class AddDocumentsToHistoryRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Michal Zuchowski on 03.07.2021.
AnnotationRequest class AnnotationRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 11/20/2020.
AppointmentInvitationReplyRequest class AppointmentInvitationReplyRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Jakub Rzeźnicki on 09/07/2021
AppointmentsRequest class AppointmentsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 11/05/2020
AssignDocumentRequest class AssignDocumentRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 11/05/2021
AuthenticateRequest class AuthenticateRequest :AbstractRequest<GSDLoginAPI,ResponseObject>, Callback<ResponseObject>
Created by PJablonski on 05.07.2017.
ChangePasswordRequest class ChangePasswordRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 14.06.2019.
ClassStructureRequest class ClassStructureRequest :AbstractRequest<GSDApi,ResponseObject>
ConversationRequest class ConversationRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 08.03.2018. File created for GSDAndroidSDK
ConversationsRequest class ConversationsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 21.03.2018. File created for GSDAndroidSDK
DeleteObjectRequest class DeleteObjectRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jakubrzeznicki on 12/08/2021
DeleteSyncObjectRequest class DeleteSyncObjectRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 3/5/2020.
DocumentsRequest class DocumentsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by SKoper on 18.12.2017.
DownloadTinyMceRequest class DownloadTinyMceRequest :AbstractRequest<GSDApi, ResponseBody>
Created by Konrad Rutkowski on 3/10/21
EmailAccountsRequest class EmailAccountsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 11/2/2020.
EmailSettingsRequest class EmailSettingsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Konrad Rutkowski on 3/30/21
EmailSignaturesRequest class EmailSignaturesRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Konrad Rutkowski on 08/06/2021
FileCurrentSizeRequest class FileCurrentSizeRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 29.08.2017.
FileDeleteUploadIdRequest class FileDeleteUploadIdRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 7/10/2018.
FileDownloadRequest class FileDownloadRequest :AbstractRequest<GSDApi, ResponseBody>, Callback<ResponseBody>
Created by PJablonski on 21.08.2017.
FileGetUploadIdRequest class FileGetUploadIdRequest :AbstractRequest<GSDApi,ResponseObject>
Created by SKoper on 11.10.2017.
FileUploadNewRequest class FileUploadNewRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 21.08.2017.
FileUploaderRequest class FileUploaderRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 24.08.2017.
FolderDocumentsByPathRequest class FolderDocumentsByPathRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 29/05/2020
FolderDocumentsByTypeRequest class FolderDocumentsByTypeRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Konrad Rutkowski on 26/04/2020
GetCallsRequest class GetCallsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 01/06/2021
GetDynamicViewsChangesRequest class GetDynamicViewsChangesRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 12/03/2021
GetDynamicViewsRequest class GetDynamicViewsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 01/03/2021
GetMissedCallsRequest class GetMissedCallsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 01/06/2021
GetPreviewRequest class GetPreviewRequest :AbstractRequest<GSDApi, ResponseBody>
Created by jmielczarek on 22/03/2021
GetRequest class GetRequest :AbstractRequest<DynamicApi,ResponseObject>
Created by Maksim Shumko on 7/22/2020.
GetSyncObjectsRequest class GetSyncObjectsRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 8/12/2019.
LogoutUserRequest class LogoutUserRequest :AbstractRequest<GSDLoginAPI,ResponseObject>
Created by Maciej Krawczyk on 28.03.2018. File created for GSDAndroidSDK
MacroRequest class MacroRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 06.07.2017.
MessagesRequest class MessagesRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 07.03.2018. File created for GSDAndroidSDK
ObjectListGetRequest class ObjectListGetRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 10.07.2017.
ObjectRequest class ObjectRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 06.07.2017.
PatchFileRequest class PatchFileRequest :AbstractRequest<GSDApi,ResponseObject>
Created by PJablonski on 28.08.2017.
PatchObjectRequest class PatchObjectRequest :AbstractRequest<GSDApi,ResponseObject>
Created by SKoper on 07.12.2017.
PatchRequest class PatchRequest :AbstractRequest<DynamicApi,ResponseObject>
Created by Maksim Shumko on 4/26/2021
PostRequest class PostRequest :AbstractRequest<DynamicApi,ResponseObject>
Created by Maksim Shumko on 7/22/2020.
SecureLoginRequest class SecureLoginRequest :AbstractRequest<GSDLoginAPI,ResponseObject>, Callback<ResponseObject>
Created by Maksim Shumko on 8/1/2018.
SendMailRequest class SendMailRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 13/08/2020
SendMessageRequest class SendMessageRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 15.03.2018. File created for GSDAndroidSDK
ServerPublicKeyRequest class ServerPublicKeyRequest :AbstractRequest<GSDLoginAPI,ResponseObject>
Created by Maksim Shumko on 8/1/2018.
ServiceStatusRequest class ServiceStatusRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 2/15/2019.
SimpleRequest class SimpleRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 25.07.2017.
SyncChangesRequest class SyncChangesRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maksim Shumko on 8/12/2019.
SyncRequest class SyncRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 2019-08-08. File created for GSDAndroidSDK
SyncSchemaRequest class SyncSchemaRequest :AbstractRequest<GSDApi,ResponseObject>
Created by konradrutkowski on 2019-08-09. File created for GSDAndroidSDK
TemplateRequest class TemplateRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Maciej Krawczyk on 27.04.2018.
UpdateDocumentsReadStatusRequest class UpdateDocumentsReadStatusRequest :AbstractRequest<GSDApi,ResponseObject>
Created by Michal Zuchowski on 03.07.2021.
UpdateSyncObjectRequest class UpdateSyncObjectRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 15.01.2020.
VersionInfoRequest class VersionInfoRequest :AbstractRequest<GSDApi,ResponseObject>
Created by jmielczarek on 04.04.2019.