Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

oracle.adf.share.jndi
Class DocumentBackingStore

java.lang.Object
  extended by oracle.adf.share.jndi.DocumentBackingStore
Direct Known Subclasses:
FileSystemBackingStore, JarFileBackingStore, MDSBackingStore, ResourceBackingStore

public abstract class DocumentBackingStore
extends java.lang.Object


Constructor Summary
DocumentBackingStore()
           
 
Method Summary
 boolean closeDocument(java.lang.String url)
          This method should be overwritten by Writable backing store, so that they close and flush the resources used.
abstract  org.w3c.dom.Document createDocument(java.lang.String url)
           
abstract  boolean documentExists(java.lang.String url)
           
 boolean hasChanged(java.lang.String url)
           
 void initialize(java.util.Hashtable contextEnv, java.lang.String url)
           
abstract  boolean isReadOnly()
           
abstract  org.w3c.dom.Document readDocument(java.lang.String url)
           
abstract  void writeDocument(org.w3c.dom.Document doc, java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentBackingStore

public DocumentBackingStore()
Method Detail

initialize

public void initialize(java.util.Hashtable contextEnv,
                       java.lang.String url)
                throws java.lang.Exception
Throws:
java.lang.Exception

documentExists

public abstract boolean documentExists(java.lang.String url)
                                throws java.lang.Exception
Throws:
java.lang.Exception

readDocument

public abstract org.w3c.dom.Document readDocument(java.lang.String url)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

createDocument

public abstract org.w3c.dom.Document createDocument(java.lang.String url)
                                             throws java.lang.Exception
Throws:
java.lang.Exception

writeDocument

public abstract void writeDocument(org.w3c.dom.Document doc,
                                   java.lang.String url)
                            throws java.lang.Exception
Throws:
java.lang.Exception

closeDocument

public boolean closeDocument(java.lang.String url)
This method should be overwritten by Writable backing store, so that they close and flush the resources used. The default method is a no-op.


hasChanged

public boolean hasChanged(java.lang.String url)

isReadOnly

public abstract boolean isReadOnly()

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.4.0)

E10686-05

Copyright © 1997, 2011, Oracle. All rights reserved.