01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.rproxy.rewriter.services;
06:
07: import java.util.Set;
08:
09: import com.sun.portal.rewriter.services.DataService;
10: import com.sun.portal.rewriter.services.DataServiceException;
11:
12: public abstract class SRAPDataServiceAdapter implements DataService {
13: private static final String SRAP_DATASERVICE_IMPL = "com.sun.portal.rproxy.rewriter.services.idsame.IDSAMEDataService";
14:
15: public static final String SERVICE_NAME = "HTTPDataService";
16:
17: protected static final String SESSION_ID = "__SESSION_ID__";
18:
19: protected static final String RETRIEVE_XML = "retrieveXML";
20:
21: protected void doTask() {
22: throw new UnsupportedOperationException();
23: }// doTask()
24:
25: public String storeXML(String aKey, String aXMLString)
26: throws DataServiceException, UnsupportedOperationException {
27: doTask();
28: return null;
29: }// storeXML()
30:
31: public String deleteKey(String aKey) throws DataServiceException,
32: UnsupportedOperationException {
33: doTask();
34: return null;
35: }// deleteKey()
36:
37: public Set retrieveKeys() throws DataServiceException {
38: doTask();
39: return null;
40: }// retrieveKeys()
41:
42: public String matchesWithID(String aKey)
43: throws DataServiceException {
44: doTask();
45: return null;
46: }// matchesWithID()
47:
48: }// class SRAPDataServiceAdapter
|