Class PersistentDatabaseObject
- java.lang.Object
-
- org.apache.manifoldcf.core.interfaces.PersistentDatabaseObject
-
- Direct Known Subclasses:
BinaryInput,CharacterInput
public abstract class PersistentDatabaseObject extends java.lang.ObjectObjects derived from this class can function as database parameters or as results. In both cases, they must be managed specially because they are potentially backed by disk files, and the data within is treated as a stream (of something) rather than a scalar piece of data.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Constructor Summary
Constructors Constructor Description PersistentDatabaseObject()Construct from nothing.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voiddiscard()Discard this object permanentlyabstract voiddoneWithStream()Close any open streams, but do NOT remove the backing object.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
doneWithStream
public abstract void doneWithStream() throws ManifoldCFExceptionClose any open streams, but do NOT remove the backing object. Thus the stream can be reopened in the future.- Throws:
ManifoldCFException
-
discard
public abstract void discard() throws ManifoldCFExceptionDiscard this object permanently- Throws:
ManifoldCFException
-
-