@Override
    public void policyDef(PolicyDefinitionBean policyDef) {
        try {
            logger.info(Messages.i18n.format("StorageImportDispatcher.ImportingPolicyDef") + policyDef.getName()); //$NON-NLS-1$

            policyDef = updatePluginIdInPolicyDefinition(policyDef);

            PolicyDefinitionBean policyDefBean = storage.getPolicyDefinition(policyDef.getId());
            if (policyDefBean != null) {
                storage.updatePolicyDefinition(policyDef);
            } else {
                storage.createPolicyDefinition(policyDef);
            }
            policyDefIndex.put(policyDef.getId(), policyDef);
        } catch (StorageException e) {
            error(e);
        }
    }
@see io.apiman.manager.api.exportimport.read.IImportReaderDispatcher#policyDef(io.apiman.manager.api.beans.policies.PolicyDefinitionBean)
manager/api/export-import/src/main/java/io/apiman/manager/api/exportimport/manager/StorageImportDispatcher.java