EnsLib.RecordMap.Service.FileService
class EnsLib.RecordMap.Service.FileService extends EnsLib.RecordMap.Service.Standard
Business Service to consume data from files using the RecordMap parsing framework.Property Inventory
Method Inventory
Parameters
parameter ADAPTER = EnsLib.File.InboundAdapter;
Inherited description: The type of adapter used to communicate with external systems
parameter SETTINGS = FatalErrors;
Inherited description: List of properties can be set as settings in the configuration file
format is a comma separated list of property names
Properties
property FatalErrors as %String (VALUELIST = ",Any,ParseOnly") [ InitialExpression = "Any" ];
An error saving an individual Record, such as a validation error, will be treated as fatal
and end the processing of the message when the setting is "Any".
If "ParseOnly" is selected, errors when saving individual Records will not be treated as fatal, and parsing of the message will continue after logging an error log and skipping the errored record.
If AlertOnError is enabled, an alert will be sent for a save error when "ParseOnly" is selected.
The default is "Any".
If "ParseOnly" is selected, errors when saving individual Records will not be treated as fatal, and parsing of the message will continue after logging an error log and skipping the errored record.
If AlertOnError is enabled, an alert will be sent for a save error when "ParseOnly" is selected.
The default is "Any".
Property methods: FatalErrorsDisplayToLogical(), FatalErrorsGet(), FatalErrorsIsValid(), FatalErrorsLogicalToDisplay(), FatalErrorsLogicalToOdbc(), FatalErrorsNormalize(), FatalErrorsSet()
Methods
method OnProcessInput(pInput As %Stream.Object, Output pOutput As %RegisteredObject, ByRef pHint As %String) as %Status
Parse the incoming file and send the resulting objects to the targets in TargetConfigNames.
Inherited Members
Inherited Properties
- %AlertStartTime
- %ConfigName
- %ConfigQueueName
- %LastActionTime
- %LastHandledTime
- %LastReportedError
- %OutsideCreated
- %PreserveSession
- %ProcessInputCalled
- %QuitTask
- %RequestHeader
- %SessionId
- %SuperSession
- %SuperSessionCreatedBeforeSession
- %WaitForNextCallInterval
- %WarnedLatest
- %isShadow
- Adapter
- AlertGracePeriod
- AlertGroups
- AlertOnError
- ArchiveIO
- BusinessPartner
- GenerateSuperSessionID
- HeaderCount
- IOLogEntry
- InactivityTimeout
- RecordLength
- RecordMap
- RecordTerminator
- SynchronousSend
- TargetConfigNames
- ThrottleDelay
- UseSingleSession
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnClose()
- %OnNew()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %SuperSessionSet()
- %ValidateObject()
- AdapterName()
- AssignOneSetting()
- CloseIOLogEntry()
- EnumerateSettingsClose()
- EnumerateSettingsExecute()
- EnumerateSettingsFetch()
- ForceSessionId()
- GenerateSuperSession()
- GetDeferredResponseToken()
- GetObject()
- GetProductionSettingValue()
- GetProductionSettings()
- GetPropertyConnections()
- GetSettings()
- GetShadowInstance()
- NewIOLogEntry()
- OnError()
- OnGenerateSuperSession()
- OnGetConnections()
- OnInit()
- OnKeepalive()
- OnMonitor()
- OnProductionStart()
- OnProductionStop()
- OnTearDown()
- PopulateSuperSession()
- QueueName()
- ReadHeaders()
- SaveIOLogEntry()
- SendAlert()
- SendDeferredResponse()
- SendRequest()
- SendRequestAsync()
- SendRequestSync()