|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bea.p13n.content.document.ref.DefaultDocumentProvider
An abstract base implementation of a DocumentProvider.
This can be used by implementors as a starting point for writing a Doc Mgmt SPI implementation.
| Field Summary |
| Fields inherited from interface com.bea.p13n.content.document.spi.DocumentProvider |
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Constructor Summary | |
DefaultDocumentProvider()
Deprecated. |
|
| Method Summary | |
DocumentIterator |
findDocumentIds(Search params)
Deprecated. Return the set of document ids which match the given search parameters. |
DocumentIterator |
findDocumentMetadata(Search params)
Deprecated. To be removed when old expressions are removed. |
DocumentIterator |
findDocuments(Search params)
Deprecated. To be removed when old expressions are removed. |
DocumentDef |
getDocument(String id)
Deprecated. Return the Document with the given id. |
DocumentMetadataDef |
getDocumentMetadata(String id)
Deprecated. Return the DocumentMetadata with the given id. |
Timestamp |
getDocumentModifiedDate(String id)
Deprecated. Return the last modified date of the Document with the given id. |
int |
getTransactionIsolation()
Deprecated. Get the document provider's current transaction isolation level. |
void |
setTransactionIsolation(int level)
Deprecated. Set the document provider's transaction isolation level. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bea.p13n.content.document.spi.DocumentProvider |
close, getSchema, getSchemaNames, getSchemas, init, reset |
| Constructor Detail |
public DefaultDocumentProvider()
| Method Detail |
public DocumentIterator findDocumentIds(Search params)
throws DocumentException
This will call findDocumentMetadata(com.bea.p13n.content.expression.Search) and extract the ids
from the metadata.
findDocumentIds in interface DocumentProviderparams - the search parameters.
DocumentException - thrown on an error.
public DocumentIterator findDocumentMetadata(Search params)
throws DocumentException
Override this method to implement search based on new expressions.
findDocumentMetadata in interface DocumentProviderparams - the search parameters.
DocumentException - thrown on an error.
public DocumentIterator findDocuments(Search params)
throws DocumentException
Override this method to implement search based on new expressions.
findDocuments in interface DocumentProviderparams - the search parameters.
DocumentException - thrown on an error.
public DocumentDef getDocument(String id)
throws DocumentException
This uses findDocuments(com.bea.p13n.content.expression.Search) to do it.
getDocument in interface DocumentProviderid - the document id.
DocumentException - thrown on an error.
public DocumentMetadataDef getDocumentMetadata(String id)
throws DocumentException
This uses findDocumentMetadata(com.bea.p13n.content.expression.Search) to do it.
getDocumentMetadata in interface DocumentProviderid - the document id.
DocumentException - thrown on an error.
public Timestamp getDocumentModifiedDate(String id)
throws DocumentException
This uses getDocumentMetadata(java.lang.String) to do it.
getDocumentModifiedDate in interface DocumentProviderid - the document id.
DocumentException
public int getTransactionIsolation()
throws DocumentException
getTransactionIsolation in interface DocumentProviderDocumentException
public void setTransactionIsolation(int level)
throws DocumentException
This method does nothing.
setTransactionIsolation in interface DocumentProviderDocumentException
|
© 2004 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||