DEPRECATED
Object
com.bea.p13n.content.document.spi.DocumentProvider
An abstract base implementation of a DocumentProvider.
This can be used by implementors as a starting point for writing a Doc Mgmt SPI implementation.
Object
DefaultDocumentProvider
com.bea.p13n.content.document.spi.DocumentProvider
com.bea.p13n.content.document.ref.RefDocumentProvider
Constructor Summary |
Method Summary |
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public int |
|
public void |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from interface com.bea.p13n.content.document.spi. |
|
Constructor Detail |
public DefaultDocumentProvider()
Method Detail |
publicReturn the set of document ids which match the given search parameters.DocumentIterator
findDocumentIds(Search
params)
throwsDocumentException
This will call DefaultDocumentProvider.findDocumentMetadata(Search)
and extract the ids
from the metadata.
DocumentException
DEPRECATED To be removed when old expressions are removed.
publicTry to find the findDocumentMetadata(com.beasys.commerce.foundation.expression.Search) method and invoke it.DocumentIterator
findDocumentMetadata(Search
params)
throwsDocumentException
Override this method to implement search based on new expressions.
DocumentException
DEPRECATED To be removed when old expressions are removed.
publicTry to find the findDocuments(com.beasys.commerce.foundation.expression.Search) method and invoke it.DocumentIterator
findDocuments(Search
params)
throwsDocumentException
Override this method to implement search based on new expressions.
DocumentException
publicReturn the Document with the given id.DocumentDef
getDocument(String
id)
throwsDocumentException
This uses DefaultDocumentProvider.findDocuments(Search)
to do it.
DocumentException
publicReturn the DocumentMetadata with the given id.DocumentMetadataDef
getDocumentMetadata(String
id)
throwsDocumentException
This uses DefaultDocumentProvider.findDocumentMetadata(Search)
to do it.
DocumentException
publicReturn the last modified date of the Document with the given id.Timestamp
getDocumentModifiedDate(String
id)
throwsDocumentException
This uses DefaultDocumentProvider.getDocumentMetadata(String)
to do it.
DocumentException
public int getTransactionIsolation()Get the document provider's current transaction isolation level.
throwsDocumentException
DocumentException
public void setTransactionIsolation(int level)Set the document provider's transaction isolation level.
throwsDocumentException
This method does nothing.
DocumentException