class ListArchiveUnitsActionHandler extends ActionHandler {

    @Override
    public ItemStatus execute(WorkerParameters params, HandlerIO handler) {
        final ItemStatus itemStatus = new ItemStatus(HANDLER_ID);
        try {
            Map<String, List<FileRulesModel>> archiveUnitGuidAndRulesToBeUpdated = new HashMap<>();
            List<String> archiveUnitsToBeUpdated = new ArrayList<>();
            // Task number one, lets get the list of archive units to be updated
            selectListOfArchiveUnitsForUpdate(handler, archiveUnitGuidAndRulesToBeUpdated, archiveUnitsToBeUpdated);
            exportToWorkspace(handler, archiveUnitGuidAndRulesToBeUpdated, archiveUnitsToBeUpdated);
            itemStatus.increment(StatusCode.OK);
        } catch (ProcessingException e) {
            LOGGER.error("Fatal : ", e);
            itemStatus.increment(StatusCode.FATAL);
        }
        return new ItemStatus(HANDLER_ID).setItemsStatus(HANDLER_ID, itemStatus);
    }

    public  ListArchiveUnitsActionHandler();
    public  ListArchiveUnitsActionHandler(MetaDataClientFactory metaDataClientFactory);

}