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