EDMIAPI: Encapsulate Zooflow and Globix methods into their own classes
This commit is contained in:
@@ -67,7 +67,7 @@ Public Class DocumentLoader
|
||||
End Function
|
||||
|
||||
Private Function Load_FromZooflow(pObjectId As Long) As DocumentResultInfo
|
||||
Dim oFileObject As FileObject = Client.GetFileObject(pObjectId, pLoadFileContents:=True)
|
||||
Dim oFileObject As FileObject = Client.Zooflow_GetFileObject(pObjectId, pLoadFileContents:=True)
|
||||
|
||||
If oFileObject Is Nothing Then
|
||||
Return Nothing
|
||||
|
||||
@@ -25,6 +25,7 @@ Public Class DocumentResultInfo
|
||||
' Optional properties
|
||||
Public Property LastWriteTime As Date = Nothing
|
||||
Public Property FullPath As String = Nothing
|
||||
Public Property TempPath As String = Nothing
|
||||
|
||||
Public Sub New(pPrimaryKey As Long)
|
||||
Id = pPrimaryKey
|
||||
|
||||
@@ -60,6 +60,7 @@ Public Class frmDocumentResultList
|
||||
Private _ActiveGrid As GridControl = Nothing
|
||||
Private _ActiveGridBand As GridBand = Nothing
|
||||
Private _documentloader As DocumentLoader
|
||||
Private _tempDocuments As New List(Of DocumentResultList)
|
||||
|
||||
' TODO: Hashes for checking if the opened file was modified externally
|
||||
'Private _HashOriginalFile As String = Nothing
|
||||
|
||||
Reference in New Issue
Block a user