001package ca.uhn.hl7v2.conf.store; 002 003import java.io.IOException; 004 005/** 006 * A repository for conformance profile documents. 007 * 008 * @author Bryan Tripp 009 */ 010public interface ProfileStore { 011 012 /** 013 * Retrieves profile from persistent storage (by ID). 014 */ 015 public String getProfile(String ID) throws IOException; 016 017 /** 018 * Stores profile in persistent storage with given ID. 019 */ 020 public void persistProfile(String ID, String profile) throws IOException; 021 022}