01: /**
02: * $Id: IPersistantDataStore.java,v 1.2 2005/07/15 10:20:51 ss150821 Exp $
03: * Copyright 2005 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.admin.console.sra.persistance;
14:
15: import java.util.Map;
16:
17: import com.sun.portal.admin.console.sra.exceptions.DeserializeException;
18: import com.sun.portal.admin.console.sra.exceptions.PersistBeanException;
19:
20: public interface IPersistantDataStore {
21:
22: public Map deserialize(String svcName, String[] attributeList)
23: throws DeserializeException;
24:
25: public Map deserialize(String svcName, String profileName,
26: String[] attributeList) throws DeserializeException;
27:
28: public void serialize(String svcName, Map obj)
29: throws PersistBeanException;
30:
31: public void serialize(String svcName, String profileName, Map obj)
32: throws PersistBeanException;
33: }
|