public class DocumentCache
extends java.lang.Object
Document-objects to be retrieved by other
Servlets.| Constructor and Description |
|---|
DocumentCache() |
| Modifier and Type | Method and Description |
|---|---|
static Manifestation |
get(java.lang.String docNumber)
retrieves a
Document-object from the cache by the given document number. |
static void |
store(Manifestation document)
stores a
Document-object in the cache. |
public static void store(Manifestation document)
Document-object in the cache.document - the Document-object to be stored in the cache.public static Manifestation get(java.lang.String docNumber)
Document-object from the cache by the given document number.docNumber - the document number of the Document-object to be retrieved from the cache.Document-object retrieved from the cache by the given document number.