Create a new document in the repository.
String token - The session authorization token.
Document doc – A document object with the new document properties.
byte[] content - The document content in bytes.
IOException - An error when inserting document data into the repository.
UnsupportedMimeTypeException - If the uploaded file has an unsupported
MIME type.
FileSizeExceededException - If the document content is biggest than the maximum accepted.
ItemNotFoundException - If the parent folder doesn’t exist.
ItemExistsException - If there is already a document in the repository with the same name.
AccessDeniedException - If there is any security problem: you can’t modify the parent document folder because of lack of permissions.
RepositoryException - If there is any general repository problem.
Create a new document in the repository.
LockException - Can’t delete a locked document.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Rename a document in the repository.
String token - The session authorization token.
String docPath - The path that identifies an unique document.
String newName - The new document name.
ItemNotFoundException - If there is no document in this repository path.
ItemExistsException - If there is already a document in the repository with the same name in the same path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Obtain document properties from the repository.
Obtain document properties from the repository.
LockException - A locked document can’t be modified.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Obtain document properties from the repository.
IOException - An error when retrieving document data from the repository.
ItemNotFoundException - If there is no document in this repository path.
RepositoryException - If there is any general repository problem.
Set document content in the repository.
String token - The session authorization token.
String docPath – The path that identifies an unique document.
byte[] - The new document content.
IOException - If there is any error setting the new content.
VersionException - A document checked in can’t be modified.
LockException - A locked document can’t be modified.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Retrieve a list of child documents from an existing folder.
Checkout the document to edit it. The document can’t be edited by another user until it is checked in o the checkout is canceled.
LockException - A locked document can’t be modified.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Cancel a previous checked out state in a document.
LockException - A locked document can’t be modified.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Check in the document to create a new version.
LockException - A locked document can’t be modified.
VersionException - If the nodes was not previously checked out.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Get the document version history.
Lock a document, so only is editable by the locker.
LockException - If the node is already locked.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Unlock a document, so will be editable for other users.
LockException - If the node is not locked.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.
Move a document to another location in the repository.
String token - The session authorization token.
String docPath – The path that identifies an unique document.
String fldPath - The destination folder path.
ItemNotFoundException - 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.
Revert the document to an specific previous version.
String token - The session authorization token.
String docPath – The path that identifies an unique document.
String versionId - The version id to revert to.
ItemNotFoundException - If there is no document in this repository path.
AccessDeniedException - If there is any security problem: you can’t modify the document because of lack of permissions.
RepositoryException - If there is any general repository problem.