public class OfficeSaveDetector extends Object
Constructor and Description |
---|
OfficeSaveDetector() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
This function forces the detector to free documents that were
unfoldered but left lying around in the database by a call to
deleteDoc().
|
void |
completeMove(LibrarySession sess,
PublicObject po,
Folder from,
String fromName)
This function notifies this detector that a successful move
has been completed.
|
void |
deleteDoc(LibrarySession sess,
Document doc,
Folder folder,
boolean freeIfLast)
This function pretends to delete the given document.
|
Document |
detectOnCreate(LibrarySession sess,
DocumentDefinition def,
String name,
Folder f)
This function attempts to detect an edit in place.
|
Document |
detectOnMove(LibrarySession sess,
PublicObject po,
Folder from,
Folder to,
String toName)
This function attempts to detect an Office save on a move.
|
public Document detectOnCreate(LibrarySession sess, DocumentDefinition def, String name, Folder f)
public void completeMove(LibrarySession sess, PublicObject po, Folder from, String fromName)
public Document detectOnMove(LibrarySession sess, PublicObject po, Folder from, Folder to, String toName)
public void deleteDoc(LibrarySession sess, Document doc, Folder folder, boolean freeIfLast) throws IfsException
IfsException
public void cleanUp()
Copyright © 2023. All rights reserved.