Public Class Config
Public Property ActiveModule As String = "NONE"
'''
''' This connection string needs to point to the database where the document data will be written to
'''
Public Property ConnectionString As String = ""
'''
''' This query must contain two placeholders:
'''
''' - {0} for ExtDocId
''' - {1} for Filename
'''
''' These placeholders are optional and will be replaced if they are found in the query
''' - [String1]
''' - for Sharepoint Path when Sharepoint Module is used
''' - not used in slt Module
'''
Public Property SQLQueryExport As String = ""
'''
''' This query needs to return a table with exactly one column, which represents the ExtDocId
'''
Public Property SQLQueryFetch As String = ""
Public Property OutputDirectory As String = ""
Public Property AddDateSubDirectory As Boolean = False
Public Property AddImportSubDirectory As Boolean = False
Public Property TimerIntervalMin As Integer = 0
Public Property Debug As Boolean = False
Public Property Autostart As Boolean = True
Public Property sltConfiguration As New sltConfig
Public Property SharepointConfiguration As New SharepointConfig
Public Class SharepointConfig
'''
''' The name of the sharepoint database. Should contain the tables AllDocs and AllDocStreams
'''
Public Property SharepointDatabase As String = ""
End Class
Public Class sltConfig
'''
''' Hostname of the slt Server
'''
Public Property Hostname As String = ""
'''
''' Post of the slt Server
'''
Public Property Port As String = ""
'''
''' Username for authenticating with the slt Server
'''
Public Property Username As String = ""
'''
''' Password for authenticating with the slt Server
'''
Public Property Password As String = ""
'''
''' System or Mandator to use in slt
'''
Public Property SystemId As String = ""
'''
''' Then name of the slt Database. Should contain the tables EXDOCS.
''' Used for fetching the file extension if mime-type matching failed
'''
Public Property sltDatabase As String = ""
End Class
End Class