private void importContracts() throws StorageException {
        for (ContractBean contract : contracts) {
            logger.info(Messages.i18n.format("StorageImportDispatcher.ImportingClientContract")); //$NON-NLS-1$
            String clientId = contract.getClient().getClient().getId();
            String clientOrganizationId = contract.getClient().getClient().getOrganization().getId();
            String clientVersion = contract.getClient().getVersion();
            String apiId = contract.getApi().getApi().getId();
            String apiOrganizationId = contract.getApi().getApi().getOrganization().getId();
            String apiVersion = contract.getApi().getVersion();
            String planId = contract.getPlan().getPlan().getId();
            String planVersion = contract.getPlan().getVersion();

            contract.setApi(lookupApi(apiOrganizationId, apiId, apiVersion));
            contract.setPlan(lookupPlan(apiOrganizationId, planId, planVersion));
            contract.setClient(lookupClient(clientOrganizationId, clientId, clientVersion));
            contract.setId(null);

            storage.createContract(contract);
        }
    }
Imports the (deferred) contracts.
@throws StorageException
manager/api/export-import/src/main/java/io/apiman/manager/api/exportimport/manager/StorageImportDispatcher.java