|
|
|
|
@ -755,176 +755,176 @@ Namespace EDMIServiceReference
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=0)> _
|
|
|
|
|
Public Contents() As Byte
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=1)> _
|
|
|
|
|
Public pIDBFilePath As String
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=2)> _
|
|
|
|
|
Public pIDB_OBJ_ID As Long
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=3)> _
|
|
|
|
|
Public pObjectStoreID As Integer
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=4)> _
|
|
|
|
|
Public pWho As String
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=1)>
|
|
|
|
|
Public FilePath As String
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=2)>
|
|
|
|
|
Public ObjectId As Long
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=3)>
|
|
|
|
|
Public ObjectStoreType As String
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=4)>
|
|
|
|
|
Public Who As String
|
|
|
|
|
|
|
|
|
|
Public Sub New()
|
|
|
|
|
MyBase.New
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal Contents() As Byte, ByVal pIDBFilePath As String, ByVal pIDB_OBJ_ID As Long, ByVal pObjectStoreID As Integer, ByVal pWho As String)
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal Contents() As Byte, ByVal FilePath As String, ByVal ObjectId As Long, ByVal ObjectStoreType As String, ByVal Who As String)
|
|
|
|
|
MyBase.New
|
|
|
|
|
Me.Contents = Contents
|
|
|
|
|
Me.pIDBFilePath = pIDBFilePath
|
|
|
|
|
Me.pIDB_OBJ_ID = pIDB_OBJ_ID
|
|
|
|
|
Me.pObjectStoreID = pObjectStoreID
|
|
|
|
|
Me.pWho = pWho
|
|
|
|
|
Me.FilePath = FilePath
|
|
|
|
|
Me.ObjectId = ObjectId
|
|
|
|
|
Me.ObjectStoreType = ObjectStoreType
|
|
|
|
|
Me.Who = Who
|
|
|
|
|
End Sub
|
|
|
|
|
End Class
|
|
|
|
|
|
|
|
|
|
<System.Diagnostics.DebuggerStepThroughAttribute(), _
|
|
|
|
|
System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0"), _
|
|
|
|
|
System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced), _
|
|
|
|
|
System.ServiceModel.MessageContractAttribute(WrapperName:="ImportFileIntoFileObjectResponse", WrapperNamespace:="http://DigitalData.Services.EDMIService", IsWrapped:=true)> _
|
|
|
|
|
|
|
|
|
|
<System.Diagnostics.DebuggerStepThroughAttribute(),
|
|
|
|
|
System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0"),
|
|
|
|
|
System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced),
|
|
|
|
|
System.ServiceModel.MessageContractAttribute(WrapperName:="ImportFileIntoFileObjectResponse", WrapperNamespace:="http://DigitalData.Services.EDMIService", IsWrapped:=True)>
|
|
|
|
|
Partial Public Class ImportFileIntoFileObjectResponse
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=0)> _
|
|
|
|
|
|
|
|
|
|
<System.ServiceModel.MessageBodyMemberAttribute([Namespace]:="http://DigitalData.Services.EDMIService", Order:=0)>
|
|
|
|
|
Public Result As Boolean
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New()
|
|
|
|
|
MyBase.New
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal Result As Boolean)
|
|
|
|
|
MyBase.New
|
|
|
|
|
Me.Result = Result
|
|
|
|
|
End Sub
|
|
|
|
|
End Class
|
|
|
|
|
|
|
|
|
|
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")> _
|
|
|
|
|
|
|
|
|
|
<System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>
|
|
|
|
|
Public Interface IEDMIServiceChannel
|
|
|
|
|
Inherits EDMIServiceReference.IEDMIService, System.ServiceModel.IClientChannel
|
|
|
|
|
End Interface
|
|
|
|
|
|
|
|
|
|
<System.Diagnostics.DebuggerStepThroughAttribute(), _
|
|
|
|
|
System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")> _
|
|
|
|
|
|
|
|
|
|
<System.Diagnostics.DebuggerStepThroughAttribute(),
|
|
|
|
|
System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>
|
|
|
|
|
Partial Public Class EDMIServiceClient
|
|
|
|
|
Inherits System.ServiceModel.ClientBase(Of EDMIServiceReference.IEDMIService)
|
|
|
|
|
Implements EDMIServiceReference.IEDMIService
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New()
|
|
|
|
|
MyBase.New
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal endpointConfigurationName As String)
|
|
|
|
|
MyBase.New(endpointConfigurationName)
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
|
|
|
|
|
MyBase.New(endpointConfigurationName, remoteAddress)
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
|
|
|
|
|
MyBase.New(endpointConfigurationName, remoteAddress)
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Sub New(ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
|
|
|
|
|
MyBase.New(binding, remoteAddress)
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function Heartbeat() As Boolean Implements EDMIServiceReference.IEDMIService.Heartbeat
|
|
|
|
|
Return MyBase.Channel.Heartbeat
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function HeartbeatAsync() As System.Threading.Tasks.Task(Of Boolean) Implements EDMIServiceReference.IEDMIService.HeartbeatAsync
|
|
|
|
|
Return MyBase.Channel.HeartbeatAsync
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatableFromCache(ByVal Name As String, ByVal FilterExpression As String, ByVal SortByColumn As String) As EDMIServiceReference.TableResult Implements EDMIServiceReference.IEDMIService.ReturnDatatableFromCache
|
|
|
|
|
Return MyBase.Channel.ReturnDatatableFromCache(Name, FilterExpression, SortByColumn)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatableFromCacheAsync(ByVal Name As String, ByVal FilterExpression As String, ByVal SortByColumn As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.TableResult) Implements EDMIServiceReference.IEDMIService.ReturnDatatableFromCacheAsync
|
|
|
|
|
Return MyBase.Channel.ReturnDatatableFromCacheAsync(Name, FilterExpression, SortByColumn)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatable_Firebird(ByVal SQL As String) As EDMIServiceReference.TableResult Implements EDMIServiceReference.IEDMIService.ReturnDatatable_Firebird
|
|
|
|
|
Return MyBase.Channel.ReturnDatatable_Firebird(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatable_FirebirdAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.TableResult) Implements EDMIServiceReference.IEDMIService.ReturnDatatable_FirebirdAsync
|
|
|
|
|
Return MyBase.Channel.ReturnDatatable_FirebirdAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnScalar_Firebird(ByVal SQL As String) As EDMIServiceReference.ScalarResult Implements EDMIServiceReference.IEDMIService.ReturnScalar_Firebird
|
|
|
|
|
Return MyBase.Channel.ReturnScalar_Firebird(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnScalar_FirebirdAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.ScalarResult) Implements EDMIServiceReference.IEDMIService.ReturnScalar_FirebirdAsync
|
|
|
|
|
Return MyBase.Channel.ReturnScalar_FirebirdAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ExecuteNonQuery_Firebird(ByVal SQL As String) As EDMIServiceReference.NonQueryResult Implements EDMIServiceReference.IEDMIService.ExecuteNonQuery_Firebird
|
|
|
|
|
Return MyBase.Channel.ExecuteNonQuery_Firebird(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ExecuteNonQuery_FirebirdAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.NonQueryResult) Implements EDMIServiceReference.IEDMIService.ExecuteNonQuery_FirebirdAsync
|
|
|
|
|
Return MyBase.Channel.ExecuteNonQuery_FirebirdAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatable_MSSQL_IDB(ByVal SQL As String) As EDMIServiceReference.TableResult Implements EDMIServiceReference.IEDMIService.ReturnDatatable_MSSQL_IDB
|
|
|
|
|
Return MyBase.Channel.ReturnDatatable_MSSQL_IDB(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatable_MSSQL_IDBAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.TableResult) Implements EDMIServiceReference.IEDMIService.ReturnDatatable_MSSQL_IDBAsync
|
|
|
|
|
Return MyBase.Channel.ReturnDatatable_MSSQL_IDBAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnScalar_MSSQL_IDB(ByVal SQL As String) As EDMIServiceReference.ScalarResult Implements EDMIServiceReference.IEDMIService.ReturnScalar_MSSQL_IDB
|
|
|
|
|
Return MyBase.Channel.ReturnScalar_MSSQL_IDB(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnScalar_MSSQL_IDBAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.ScalarResult) Implements EDMIServiceReference.IEDMIService.ReturnScalar_MSSQL_IDBAsync
|
|
|
|
|
Return MyBase.Channel.ReturnScalar_MSSQL_IDBAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ExecuteNonQuery_MSSQL_IDB(ByVal SQL As String) As EDMIServiceReference.NonQueryResult Implements EDMIServiceReference.IEDMIService.ExecuteNonQuery_MSSQL_IDB
|
|
|
|
|
Return MyBase.Channel.ExecuteNonQuery_MSSQL_IDB(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ExecuteNonQuery_MSSQL_IDBAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.NonQueryResult) Implements EDMIServiceReference.IEDMIService.ExecuteNonQuery_MSSQL_IDBAsync
|
|
|
|
|
Return MyBase.Channel.ExecuteNonQuery_MSSQL_IDBAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatable_MSSQL_ECM(ByVal SQL As String) As EDMIServiceReference.TableResult Implements EDMIServiceReference.IEDMIService.ReturnDatatable_MSSQL_ECM
|
|
|
|
|
Return MyBase.Channel.ReturnDatatable_MSSQL_ECM(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnDatatable_MSSQL_ECMAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.TableResult) Implements EDMIServiceReference.IEDMIService.ReturnDatatable_MSSQL_ECMAsync
|
|
|
|
|
Return MyBase.Channel.ReturnDatatable_MSSQL_ECMAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnScalar_MSSQL_ECM(ByVal SQL As String) As EDMIServiceReference.ScalarResult Implements EDMIServiceReference.IEDMIService.ReturnScalar_MSSQL_ECM
|
|
|
|
|
Return MyBase.Channel.ReturnScalar_MSSQL_ECM(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ReturnScalar_MSSQL_ECMAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.ScalarResult) Implements EDMIServiceReference.IEDMIService.ReturnScalar_MSSQL_ECMAsync
|
|
|
|
|
Return MyBase.Channel.ReturnScalar_MSSQL_ECMAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ExecuteNonQuery_MSSQL_ECM(ByVal SQL As String) As EDMIServiceReference.NonQueryResult Implements EDMIServiceReference.IEDMIService.ExecuteNonQuery_MSSQL_ECM
|
|
|
|
|
Return MyBase.Channel.ExecuteNonQuery_MSSQL_ECM(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ExecuteNonQuery_MSSQL_ECMAsync(ByVal SQL As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.NonQueryResult) Implements EDMIServiceReference.IEDMIService.ExecuteNonQuery_MSSQL_ECMAsync
|
|
|
|
|
Return MyBase.Channel.ExecuteNonQuery_MSSQL_ECMAsync(SQL)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_ImportFile(ByVal request As EDMIServiceReference.DocumentImportRequest) As EDMIServiceReference.DocumentImportResponse Implements EDMIServiceReference.IEDMIService.ImportFile
|
|
|
|
|
Return MyBase.Channel.ImportFile(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ImportFile(ByVal Contents() As Byte, ByVal DocumentType As String, ByVal FileName As String, ByVal ObjectStoreId As Long, ByVal RetentionDays As Long) As Long
|
|
|
|
|
Dim inValue As EDMIServiceReference.DocumentImportRequest = New EDMIServiceReference.DocumentImportRequest()
|
|
|
|
|
inValue.Contents = Contents
|
|
|
|
|
@ -932,15 +932,15 @@ Namespace EDMIServiceReference
|
|
|
|
|
inValue.FileName = FileName
|
|
|
|
|
inValue.ObjectStoreId = ObjectStoreId
|
|
|
|
|
inValue.RetentionDays = RetentionDays
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentImportResponse = CType(Me,EDMIServiceReference.IEDMIService).ImportFile(inValue)
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentImportResponse = CType(Me, EDMIServiceReference.IEDMIService).ImportFile(inValue)
|
|
|
|
|
Return retVal.ObjectId
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_ImportFileAsync(ByVal request As EDMIServiceReference.DocumentImportRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentImportResponse) Implements EDMIServiceReference.IEDMIService.ImportFileAsync
|
|
|
|
|
Return MyBase.Channel.ImportFileAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ImportFileAsync(ByVal Contents() As Byte, ByVal DocumentType As String, ByVal FileName As String, ByVal ObjectStoreId As Long, ByVal RetentionDays As Long) As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentImportResponse)
|
|
|
|
|
Dim inValue As EDMIServiceReference.DocumentImportRequest = New EDMIServiceReference.DocumentImportRequest()
|
|
|
|
|
inValue.Contents = Contents
|
|
|
|
|
@ -948,104 +948,104 @@ Namespace EDMIServiceReference
|
|
|
|
|
inValue.FileName = FileName
|
|
|
|
|
inValue.ObjectStoreId = ObjectStoreId
|
|
|
|
|
inValue.RetentionDays = RetentionDays
|
|
|
|
|
Return CType(Me,EDMIServiceReference.IEDMIService).ImportFileAsync(inValue)
|
|
|
|
|
Return CType(Me, EDMIServiceReference.IEDMIService).ImportFileAsync(inValue)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_GetFileByObjectId(ByVal request As EDMIServiceReference.DocumentStreamRequest) As EDMIServiceReference.DocumentStreamResponse Implements EDMIServiceReference.IEDMIService.GetFileByObjectId
|
|
|
|
|
Return MyBase.Channel.GetFileByObjectId(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function GetFileByObjectId(ByVal ObjectId As Long, <System.Runtime.InteropServices.OutAttribute()> ByRef FileContents As System.IO.Stream) As String
|
|
|
|
|
Dim inValue As EDMIServiceReference.DocumentStreamRequest = New EDMIServiceReference.DocumentStreamRequest()
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentStreamResponse = CType(Me,EDMIServiceReference.IEDMIService).GetFileByObjectId(inValue)
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentStreamResponse = CType(Me, EDMIServiceReference.IEDMIService).GetFileByObjectId(inValue)
|
|
|
|
|
FileContents = retVal.FileContents
|
|
|
|
|
Return retVal.FileName
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_GetFileByObjectIdAsync(ByVal request As EDMIServiceReference.DocumentStreamRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentStreamResponse) Implements EDMIServiceReference.IEDMIService.GetFileByObjectIdAsync
|
|
|
|
|
Return MyBase.Channel.GetFileByObjectIdAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function GetFileByObjectIdAsync(ByVal ObjectId As Long) As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentStreamResponse)
|
|
|
|
|
Dim inValue As EDMIServiceReference.DocumentStreamRequest = New EDMIServiceReference.DocumentStreamRequest()
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
Return CType(Me,EDMIServiceReference.IEDMIService).GetFileByObjectIdAsync(inValue)
|
|
|
|
|
Return CType(Me, EDMIServiceReference.IEDMIService).GetFileByObjectIdAsync(inValue)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_GetFileInfoByObjectId(ByVal request As EDMIServiceReference.DocumentInfoRequest) As EDMIServiceReference.DocumentInfoResponse Implements EDMIServiceReference.IEDMIService.GetFileInfoByObjectId
|
|
|
|
|
Return MyBase.Channel.GetFileInfoByObjectId(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function GetFileInfoByObjectId(ByVal ObjectId As Long, ByVal UserId As Long, <System.Runtime.InteropServices.OutAttribute()> ByRef FullPath As String) As EDMIServiceReference.RightsAccessRight
|
|
|
|
|
Dim inValue As EDMIServiceReference.DocumentInfoRequest = New EDMIServiceReference.DocumentInfoRequest()
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
inValue.UserId = UserId
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentInfoResponse = CType(Me,EDMIServiceReference.IEDMIService).GetFileInfoByObjectId(inValue)
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentInfoResponse = CType(Me, EDMIServiceReference.IEDMIService).GetFileInfoByObjectId(inValue)
|
|
|
|
|
FullPath = retVal.FullPath
|
|
|
|
|
Return retVal.FileRight
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function GetFileInfoByObjectIdAsync(ByVal request As EDMIServiceReference.DocumentInfoRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentInfoResponse) Implements EDMIServiceReference.IEDMIService.GetFileInfoByObjectIdAsync
|
|
|
|
|
Return MyBase.Channel.GetFileInfoByObjectIdAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_ListFilesForUser(ByVal request As EDMIServiceReference.ListFilesForUserRequest) As EDMIServiceReference.DocumentListResponse Implements EDMIServiceReference.IEDMIService.ListFilesForUser
|
|
|
|
|
Return MyBase.Channel.ListFilesForUser(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ListFilesForUser() As System.Data.DataTable
|
|
|
|
|
Dim inValue As EDMIServiceReference.ListFilesForUserRequest = New EDMIServiceReference.ListFilesForUserRequest()
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentListResponse = CType(Me,EDMIServiceReference.IEDMIService).ListFilesForUser(inValue)
|
|
|
|
|
Dim retVal As EDMIServiceReference.DocumentListResponse = CType(Me, EDMIServiceReference.IEDMIService).ListFilesForUser(inValue)
|
|
|
|
|
Return retVal.Datatable
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_ListFilesForUserAsync(ByVal request As EDMIServiceReference.ListFilesForUserRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentListResponse) Implements EDMIServiceReference.IEDMIService.ListFilesForUserAsync
|
|
|
|
|
Return MyBase.Channel.ListFilesForUserAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function ListFilesForUserAsync() As System.Threading.Tasks.Task(Of EDMIServiceReference.DocumentListResponse)
|
|
|
|
|
Dim inValue As EDMIServiceReference.ListFilesForUserRequest = New EDMIServiceReference.ListFilesForUserRequest()
|
|
|
|
|
Return CType(Me,EDMIServiceReference.IEDMIService).ListFilesForUserAsync(inValue)
|
|
|
|
|
Return CType(Me, EDMIServiceReference.IEDMIService).ListFilesForUserAsync(inValue)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_NewObjectId(ByVal request As EDMIServiceReference.NewObjectIdRequest) As EDMIServiceReference.NewObjectIdResponse Implements EDMIServiceReference.IEDMIService.NewObjectId
|
|
|
|
|
Return MyBase.Channel.NewObjectId(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function NewObjectId(ByVal BusinessEntity As String, ByVal KindType As String, ByVal Who As String) As Long
|
|
|
|
|
Dim inValue As EDMIServiceReference.NewObjectIdRequest = New EDMIServiceReference.NewObjectIdRequest()
|
|
|
|
|
inValue.BusinessEntity = BusinessEntity
|
|
|
|
|
inValue.KindType = KindType
|
|
|
|
|
inValue.Who = Who
|
|
|
|
|
Dim retVal As EDMIServiceReference.NewObjectIdResponse = CType(Me,EDMIServiceReference.IEDMIService).NewObjectId(inValue)
|
|
|
|
|
Dim retVal As EDMIServiceReference.NewObjectIdResponse = CType(Me, EDMIServiceReference.IEDMIService).NewObjectId(inValue)
|
|
|
|
|
Return retVal.ObjectId
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_NewObjectIdAsync(ByVal request As EDMIServiceReference.NewObjectIdRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.NewObjectIdResponse) Implements EDMIServiceReference.IEDMIService.NewObjectIdAsync
|
|
|
|
|
Return MyBase.Channel.NewObjectIdAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function NewObjectIdAsync(ByVal BusinessEntity As String, ByVal KindType As String, ByVal Who As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.NewObjectIdResponse)
|
|
|
|
|
Dim inValue As EDMIServiceReference.NewObjectIdRequest = New EDMIServiceReference.NewObjectIdRequest()
|
|
|
|
|
inValue.BusinessEntity = BusinessEntity
|
|
|
|
|
inValue.KindType = KindType
|
|
|
|
|
inValue.Who = Who
|
|
|
|
|
Return CType(Me,EDMIServiceReference.IEDMIService).NewObjectIdAsync(inValue)
|
|
|
|
|
Return CType(Me, EDMIServiceReference.IEDMIService).NewObjectIdAsync(inValue)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_NewFileObject(ByVal request As EDMIServiceReference.NewFileObjectRequest) As EDMIServiceReference.NewFileObjectResponse Implements EDMIServiceReference.IEDMIService.NewFileObject
|
|
|
|
|
Return MyBase.Channel.NewFileObject(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function NewFileObject(ByVal DateImported As Date, ByVal Extension As String, ByVal KeepExtension As Boolean, ByVal ObjectId As Long, ByVal StoreType As String) As String
|
|
|
|
|
Dim inValue As EDMIServiceReference.NewFileObjectRequest = New EDMIServiceReference.NewFileObjectRequest()
|
|
|
|
|
inValue.DateImported = DateImported
|
|
|
|
|
@ -1053,15 +1053,15 @@ Namespace EDMIServiceReference
|
|
|
|
|
inValue.KeepExtension = KeepExtension
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
inValue.StoreType = StoreType
|
|
|
|
|
Dim retVal As EDMIServiceReference.NewFileObjectResponse = CType(Me,EDMIServiceReference.IEDMIService).NewFileObject(inValue)
|
|
|
|
|
Dim retVal As EDMIServiceReference.NewFileObjectResponse = CType(Me, EDMIServiceReference.IEDMIService).NewFileObject(inValue)
|
|
|
|
|
Return retVal.FileObjectPath
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_NewFileObjectAsync(ByVal request As EDMIServiceReference.NewFileObjectRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.NewFileObjectResponse) Implements EDMIServiceReference.IEDMIService.NewFileObjectAsync
|
|
|
|
|
Return MyBase.Channel.NewFileObjectAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public Function NewFileObjectAsync(ByVal DateImported As Date, ByVal Extension As String, ByVal KeepExtension As Boolean, ByVal ObjectId As Long, ByVal StoreType As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.NewFileObjectResponse)
|
|
|
|
|
Dim inValue As EDMIServiceReference.NewFileObjectRequest = New EDMIServiceReference.NewFileObjectRequest()
|
|
|
|
|
inValue.DateImported = DateImported
|
|
|
|
|
@ -1069,37 +1069,37 @@ Namespace EDMIServiceReference
|
|
|
|
|
inValue.KeepExtension = KeepExtension
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
inValue.StoreType = StoreType
|
|
|
|
|
Return CType(Me,EDMIServiceReference.IEDMIService).NewFileObjectAsync(inValue)
|
|
|
|
|
Return CType(Me, EDMIServiceReference.IEDMIService).NewFileObjectAsync(inValue)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_ImportFileIntoFileObject(ByVal request As EDMIServiceReference.ImportFileIntoFileObjectRequest) As EDMIServiceReference.ImportFileIntoFileObjectResponse Implements EDMIServiceReference.IEDMIService.ImportFileIntoFileObject
|
|
|
|
|
Return MyBase.Channel.ImportFileIntoFileObject(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
Public Function ImportFileIntoFileObject(ByVal Contents() As Byte, ByVal pIDBFilePath As String, ByVal pIDB_OBJ_ID As Long, ByVal pObjectStoreID As Integer, ByVal pWho As String) As Boolean
|
|
|
|
|
|
|
|
|
|
Public Function ImportFileIntoFileObject(ByVal Contents() As Byte, ByVal FilePath As String, ByVal ObjectId As Long, ByVal ObjectStoreType As String, ByVal Who As String) As Boolean
|
|
|
|
|
Dim inValue As EDMIServiceReference.ImportFileIntoFileObjectRequest = New EDMIServiceReference.ImportFileIntoFileObjectRequest()
|
|
|
|
|
inValue.Contents = Contents
|
|
|
|
|
inValue.pIDBFilePath = pIDBFilePath
|
|
|
|
|
inValue.pIDB_OBJ_ID = pIDB_OBJ_ID
|
|
|
|
|
inValue.pObjectStoreID = pObjectStoreID
|
|
|
|
|
inValue.pWho = pWho
|
|
|
|
|
Dim retVal As EDMIServiceReference.ImportFileIntoFileObjectResponse = CType(Me,EDMIServiceReference.IEDMIService).ImportFileIntoFileObject(inValue)
|
|
|
|
|
inValue.FilePath = FilePath
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
inValue.ObjectStoreType = ObjectStoreType
|
|
|
|
|
inValue.Who = Who
|
|
|
|
|
Dim retVal As EDMIServiceReference.ImportFileIntoFileObjectResponse = CType(Me, EDMIServiceReference.IEDMIService).ImportFileIntoFileObject(inValue)
|
|
|
|
|
Return retVal.Result
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)> _
|
|
|
|
|
|
|
|
|
|
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
|
|
|
|
|
Function EDMIServiceReference_IEDMIService_ImportFileIntoFileObjectAsync(ByVal request As EDMIServiceReference.ImportFileIntoFileObjectRequest) As System.Threading.Tasks.Task(Of EDMIServiceReference.ImportFileIntoFileObjectResponse) Implements EDMIServiceReference.IEDMIService.ImportFileIntoFileObjectAsync
|
|
|
|
|
Return MyBase.Channel.ImportFileIntoFileObjectAsync(request)
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
Public Function ImportFileIntoFileObjectAsync(ByVal Contents() As Byte, ByVal pIDBFilePath As String, ByVal pIDB_OBJ_ID As Long, ByVal pObjectStoreID As Integer, ByVal pWho As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.ImportFileIntoFileObjectResponse)
|
|
|
|
|
|
|
|
|
|
Public Function ImportFileIntoFileObjectAsync(ByVal Contents() As Byte, ByVal FilePath As String, ByVal ObjectId As Long, ByVal ObjectStoreType As String, ByVal Who As String) As System.Threading.Tasks.Task(Of EDMIServiceReference.ImportFileIntoFileObjectResponse)
|
|
|
|
|
Dim inValue As EDMIServiceReference.ImportFileIntoFileObjectRequest = New EDMIServiceReference.ImportFileIntoFileObjectRequest()
|
|
|
|
|
inValue.Contents = Contents
|
|
|
|
|
inValue.pIDBFilePath = pIDBFilePath
|
|
|
|
|
inValue.pIDB_OBJ_ID = pIDB_OBJ_ID
|
|
|
|
|
inValue.pObjectStoreID = pObjectStoreID
|
|
|
|
|
inValue.pWho = pWho
|
|
|
|
|
inValue.FilePath = FilePath
|
|
|
|
|
inValue.ObjectId = ObjectId
|
|
|
|
|
inValue.ObjectStoreType = ObjectStoreType
|
|
|
|
|
inValue.Who = Who
|
|
|
|
|
Return CType(Me,EDMIServiceReference.IEDMIService).ImportFileIntoFileObjectAsync(inValue)
|
|
|
|
|
End Function
|
|
|
|
|
End Class
|
|
|
|
|
|