public class DocumentAdmin extends Object
Modifier and Type | Field and Description |
---|---|
protected Hashtable |
m_docTable |
protected AdminManager |
m_Main |
Constructor and Description |
---|
DocumentAdmin(AdminManager main)
The only constructor that is being used.
|
Modifier and Type | Method and Description |
---|---|
void |
checkinDocument(LibrarySession sess,
ParameterTable params)
Section variant of checkinDocument
|
void |
checkinDocument(LibrarySession sess,
String contentpath,
String path)
Inline/internal variant of checkinDocument
|
void |
createDocument(LibrarySession sess,
ParameterTable params)
Section variant of Create Document
|
void |
createDocument(LibrarySession sess,
String idname,
DocumentDefinition def)
internal variant of Create Document
|
void |
createDocument(LibrarySession sess,
String idname,
DocumentDefinition def,
VersionDescriptionDefinition vddef)
internal variant of VERSIONED Create Document
|
void |
createDocument(LibrarySession sess,
String idname,
String nameToken)
inline variant of Create Document
|
void |
deleteDocument(LibrarySession sess,
ParameterTable params)
Section variant of delete Document
|
void |
deleteDocument(LibrarySession sess,
String idname)
Inline/internal variant of Delete Document
|
void |
deleteDocument(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Delete Document
|
void |
freeDocument(LibrarySession sess,
ParameterTable params)
Section variant of Free Document
|
void |
freeDocument(LibrarySession sess,
String idname)
Inline/internal variant of Free Document
|
void |
getContentToFile(LibrarySession sess,
ParameterTable params)
Section variant of getContentToFile
|
void |
getContentToFile(LibrarySession sess,
String idname,
String filename)
internal variant of getContentToFile
|
void |
identifyDocument(LibrarySession sess,
ParameterTable params)
Section variant of Identify Document
|
void |
identifyDocument(LibrarySession sess,
String idname,
Long id,
String name,
String valueDefaultName,
String path)
Inline/internal variant of Identify Document
|
Document |
lookupDocument(String idname) |
void |
modifyDocument(LibrarySession sess,
ParameterTable params)
Section variant of Modify Document
|
void |
modifyDocument(LibrarySession sess,
String idname,
DocumentDefinition def)
internal variant of Modify Document
|
void |
reserveDocument(LibrarySession sess,
ParameterTable params)
Section variant of Reserve Document
|
void |
reserveDocument(LibrarySession sess,
String path)
Inline/internal variant of Reserve Document
|
void |
showDocument(LibrarySession sess,
Document doc) |
void |
showDocument(LibrarySession sess,
ParameterTable params)
Section variant of showDocument
|
void |
showDocument(LibrarySession sess,
String docname)
Inline/internal variant of showDocument
|
void |
showDocumentReserveStatus(LibrarySession sess,
ParameterTable params)
Section variant of showDocumentReserveStatus
|
void |
showDocumentReserveStatus(LibrarySession sess,
String path)
Inline/internal variant of showDocumentReserveStatus
|
void |
showLatestVersion(LibrarySession sess,
String path) |
void |
simpleFreeVersionedDocumentByPath(LibrarySession sess,
ParameterTable params) |
void |
simpleGetVersionedDocument(LibrarySession sess,
ParameterTable params)
Section variant of GetVersioned Document
|
void |
simpleGetVersionedDocument(LibrarySession sess,
String docPath,
String filename)
Internal variant of getVersiondeDocument.
|
void |
undeleteDocument(LibrarySession sess,
ParameterTable params)
Section variant of undelete Document
|
void |
undeleteDocument(LibrarySession sess,
String idname)
Inline/internal variant of Undelete Document
|
void |
undeleteDocument(LibrarySession sess,
String idname,
LibraryObjectDefinition def)
Inline/internal variant of Undelete Document
|
void |
unidentifyDocument(LibrarySession sess,
ParameterTable params)
Section variant of Unidentify Document
|
void |
unreserveDocument(LibrarySession sess,
ParameterTable params)
Section variant of Unreserve Document
|
void |
unreserveDocument(LibrarySession sess,
String path)
Inline/internal variant of Unreserve Document
|
protected AdminManager m_Main
protected Hashtable m_docTable
public DocumentAdmin(AdminManager main)
main
- Reference to AdminManager which invokes this.public void createDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void createDocument(LibrarySession sess, String idname, String nameToken) throws IfsException
IfsException
public void createDocument(LibrarySession sess, String idname, DocumentDefinition def) throws IfsException
IfsException
public void createDocument(LibrarySession sess, String idname, DocumentDefinition def, VersionDescriptionDefinition vddef) throws IfsException
IfsException
public void modifyDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void modifyDocument(LibrarySession sess, String idname, DocumentDefinition def) throws IfsException
IfsException
public void getContentToFile(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void getContentToFile(LibrarySession sess, String idname, String filename) throws IfsException
IfsException
public void freeDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void freeDocument(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void deleteDocument(LibrarySession sess, String idname) throws IfsException
IfsException
public void deleteDocument(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void undeleteDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void undeleteDocument(LibrarySession sess, String idname) throws IfsException
IfsException
public void undeleteDocument(LibrarySession sess, String idname, LibraryObjectDefinition def) throws IfsException
IfsException
public void identifyDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void identifyDocument(LibrarySession sess, String idname, Long id, String name, String valueDefaultName, String path) throws IfsException
IfsException
public void unidentifyDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showDocument(LibrarySession sess, String docname) throws IfsException
IfsException
public Document lookupDocument(String idname) throws IfsException
IfsException
public void showDocument(LibrarySession sess, Document doc) throws IfsException
IfsException
public void reserveDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void reserveDocument(LibrarySession sess, String path) throws IfsException
IfsException
public void simpleGetVersionedDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void simpleGetVersionedDocument(LibrarySession sess, String docPath, String filename) throws IfsException
IfsException
public void unreserveDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void unreserveDocument(LibrarySession sess, String path) throws IfsException
IfsException
public void showDocumentReserveStatus(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void showDocumentReserveStatus(LibrarySession sess, String path) throws IfsException
IfsException
public void checkinDocument(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
public void checkinDocument(LibrarySession sess, String contentpath, String path) throws IfsException
IfsException
public void showLatestVersion(LibrarySession sess, String path) throws IfsException
IfsException
public void simpleFreeVersionedDocumentByPath(LibrarySession sess, ParameterTable params) throws IfsException
IfsException
Copyright © 2023. All rights reserved.