class RestExecutionService {

    @SuppressWarnings("PMD:PrematureDeclaration")
    public void revert(RevertRequestTO revertRequest) {
        // If users are present within this branch - get their logins (PSU IDs) and clean the ledgers and CMS DB with logins and timestamp.
        List<String> logins = userMgmtStaffRestClient.getBranchUserLogins().getBody();
        RecoveryPointTO point = dataRestClient.getPoint(revertRequest.getRecoveryPointId()).getBody();

        userMgmtStaffRestClient.revertDatabase(revertRequest);
        cmsDbNativeService.revertDatabase(logins, point.getRollBackTime());
    }

}