OKMRest
1.2.0
OpenKM Rest
|
Public Member Functions | |
DocumentImpl (String url, String user, String password) | |
Document | createDocumentSimple (String docPath, FileStream fileStream) |
createSimple More... | |
void | deleteDocument (String docId) |
delete More... | |
Document | getDocumentProperties (String docId) |
getProperties More... | |
Stream | getContent (String docId) |
getContent More... | |
Stream | getContentByVersion (String docId, String versionId) |
getContentByVersion More... | |
List< Document > | getDocumentChildren (String fldId) |
getChildren More... | |
Document | renameDocument (String docId, String newName) |
rename More... | |
void | setProperties (Document doc) |
setProperties More... | |
void | checkout (String docId) |
checkout More... | |
void | cancelCheckout (String docId) |
cancelCheckout More... | |
void | forceCancelCheckout (String docId) |
forceCancelCheckout More... | |
Boolean | isCheckedOut (String docId) |
isCheckedOut More... | |
com.openkm.sdk4csharp.bean.Version | checkin (String docId, String comment, Stream fileStream) |
checkin More... | |
LockInfo | lockDocument (String docId) |
lockDocument More... | |
void | unlock (String docId) |
unlock More... | |
void | forceUnlock (String docId) |
forceUnlock More... | |
Boolean | isLocked (String docId) |
isLocked More... | |
LockInfo | getLockInfo (String docId) |
getLockInfo More... | |
void | purgeDocument (String docId) |
purge More... | |
void | moveDocument (String docId, String dstId) |
move More... | |
void | copyDocument (String docId, String dstId) |
copy More... | |
long | getVersionHistorySize (String docId) |
getVersionHistorySize More... | |
String | getDocumentPath (String uuid) |
getPath More... | |
List< com.openkm.sdk4csharp.bean.Version > | getDocumentVersionHistory (String docId) |
getVersionHistory More... | |
void | restoreDocumentVersion (String docId, String versionId) |
restoreDocumentVersion More... | |
void | purgeDocumentVersionHistory (String docId) |
purgeVersionHistory More... | |
Public Member Functions inherited from com.openkm.sdk4csharp.impl.ClientImpl | |
RestClient | getClient (String url, String user, String password) |
Authenticate More... | |
com.openkm.sdk4csharp.impl.DocumentImpl.DocumentImpl | ( | String | url, |
String | user, | ||
String | password | ||
) |
void com.openkm.sdk4csharp.impl.DocumentImpl.cancelCheckout | ( | String | docId | ) |
cancelCheckout
docId |
com.openkm.sdk4csharp.bean.Version com.openkm.sdk4csharp.impl.DocumentImpl.checkin | ( | String | docId, |
String | comment, | ||
Stream | fileStream | ||
) |
checkin
docId | |
comment | |
srcPath |
void com.openkm.sdk4csharp.impl.DocumentImpl.checkout | ( | String | docId | ) |
checkout
docId |
void com.openkm.sdk4csharp.impl.DocumentImpl.copyDocument | ( | String | docId, |
String | dstId | ||
) |
copy
docId | |
dstId |
Document com.openkm.sdk4csharp.impl.DocumentImpl.createDocumentSimple | ( | String | docPath, |
FileStream | fileStream | ||
) |
createSimple
srcPath | |
destPath |
void com.openkm.sdk4csharp.impl.DocumentImpl.deleteDocument | ( | String | docId | ) |
delete
docId |
void com.openkm.sdk4csharp.impl.DocumentImpl.forceCancelCheckout | ( | String | docId | ) |
forceCancelCheckout
docId |
void com.openkm.sdk4csharp.impl.DocumentImpl.forceUnlock | ( | String | docId | ) |
forceUnlock
docId |
Stream com.openkm.sdk4csharp.impl.DocumentImpl.getContent | ( | String | docId | ) |
getContent
docId |
Stream com.openkm.sdk4csharp.impl.DocumentImpl.getContentByVersion | ( | String | docId, |
String | versionId | ||
) |
getContentByVersion
docId | |
versionId |
List<Document> com.openkm.sdk4csharp.impl.DocumentImpl.getDocumentChildren | ( | String | fldId | ) |
getChildren
fldId |
String com.openkm.sdk4csharp.impl.DocumentImpl.getDocumentPath | ( | String | uuid | ) |
getPath
docId |
Document com.openkm.sdk4csharp.impl.DocumentImpl.getDocumentProperties | ( | String | docId | ) |
getProperties
docId |
List<com.openkm.sdk4csharp.bean.Version> com.openkm.sdk4csharp.impl.DocumentImpl.getDocumentVersionHistory | ( | String | docId | ) |
getVersionHistory
docId |
LockInfo com.openkm.sdk4csharp.impl.DocumentImpl.getLockInfo | ( | String | docId | ) |
getLockInfo
docId |
long com.openkm.sdk4csharp.impl.DocumentImpl.getVersionHistorySize | ( | String | docId | ) |
getVersionHistorySize
docId |
Boolean com.openkm.sdk4csharp.impl.DocumentImpl.isCheckedOut | ( | String | docId | ) |
isCheckedOut
docId |
Boolean com.openkm.sdk4csharp.impl.DocumentImpl.isLocked | ( | String | docId | ) |
isLocked
docId |
LockInfo com.openkm.sdk4csharp.impl.DocumentImpl.lockDocument | ( | String | docId | ) |
lockDocument
docId |
void com.openkm.sdk4csharp.impl.DocumentImpl.moveDocument | ( | String | docId, |
String | dstId | ||
) |
move
docId | |
dstId |
void com.openkm.sdk4csharp.impl.DocumentImpl.purgeDocument | ( | String | docId | ) |
purge
docId |
void com.openkm.sdk4csharp.impl.DocumentImpl.purgeDocumentVersionHistory | ( | String | docId | ) |
purgeVersionHistory
docId | |
versionId |
Document com.openkm.sdk4csharp.impl.DocumentImpl.renameDocument | ( | String | docId, |
String | newName | ||
) |
rename
docId | |
newName |
void com.openkm.sdk4csharp.impl.DocumentImpl.restoreDocumentVersion | ( | String | docId, |
String | versionId | ||
) |
restoreDocumentVersion
docId | |
versionId |
void com.openkm.sdk4csharp.impl.DocumentImpl.setProperties | ( | Document | doc | ) |
setProperties
doc |
void com.openkm.sdk4csharp.impl.DocumentImpl.unlock | ( | String | docId | ) |
unlock
docId |