01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05:
06: package com.sun.portal.search.rdm;
07:
08: public class RDMTransaction {
09:
10: public RDMTransaction() {
11: }
12:
13: public RDMTransaction(Object nativeTxn) {
14: this .nativeTxn = nativeTxn;
15: }
16:
17: public void abort() throws RDMException {
18: }
19:
20: public void commit(int flags) throws RDMException {
21: }
22:
23: public String id() throws RDMException {
24: return gid;
25: }
26:
27: public void prepare(byte[] gid) throws RDMException {
28: }
29:
30: public Object getNativeTxn() {
31: return nativeTxn;
32: }
33:
34: private String gid = null;
35:
36: private Object nativeTxn = null;
37:
38: }
|