1 package ca.uhn.hl7v2.conf.store;
2
3 import java.io.IOException;
4
5 /**
6 * A repository for conformance profile documents.
7 *
8 * @author Bryan Tripp
9 */
10 public interface ProfileStore {
11
12 /**
13 * Retrieves profile from persistent storage (by ID).
14 */
15 String getProfile(String ID) throws IOException;
16
17 /**
18 * Stores profile in persistent storage with given ID.
19 */
20 void persistProfile(String ID, String profile) throws IOException;
21
22 }