Class DatasetValidationReportExportService
- All Implemented Interfaces:
com.orchestranetworks.userservice.UserService<com.orchestranetworks.ui.selection.DatasetEntitySelection>
This service is activated from the actions tab of the dataset. It generates the validation report for the dataset in CSV format and
automatically downloads it.
The report will include the following information: table label, field label, severity of the validation item, validation message, record
ID, and record label.
During report generation, a loading indicator will be displayed, along with a back button to close the service. If the download does not
start automatically, you can initiate it manually.
- Author:
- APGAR Consulting
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.orchestranetworks.userservice.UserServiceEventOutcomeprocessEventOutcome(com.orchestranetworks.userservice.UserServiceProcessEventOutcomeContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> context, com.orchestranetworks.userservice.UserServiceEventOutcome outcome) Returns standard outcomes (outcomes created byUserServiceNext).voidsetupDisplay(com.orchestranetworks.userservice.UserServiceSetupDisplayContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> aContext, com.orchestranetworks.userservice.UserServiceDisplayConfigurator aConfigurator) Sets up the display and functionality of the validation report export user service.voidsetupObjectContext(com.orchestranetworks.userservice.UserServiceSetupObjectContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> aContext, com.orchestranetworks.userservice.UserServiceObjectContextBuilder aBuilder) Defines/Removes objects managed by the user service.voidvalidate(com.orchestranetworks.userservice.UserServiceValidateContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> aContext) Performs custom validation on a form submit.
-
Constructor Details
-
DatasetValidationReportExportService
public DatasetValidationReportExportService()
-
-
Method Details
-
processEventOutcome
public com.orchestranetworks.userservice.UserServiceEventOutcome processEventOutcome(com.orchestranetworks.userservice.UserServiceProcessEventOutcomeContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> context, com.orchestranetworks.userservice.UserServiceEventOutcome outcome) Returns standard outcomes (outcomes created byUserServiceNext).- Specified by:
processEventOutcomein interfacecom.orchestranetworks.userservice.UserService<com.orchestranetworks.ui.selection.DatasetEntitySelection>- Parameters:
context- the context for the event outcome of the user service processoutcome- the outcome of the user service event- Returns:
- event outcome of the user service
-
setupDisplay
public void setupDisplay(com.orchestranetworks.userservice.UserServiceSetupDisplayContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> aContext, com.orchestranetworks.userservice.UserServiceDisplayConfigurator aConfigurator) Sets up the display and functionality of the validation report export user service.The service includes a back button to close the service and displays a loading indicator while the report is being generated in Excel. Once the generation is complete, the report will be automatically downloaded. If the download does not occur automatically, a link will be provided for manual download.
- Specified by:
setupDisplayin interfacecom.orchestranetworks.userservice.UserService<com.orchestranetworks.ui.selection.DatasetEntitySelection>- Parameters:
aContext- the setup display context of the user serviceaConfigurator- the display configurator of the user service
-
setupObjectContext
public void setupObjectContext(com.orchestranetworks.userservice.UserServiceSetupObjectContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> aContext, com.orchestranetworks.userservice.UserServiceObjectContextBuilder aBuilder) Defines/Removes objects managed by the user service. By default, it does nothing.- Specified by:
setupObjectContextin interfacecom.orchestranetworks.userservice.UserService<com.orchestranetworks.ui.selection.DatasetEntitySelection>- Parameters:
aContext- provides information about the current contextaBuilder- provides methods to define or remove objects
-
validate
public void validate(com.orchestranetworks.userservice.UserServiceValidateContext<com.orchestranetworks.ui.selection.DatasetEntitySelection> aContext) Performs custom validation on a form submit. By default, it does nothing.- Specified by:
validatein interfacecom.orchestranetworks.userservice.UserService<com.orchestranetworks.ui.selection.DatasetEntitySelection>- Parameters:
aContext- the context for user service validation
-