Package Thor.API.Operations
Interface DataCollectionOperationsIntf
- All Superinterfaces:
tcUtilityOperationsIntf
-
Method Summary
Modifier and TypeMethodDescriptionvoid
finalizeDataCollectionSession
(String sessionID) Finalizes the data collection session.Gets the sessionID of the current session.getDataCollectionStatus
(String sessionID) Gets the status of the data collection sessionvoid
performDataCollectionForSession
(String sessionID) Performs the data collection in the current session.void
startDataCollection
(String sessionID, Map entities) Starts a new data collection session with the passed session ID.Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant
-
Method Details
-
startDataCollection
Starts a new data collection session with the passed session ID. For initiating a new data collection session, current session should be FINALIZED- Parameters:
sessionID
- The sessionID of the new data collection sessionentities
- A Map of entityName ==> java.util.Date that gives the entity name a sinceDate for each entity.- Throws:
tcAPIException
-
getDataCollectionStatus
Gets the status of the data collection session- Parameters:
sessionID
- The sessionID of the session. This should be the current session.- Returns:
- A string indicating the status of the data collection session. The valid status values are: INITIATED IN PROGRESS COMPLETED FAILED FINALIZED
- Throws:
tcAPIException
-
getCurrentDataCollectionSession
Gets the sessionID of the current session.- Returns:
- A string that is the sessionID of the current data collection session
- Throws:
tcAPIException
-
finalizeDataCollectionSession
Finalizes the data collection session.- Parameters:
sessionID
- The sessionID of the session. The sessionID that is passed should be the current sessionID.- Throws:
tcAPIException
-
performDataCollectionForSession
Performs the data collection in the current session.- Parameters:
sessionID
- The sessionID of the session. The sessionID that is passed should be the current sessionID.- Throws:
tcAPIException
-