public class OKMWebservice10 extends Object implements OKMWebservices
| Constructor and Description |
|---|
OKMWebservice10(String host,
String user,
String password)
OKMWebservice10
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCategory(String nodeId,
String catId)
addCategory
|
void |
addGroup(String nodeId,
String grpName)
addGroup
|
void |
addKeyword(String nodeId,
String keyword)
addKeyword
|
Note |
addNote(String nodeId,
String text)
addNote
|
void |
cancelCheckout(String docId)
cancelCheckout
|
Version |
checkin(String docId,
InputStream is,
String comment)
checkin
|
void |
checkout(String docId)
checkout
|
void |
copyDocument(String docId,
String dstId)
createSimple
|
Document |
createDocument(Document doc,
InputStream is)
create
|
Document |
createDocumentSimple(String docPath,
InputStream is)
createSimple
|
Folder |
createFolder(Folder fld)
createFolder
|
Folder |
createFolderSimple(String fldPath)
createFolderSimple
|
void |
deleteDocument(String docId)
delete
|
void |
deleteFolder(String fldId)
deleteFolder
|
void |
deleteNote(String noteId)
deleteNote
|
void |
deleteSearch(int qpId)
deleteSearch
|
InputStream |
doc2pdf(InputStream is,
String fileName)
doc2pdf
|
SqlQueryResults |
executeSqlQuery(InputStream is)
executeSqlQuery
|
List<QueryResult> |
find(QueryParams queryParams)
find
|
List<QueryResult> |
findByContent(String content)
findByContent
|
List<QueryResult> |
findByKeywords(List<String> keywords)
findByKeywords
|
List<QueryResult> |
findByName(String name)
findByName
|
ResultSet |
findMoreLikeThis(String uuid,
int max)
findMoreLikeThis
|
ResultSet |
findPaginated(QueryParams queryParams,
int offset,
int limit)
findPaginated
|
ResultSet |
findSimpleQueryPaginated(String statement,
int offset,
int limit)
findSimpleQueryPaginated
|
void |
forceCancelCheckout(String docId)
forceCancelCheckout
|
void |
forceUnlock(String docId)
forceUnlock
|
List<PropertyGroup> |
getAllGroups()
getAllGroups
|
List<QueryParams> |
getAllSearchs()
getAllSearchs
|
AppVersion |
getAppVersion()
getAppVersion
|
Folder |
getCategoriesFolder()
getCategoriesFolder
|
List<Document> |
getCategorizedDocuments(String categoryId)
getCategorizedDocuments
|
Configuration |
getConfiguration(String key)
getConfiguration
|
InputStream |
getContent(String docId)
getContent
|
InputStream |
getContentByVersion(String docId,
String versionId)
getContentByVersion
|
List<Document> |
getDocumentChildren(String fldId)
getChildren
|
String |
getDocumentPath(String uuid)
getPath
|
Document |
getDocumentProperties(String docId)
getProperties
|
List<Folder> |
getFolderChildren(String fldId)
getFolderChildren
|
String |
getFolderPath(String uuid)
getFolderPath
|
Folder |
getFolderProperties(String fldId)
getFolderProperties
|
Map<String,Integer> |
getGrantedRoles(String nodeId)
getGrantedRoles
|
Map<String,Integer> |
getGrantedUsers(String nodeId)
getGrantedUsers
|
List<PropertyGroup> |
getGroups(String nodeId)
getGroups
|
Map<String,Integer> |
getKeywordMap(List<String> filter)
getKeywordMap
|
LockInfo |
getLockInfo(String docId)
getLockInfo
|
String |
getMail(String user)
getMail
|
Folder |
getMailFolder()
getMailFolder
|
String |
getName(String user)
getName
|
String |
getNodePath(String uuid)
getNodePath
|
String |
getNodeUuid(String nodePath)
getNodeUuid
|
Note |
getNote(String noteId)
getNote
|
Folder |
getPersonalFolder()
getPersonalFolder
|
List<FormElement> |
getPropertyGroupForm(String grpName)
getPropertyGroupForm
|
List<FormElement> |
getPropertyGroupProperties(String nodeId,
String grpName)
getPropertyGroupProperties
|
Map<String,String> |
getPropertyGroupPropertiesSimple(String nodeId,
String grpName) |
String |
getRepositoryUuid()
getRepositoryUuid
|
List<String> |
getRoles()
getRoles
|
List<String> |
getRolesByUser(String user)
getRolesByUser
|
Folder |
getRootFolder() |
QueryParams |
getSearch(int qpId)
getSearch
|
Folder |
getTemplatesFolder()
getTemplatesFolder
|
Folder |
getThesaurusFolder()
getThesaurusFolder
|
Folder |
getTrashFolder()
getTrashFolder
|
String |
getUpdateMessage()
getUpdateMessage
|
List<String> |
getUsers()
getUsers
|
List<String> |
getUsersByRole(String role)
getUsersByRole
|
List<Version> |
getVersionHistory(String docId)
getVersionHistory
|
long |
getVersionHistorySize(String docId)
getVersionHistorySize
|
void |
grantRole(String nodeId,
String role,
int permissions,
boolean recursive)
grantRole
|
void |
grantUser(String nodeId,
String user,
int permissions,
boolean recursive)
grantUser
|
boolean |
hasGroup(String nodeId,
String grpName)
hasGroup
|
boolean |
hasNode(String nodeId)
hasNode
|
InputStream |
imageConvert(InputStream is,
String fileName,
String params,
String dstMimeType)
imageConvert
|
boolean |
isCheckedOut(String docId)
isCheckedOut
|
boolean |
isLocked(String docId)
createSimple
|
boolean |
isValidDocument(String docId)
isValid
|
boolean |
isValidFolder(String fldId)
isValidFolder
|
List<Note> |
listNotes(String nodeId)
listNotes
|
LockInfo |
lock(String docId)
lock
|
void |
login() |
void |
moveDocument(String docId,
String dstId)
move
|
void |
moveFolder(String fldId,
String dstId)
moveFolder
|
void |
purgeDocument(String docId)
purge
|
void |
purgeTrash()
purgeTrash
|
void |
purgeVersionHistory(String docId)
purgeVersionHistory
|
void |
removeCategory(String nodeId,
String catId)
removeCategory
|
void |
removeGroup(String nodeId,
String grpName)
removeGroup
|
void |
removeKeyword(String nodeId,
String keyword)
removeKeyword
|
void |
renameDocument(String docId,
String newName)
rename
|
void |
renameFolder(String fldId,
String newName)
deleteFolder
|
void |
restoreVersion(String docId,
String versionId)
restoreVersion
|
void |
revokeRole(String nodeId,
String role,
int permissions,
boolean recursive)
revokeRole
|
void |
revokeUser(String nodeId,
String user,
int permissions,
boolean recursive)
revokeUser
|
long |
saveSearch(QueryParams params)
saveSearch
|
void |
setEncryption(String nodeId,
String cipherName)
setEncryption
|
void |
setNote(String noteId,
String text)
setNote
|
void |
setProperties(Document doc)
setProperties
|
void |
setPropertyGroupProperties(String nodeId,
String grpName,
List<FormElement> feList)
setPropertyGroupProperties
|
void |
setPropertyGroupPropertiesSimple(String nodeId,
String grpName,
Map<String,String> properties)
setPropertyGroupPropertiesSimple
|
void |
setSigned(String nodeId,
boolean signed)
setSigned
|
void |
unlock(String docId)
unlock
|
void |
unsetEncryption(String nodeId)
unsetEncryption
|
void |
updateSearch(QueryParams params)
updateSearch
|
public void login()
throws WebserviceException,
UnknowException
login in interface BaseAuthWebserviceExceptionUnknowExceptionpublic Map<String,Integer> getGrantedRoles(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException
getGrantedRoles in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionWebserviceExceptionUnknowExceptionpublic Map<String,Integer> getGrantedUsers(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException
getGrantedUsers in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionWebserviceExceptionUnknowExceptionpublic String getMail(String user) throws PrincipalAdapterException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMail in interface BaseAuthPrincipalAdapterExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getName(String user) throws DatabaseException, RepositoryException, PrincipalAdapterException, AccessDeniedException, WebserviceException, UnknowException
getName in interface BaseAuthDatabaseExceptionRepositoryExceptionPrincipalAdapterExceptionAccessDeniedExceptionWebserviceExceptionUnknowExceptionpublic List<String> getRoles() throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, WebserviceException, UnknowException
getRoles in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPrincipalAdapterExceptionWebserviceExceptionUnknowExceptionpublic List<String> getRolesByUser(String user) throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, WebserviceException, UnknowException
getRolesByUser in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPrincipalAdapterExceptionWebserviceExceptionUnknowExceptionpublic List<String> getUsers() throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
getUsers in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPrincipalAdapterExceptionUnknowExceptionWebserviceExceptionpublic List<String> getUsersByRole(String role) throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
getUsersByRole in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPrincipalAdapterExceptionUnknowExceptionWebserviceExceptionpublic void revokeRole(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
revokeRole in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionUnknowExceptionWebserviceExceptionpublic void revokeUser(String nodeId, String user, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
revokeUser in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionUnknowExceptionWebserviceExceptionpublic void grantRole(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
grantRole in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionUnknowExceptionWebserviceExceptionpublic void grantUser(String nodeId, String user, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
grantUser in interface BaseAuthAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionUnknowExceptionWebserviceExceptionpublic Document createDocument(Document doc, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
createDocument in interface BaseDocumentIOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic Document createDocumentSimple(String docPath, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
createDocumentSimple in interface BaseDocumentIOExceptionUnsupportedMimeTypeExceptionFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionItemExistsExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic void deleteDocument(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, UnknowException, WebserviceException
deleteDocument in interface BaseDocumentAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionLockExceptionDatabaseExceptionExtensionExceptionUnknowExceptionWebserviceExceptionpublic Document getDocumentProperties(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getDocumentProperties in interface BaseDocumentRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic InputStream getContent(String docId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
getContent in interface BaseDocumentRepositoryExceptionIOExceptionPathNotFoundExceptionAccessDeniedExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic InputStream getContentByVersion(String docId, String versionId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
getContentByVersion in interface BaseDocumentRepositoryExceptionIOExceptionPathNotFoundExceptionAccessDeniedExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Document> getDocumentChildren(String fldId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getDocumentChildren in interface BaseDocumentRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void renameDocument(String docId, String newName) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, LockException, DatabaseException, ExtensionException, UnknowException, WebserviceException
public void setProperties(Document doc) throws AccessDeniedException, RepositoryException, PathNotFoundException, VersionException, LockException, DatabaseException, UnknowException, WebserviceException
setProperties in interface BaseDocumentAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionVersionExceptionLockExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void checkout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
checkout in interface BaseDocumentAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionLockExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void cancelCheckout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
cancelCheckout in interface BaseDocumentAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionLockExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void forceCancelCheckout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
public boolean isCheckedOut(String docId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isCheckedOut in interface BaseDocumentPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Version checkin(String docId, InputStream is, String comment) throws FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, LockException, VersionException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
checkin in interface BaseDocumentFileSizeExceededExceptionUserQuotaExceededExceptionVirusDetectedExceptionLockExceptionVersionExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionIOExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic List<Version> getVersionHistory(String docId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getVersionHistory in interface BaseDocumentPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic LockInfo lock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
lock in interface BaseDocumentLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void unlock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
unlock in interface BaseDocumentLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void forceUnlock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
forceUnlock in interface BaseDocumentLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPrincipalAdapterExceptionUnknowExceptionWebserviceExceptionpublic boolean isLocked(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
isLocked in interface BaseDocumentRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic LockInfo getLockInfo(String docId) throws RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
getLockInfo in interface BaseDocumentRepositoryExceptionPathNotFoundExceptionLockExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeDocument(String docId) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, UnknowException, WebserviceException
purgeDocument in interface BaseDocumentLockExceptionAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionExtensionExceptionUnknowExceptionWebserviceExceptionpublic void moveDocument(String docId, String dstId) throws LockException, PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public void copyDocument(String docId, String dstId) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, ExtensionException, AutomationException, UnknowException, WebserviceException
public void restoreVersion(String docId, String versionId) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, ExtensionException, UnknowException, WebserviceException
restoreVersion in interface BaseDocumentAccessDeniedExceptionPathNotFoundExceptionLockExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionUnknowExceptionWebserviceExceptionpublic void purgeVersionHistory(String docId) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeVersionHistory in interface BaseDocumentAccessDeniedExceptionPathNotFoundExceptionLockExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic long getVersionHistorySize(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getVersionHistorySize in interface BaseDocumentRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic boolean isValidDocument(String docId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidDocument in interface BaseDocumentPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getDocumentPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getDocumentPath in interface BaseDocumentAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder createFolder(Folder fld) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public Folder createFolderSimple(String fldPath) throws AccessDeniedException, RepositoryException, PathNotFoundException, ItemExistsException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public Folder getFolderProperties(String fldId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getFolderProperties in interface BaseFolderAccessDeniedExceptionRepositoryExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteFolder(String fldId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteFolder in interface BaseFolderLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void renameFolder(String fldId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void moveFolder(String fldId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveFolder in interface BaseFolderPathNotFoundExceptionItemExistsExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Folder> getFolderChildren(String fldId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderChildren in interface BaseFolderPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic boolean isValidFolder(String fldId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidFolder in interface BaseFolderPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderPath in interface BaseFolderAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Note addNote(String nodeId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
addNote in interface BaseNoteLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Note getNote(String noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNote in interface BaseNoteLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteNote(String noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteNote in interface BaseNoteLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void setNote(String noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setNote in interface BaseNoteLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Note> listNotes(String nodeId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
listNotes in interface BaseNoteLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void addGroup(String nodeId, String grpName) throws NoSuchGroupException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
public void removeGroup(String nodeId, String grpName) throws AccessDeniedException, NoSuchGroupException, LockException, PathNotFoundException, RepositoryException, DatabaseException, ExtensionException, UnknowException, WebserviceException
public List<PropertyGroup> getGroups(String nodeId) throws IOException, ParseException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getGroups in interface BasePropertyGroupIOExceptionParseExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<PropertyGroup> getAllGroups() throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getAllGroups in interface BasePropertyGroupIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<FormElement> getPropertyGroupProperties(String nodeId, String grpName) throws IOException, ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
public List<FormElement> getPropertyGroupForm(String grpName) throws IOException, ParseException, NoSuchGroupException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPropertyGroupForm in interface BasePropertyGroupIOExceptionParseExceptionNoSuchGroupExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void setPropertyGroupProperties(String nodeId, String grpName, List<FormElement> feList) throws IOException, ParseException, NoSuchPropertyException, NoSuchGroupException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
setPropertyGroupProperties in interface BasePropertyGroupIOExceptionParseExceptionNoSuchPropertyExceptionNoSuchGroupExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic void setPropertyGroupPropertiesSimple(String nodeId, String grpName, Map<String,String> properties) throws IOException, ParseException, NoSuchPropertyException, NoSuchGroupException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
setPropertyGroupPropertiesSimple in interface BasePropertyGroupIOExceptionParseExceptionNoSuchPropertyExceptionNoSuchGroupExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic boolean hasGroup(String nodeId, String grpName) throws IOException, ParseException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
hasGroup in interface BasePropertyGroupIOExceptionParseExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getRootFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getRootFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getTrashFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getTemplatesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTemplatesFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getPersonalFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getMailFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getThesaurusFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getThesaurusFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getCategoriesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getCategoriesFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void purgeTrash()
throws PathNotFoundException,
AccessDeniedException,
LockException,
RepositoryException,
DatabaseException,
UnknowException,
WebserviceException
purgeTrash in interface BaseRepositoryPathNotFoundExceptionAccessDeniedExceptionLockExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getUpdateMessage() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getUpdateMessage in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getRepositoryUuid() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getRepositoryUuid in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic boolean hasNode(String nodeId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
hasNode in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getNodePath(String uuid) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodePath in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getNodeUuid(String nodePath) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodeUuid in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic AppVersion getAppVersion() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getAppVersion in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic SqlQueryResults executeSqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeSqlQuery in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Configuration getConfiguration(String key) throws DatabaseException, UnknowException, WebserviceException
getConfiguration in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<QueryResult> findByContent(String content) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByContent in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<QueryResult> findByName(String name) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByName in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<QueryResult> findByKeywords(List<String> keywords) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByKeywords in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<QueryResult> find(QueryParams queryParams) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
find in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic ResultSet findPaginated(QueryParams queryParams, int offset, int limit) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findPaginated in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic ResultSet findSimpleQueryPaginated(String statement, int offset, int limit) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findSimpleQueryPaginated in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic ResultSet findMoreLikeThis(String uuid, int max) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findMoreLikeThis in interface BaseSearchIOExceptionParseExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Map<String,Integer> getKeywordMap(List<String> filter) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getKeywordMap in interface BaseSearchRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<Document> getCategorizedDocuments(String categoryId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getCategorizedDocuments in interface BaseSearchRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic long saveSearch(QueryParams params) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
saveSearch in interface BaseSearchAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void updateSearch(QueryParams params) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
updateSearch in interface BaseSearchAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic QueryParams getSearch(int qpId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getSearch in interface BaseSearchPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<QueryParams> getAllSearchs() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getAllSearchs in interface BaseSearchRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void deleteSearch(int qpId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
UnknowException,
WebserviceException
deleteSearch in interface BaseSearchAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void addCategory(String nodeId, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
addCategory in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void removeCategory(String nodeId, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
removeCategory in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void addKeyword(String nodeId, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
addKeyword in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void removeKeyword(String nodeId, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
removeKeyword in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void setEncryption(String nodeId, String cipherName) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setEncryption in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void unsetEncryption(String nodeId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
unsetEncryption in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic void setSigned(String nodeId, boolean signed) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setSigned in interface BasePropertyVersionExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Map<String,String> getPropertyGroupPropertiesSimple(String nodeId, String grpName) throws IOException, ParseException, NoSuchPropertyException, NoSuchGroupException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
getPropertyGroupPropertiesSimple in interface BasePropertyGroupIOExceptionParseExceptionNoSuchPropertyExceptionNoSuchGroupExceptionLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionExtensionExceptionAutomationExceptionUnknowExceptionWebserviceExceptionpublic InputStream doc2pdf(InputStream is, String fileName) throws org.apache.commons.lang.NotImplementedException, ConversionException, WebserviceException, UnknowException
doc2pdf in interface BaseConversionorg.apache.commons.lang.NotImplementedExceptionConversionExceptionWebserviceExceptionUnknowExceptionpublic InputStream imageConvert(InputStream is, String fileName, String params, String dstMimeType) throws WebserviceException, UnknowException, IOException
imageConvert in interface BaseConversionWebserviceExceptionUnknowExceptionIOExceptionCopyright © 2018 Open Knowledge Management System S.L.. All Rights Reserved.