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.DocumentIteratorfindDocumentIds(Searchparams)
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.DocumentIteratorfindDocumentMetadata(Searchparams)
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.DocumentIteratorfindDocuments(Searchparams)
throwsDocumentException
Override this method to implement search based on new expressions.
DocumentException
publicReturn the Document with the given id.DocumentDefgetDocument(Stringid)
throwsDocumentException
This uses DefaultDocumentProvider.findDocuments(Search) to do it.
DocumentException
publicReturn the DocumentMetadata with the given id.DocumentMetadataDefgetDocumentMetadata(Stringid)
throwsDocumentException
This uses DefaultDocumentProvider.findDocumentMetadata(Search) to do it.
DocumentException
publicReturn the last modified date of the Document with the given id.TimestampgetDocumentModifiedDate(Stringid)
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