in this link https://docs.openkm.com/apidoc/com/okm/ ... ng.String-
it says
Move a document to another location in the repository.
I FOLLOWED the format..
But I dont know what to put inside the public void move
and in the public void execute
plase give me a sample code..to be my guide
please help. thank you!!
it says
Code: Select all
Description copied from interface: DocumentModulepublic void move(String token, String docPath, String destPath) throws PathNotFoundException, ItemExistsException, AccessDeniedException, LockException, RepositoryException, DatabaseException, ExtensionException, AutomationException
Move a document to another location in the repository.
Code: Select all
Specified by:
move in interface DocumentModule
docPath - The path that identifies an unique document.
destPath - The destination folder path.
Throws:
PathNotFoundException - If the dstPath does not exists
ItemExistsException - If there is already a document in the destination folder with the same name.
AccessDeniedException - If there is any security problem: you can't modify the document's parent folder or the destination folder because of lack of permissions.
RepositoryException - If there is any general repository problem.
LockException
I FOLLOWED the format..
But I dont know what to put inside the public void move
and in the public void execute
plase give me a sample code..to be my guide
please help. thank you!!
Attachments
jabamove.png (242.85 KiB) Viewed 2100 times
Last edited by jimac on Sun Dec 25, 2016 11:12 am, edited 1 time in total.