|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.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.
Constructor Summary | |
DefaultDocumentProvider()
|
Method Summary | |
DocumentIterator |
findDocumentIds(Search params)
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(java.lang.String id)
Return the Document with the given id. |
DocumentMetadataDef |
getDocumentMetadata(java.lang.String id)
Return the DocumentMetadata with the given id. |
java.sql.Timestamp |
getDocumentModifiedDate(java.lang.String id)
Return the last modified date of the Document with the given id. |
int |
getTransactionIsolation()
Get the document provider's current transaction isolation level. |
void |
setTransactionIsolation(int level)
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 |
Constructor Detail |
public DefaultDocumentProvider()
Method Detail |
public int getTransactionIsolation() throws DocumentException
public void setTransactionIsolation(int level) throws DocumentException
This method does nothing.
public DocumentIterator findDocumentIds(Search params) throws DocumentException
This will call findDocumentMetadata(com.bea.p13n.content.expression.Search)
and extract the ids
from the metadata.
public DocumentMetadataDef getDocumentMetadata(java.lang.String id) throws DocumentException
This uses findDocumentMetadata(com.bea.p13n.content.expression.Search)
to do it.
public DocumentDef getDocument(java.lang.String id) throws DocumentException
This uses findDocuments(com.bea.p13n.content.expression.Search)
to do it.
public java.sql.Timestamp getDocumentModifiedDate(java.lang.String id) throws DocumentException
This uses getDocumentMetadata(java.lang.String)
to do it.
public DocumentIterator findDocuments(Search params) throws DocumentException
Override this method to implement search based on new expressions.
public DocumentIterator findDocumentMetadata(Search params) throws DocumentException
Override this method to implement search based on new expressions.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |