Imports DigitalData.Modules.EDMI.API.Client
Imports DigitalData.Modules.EDMI.API.Rights
Public Class DocumentResultInfo
'''
''' Primary identifier of the Document.
''' Can be a Windream DocId or an IDB ObjectId.
'''
Public Property Id As Long
Public Property AccessRight As AccessRight
'''
''' Extension is needed for determining the type of file
''' and showing it in the DocumentViewer
'''
Public Property Extension As String
'''
''' Binary contents of the file.
'''
Public Property Contents As Byte()
' 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
End Sub
End Class