|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.elo.client.scripting.items.IndexedElement
de.elo.client.scripting.items.ArchiveElement
de.elo.client.scripting.items.ArchiveDocument
public class ArchiveDocument
Überschrift: ArchiveDocument.
Beschreibung: Ein Dokument im Archiv.
Copyright: Copyright (c) ELO Digital Office GmbH 2007-2011
| Constructor Summary | |
|---|---|
ArchiveDocument(de.elo.client.maindialog.Workspace workspace,
int objId)
Konstruktor für die Klasse "ArchiveDocument". |
|
| Method Summary | |
|---|---|
void |
addAttachment(java.io.File attachmentFile)
Fügt die angegebene Datei als Dateianbindung dem Dokument bei. |
boolean |
addNormalNote(java.lang.String noteContent)
Fügt eine normale Randnotiz hinzu und meldet zurück, ob das Hinzufügen erfolgreich war. |
boolean |
addPersonalNote(java.lang.String noteContent)
Fügt eine persönliche Randnotiz hinzu und meldet zurück, ob das Hinzufügen erfolgreich war |
boolean |
addStampNote(java.lang.String noteContent)
Fügt einen permantent Randnotiz hinzu und meldet zurück, ob das Hinzufügen erfolgreich war. |
void |
addVersion(java.io.File documentFile,
java.lang.String version,
java.lang.String comment,
boolean milestone,
boolean updateDate)
Schreibt eine neue Version des Dokuments und setzt diese als Arbeitsversion. |
void |
checkOut()
Checkt das Dokument aus dem Archiv aus. |
java.io.File |
getAttachment()
Liefert die Datei der Dateianbindung. |
java.io.File |
getFile()
Liefert die zugehörige Dokument-Datei (im Cache des Clients) zurück. |
java.io.File |
getFulltextFile(java.lang.String markupText)
Liefert eine Dateie mit der Volltextinformation zum Dokument zurück. |
de.elo.ix.client.DocVersion[] |
getVersions()
Liefert ein Array mit den Versionen des Dokuments (als DocVersion-Objekte). |
boolean |
isDocument()
Liefert true, wenn dieses Element ein Dokument ist. |
boolean |
isStructure()
Liefert true, wenn dieses Element ein Ordner ist. |
void |
open()
Öffnet das Dokument zur Ansicht (in einem externen vom Betriebssystem zugeordneten Programm). |
void |
openAttachment()
Öffnet die Dateianbindung des Dokument zu Ansicht (in einem externen vom Betriebssystem zugeordneten Programm). |
void |
print()
Druckt das Dokument. |
void |
removeAttachment()
Entfernt die aktuelle Dateianbindung vom Dokument. |
boolean |
removeNote(de.elo.ix.client.Note note)
Löscht die angegebene Randnotiz und meldet zurück, ob das Löschen erfolgreich war. |
void |
sendAsMail(java.lang.String receiverMailAddress)
Versendet das Dokument per E-Mail an die angegebene Adresse. |
| Methods inherited from class de.elo.client.scripting.items.ArchiveElement |
|---|
del, getEditInfo, getId, getParent, loadSord, moveToFolder, referenceIn, refresh, removeLock, setLock, setSord |
| Methods inherited from class de.elo.client.scripting.items.IndexedElement |
|---|
getDocMaskId, getDocMaskName, getHiddenText, getName, getObjKeyValue, getObjKeyValue, getProperties, getSord, saveSord, setHiddenText, setMaskId, setName, setObjKeyValue, setObjKeyValue, setProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveDocument(de.elo.client.maindialog.Workspace workspace,
int objId)
workspace - Aktueller ArbeitsbereichobjId - ObjId des Dokumenten| Method Detail |
|---|
public void checkOut()
throws java.lang.Exception
java.lang.Exception
public void open()
throws java.lang.Exception
java.lang.Exception
public void print()
throws java.lang.Exception
java.lang.Exception
public void sendAsMail(java.lang.String receiverMailAddress)
throws java.lang.Exception
receiverMailAddress - Empfänger der E-Mail
java.lang.Exception
public void addAttachment(java.io.File attachmentFile)
throws java.rmi.RemoteException
attachmentFile - Dateianbindung
java.rmi.RemoteException
public void removeAttachment()
throws java.rmi.RemoteException
java.rmi.RemoteException
public void openAttachment()
throws java.lang.Exception
java.lang.Exception
public java.io.File getAttachment()
throws java.lang.Exception
java.lang.Exception
public de.elo.ix.client.DocVersion[] getVersions()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic boolean isDocument()
ArchiveElement
isDocument in class ArchiveElementpublic boolean isStructure()
ArchiveElement
isStructure in class ArchiveElement
public java.io.File getFile()
throws java.lang.Exception
java.lang.Exception
public java.io.File getFulltextFile(java.lang.String markupText)
throws java.lang.Exception
markupText -
java.lang.Exceptionpublic boolean addNormalNote(java.lang.String noteContent)
addNormalNote in interface NotesInterfacenoteContent - Inhalt der Randnotiz
public boolean addPersonalNote(java.lang.String noteContent)
addPersonalNote in interface NotesInterfacenoteContent - Inhalt der Randnotiz
public boolean addStampNote(java.lang.String noteContent)
addStampNote in interface NotesInterfacenoteContent - Inhalt der Randnotiz
public boolean removeNote(de.elo.ix.client.Note note)
removeNote in interface NotesInterfacenote - Randnotiz
public void addVersion(java.io.File documentFile,
java.lang.String version,
java.lang.String comment,
boolean milestone,
boolean updateDate)
throws java.lang.Exception
documentFile - Neue Dokumentdateiversion - Versionsnummer (alphanumerisch)comment - Versionskommentarmilestone - True wenn die Version eine nicht löschbare Milestone-Version sein sollupdateDate - True um das Datum auf das aktuelle Datum zu setzen - dies ist der default
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||