|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectxApi.xArchive.xArchiver
Mainclass of the archivesystem.
This class contains methods to put documents into the archive and to get them from there.
The class uses threads to put the documents into the archivesystem.
---------------------------------------------------------------------------------------------------
Hauptklasse des Archivsystems.
Die Klasse verfügt über Funktionen um das Archivsystem zu befüllen und Einträge daraus zu ermitteln.
Das Einfügen eines Dokumentes geschieht jeweils als separater Thread.
Field Summary | |
static int |
SEARCH_AND
Set the searchmode AND. |
static int |
SEARCH_OR
Set the searchmode OR. |
Constructor Summary | |
xArchiver()
|
Method Summary | |
static void |
expire(long index)
Set a document to expired. |
static void |
flushWordList()
Den internen Cache des Archivsystems auf Platte schreiben. |
static org.w3c.dom.Document |
getDocument(long index)
Ein Dokument aus dem Archivsystem lösen. |
java.util.Date |
getDocumentDate(long index)
Ein Dokumentendatum aus dem Archivsystem lösen. |
static java.lang.String |
getDocumentDescription(long index)
Ein Dokumentenbeschreibung aus dem Archivsystem lösen. |
long |
insert(org.w3c.dom.Document xmlDoc,
java.lang.String description)
Ein Dokument ins Archivsystem einfügen. |
static xArchiverSearchResult |
searchDocuments(java.lang.String search,
int mode,
long maxRecs)
Executing a query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SEARCH_OR
public static final int SEARCH_AND
Constructor Detail |
public xArchiver()
Method Detail |
public static final void expire(long index)
public static final xArchiverSearchResult searchDocuments(java.lang.String search, int mode, long maxRecs) throws java.lang.Exception
java.lang.Exception
public static final void flushWordList()
public long insert(org.w3c.dom.Document xmlDoc, java.lang.String description)
public static final org.w3c.dom.Document getDocument(long index)
public static final java.lang.String getDocumentDescription(long index)
public java.util.Date getDocumentDate(long index)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |