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 |
assignRole(String user,
String role) |
void |
cancelCheckout(String docId)
cancelCheckout
|
void |
changeSecurity(ChangeSecurity changeSecurity) |
Version |
checkin(String docId,
InputStream is,
String comment)
checkin
|
void |
checkout(String docId)
checkout
|
void |
copyAttributes(String nodeId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
void |
copyDocument(String docId,
String dstId)
createSimple
|
void |
copyFolder(String fldId,
String dstId) |
void |
copyMail(String mailId,
String dstId,
String newName) |
Bookmark |
createBookmark(String nodeId,
String name)
createBookmark
|
Document |
createDocument(Document doc,
InputStream is)
create
|
Document |
createDocumentSimple(String docPath,
InputStream is)
createSimple
|
Folder |
createFolder(Folder fld)
createFolder
|
Folder |
createFolderSimple(String fldPath)
createFolderSimple
|
Mail |
createMail(Mail mail) |
void |
createMissingFolders(String fldPath) |
void |
createRole(String role,
boolean active) |
void |
createUser(String user,
String password,
String email,
String name,
boolean active) |
void |
deleteBookmark(int bookmarkId)
deleteBookmark
|
void |
deleteDocument(String docId)
delete
|
void |
deleteFolder(String fldId)
deleteFolder
|
void |
deleteMail(String mailId) |
void |
deleteNote(String noteId)
deleteNote
|
void |
deleteProcessDefinition(long pdId)
deleteProcessDefinition
|
void |
deleteRole(String role) |
void |
deleteSearch(int qpId)
deleteSearch
|
void |
deleteUser(String user) |
InputStream |
doc2pdf(InputStream is,
String fileName)
doc2pdf
|
void |
endTaskInstance(long tiId,
String transName)
endTaskInstance
|
HqlQueryResults |
executeHqlQuery(InputStream is) |
ScriptExecutionResult |
executeScript(InputStream is) |
SqlQueryResults |
executeSqlQuery(InputStream is) |
void |
extendedDocumentCopy(String docId,
String dstId,
String name,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
void |
extendedFolderCopy(String fldId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
void |
extendedMailCopy(String mailId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
List<QueryResult> |
find(QueryParams queryParams)
find
|
List<ProcessDefinition> |
findAllProcessDefinitions()
findAllProcessDefinitions
|
List<QueryResult> |
findByContent(String content)
findByContent
|
List<QueryResult> |
findByKeywords(List<String> keywords)
findByKeywords
|
List<QueryResult> |
findByName(String name)
findByName
|
List<QueryResult> |
findByQuery(String query) |
ResultSet |
findByQueryPaginated(String query,
int offset,
int limit) |
ProcessDefinition |
findLastProcessDefinition(String name)
findLastProcessDefinition
|
List<ProcessDefinition> |
findLatestProcessDefinitions()
findLatestProcessDefinitions
|
ResultSet |
findMoreLikeThis(String uuid,
int max)
findMoreLikeThis
|
ResultSet |
findPaginated(QueryParams queryParams,
int offset,
int limit)
findPaginated
|
List<ProcessInstance> |
findProcessInstances(long pdId) |
ResultSet |
findSimpleQueryPaginated(String statement,
int offset,
int limit)
findSimpleQueryPaginated
|
List<TaskInstance> |
findTaskInstances(long piId)
findTaskInstances
|
List<TaskInstance> |
findUserTaskInstances()
findUserTaskInstances
|
void |
forceCancelCheckout(String docId)
forceCancelCheckout
|
void |
forceUnlock(String docId)
forceUnlock
|
List<PropertyGroup> |
getAllGroups()
getAllGroups
|
List<QueryParams> |
getAllSearchs()
getAllSearchs
|
AppVersion |
getAppVersion()
getAppVersion
|
Bookmark |
getBookmark(int bookmarkId)
getBookmark
|
Folder |
getCategoriesFolder()
getCategoriesFolder
|
List<Document> |
getCategorizedDocuments(String categoryId)
getCategorizedDocuments
|
Configuration |
getConfiguration(String key) |
InputStream |
getContent(String docId)
getContent
|
InputStream |
getContentByVersion(String docId,
String versionId)
getContentByVersion
|
ContentInfo |
getContentInfo(String fldId) |
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
|
List<Mail> |
getMailChildren(String fldId) |
Folder |
getMailFolder()
getMailFolder
|
Folder |
getMailFolderBase() |
String |
getMailPath(String uuid) |
Mail |
getMailProperties(String mailId) |
String |
getName(String user)
getName
|
String |
getNodePath(String uuid)
getNodePath
|
String |
getNodeUuid(String nodePath)
getNodeUuid
|
Note |
getNote(String noteId)
getNote
|
Folder |
getPersonalFolder()
getPersonalFolder
|
Folder |
getPersonalFolderBase() |
ProcessDefinition |
getProcessDefinition(long pdId)
getProcessDefinition
|
Map<String,List<FormElement>> |
getProcessDefinitionForms(long pdId)
getProcessDefinitionForms
|
ProcessInstance |
getProcessInstance(long piId)
getProcessInstance
|
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
|
List<String> |
getSuggestions(String nodeId,
String grpName,
String propName) |
TaskInstance |
getTaskInstance(long tiId)
getTaskInstance
|
Folder |
getTemplatesFolder()
getTemplatesFolder
|
Folder |
getThesaurusFolder()
getThesaurusFolder
|
Folder |
getTrashFolder()
getTrashFolder
|
Folder |
getTrashFolderBase() |
String |
getUpdateMessage()
getUpdateMessage
|
List<Bookmark> |
getUserBookmarks()
getUserBookmarks
|
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
|
Mail |
importEml(String dstId,
InputStream is) |
Mail |
importMsg(String dstId,
InputStream is) |
boolean |
isCheckedOut(String docId)
isCheckedOut
|
boolean |
isLocked(String docId)
createSimple
|
boolean |
isValidDocument(String docId)
isValid
|
boolean |
isValidFolder(String fldId)
isValidFolder
|
boolean |
isValidMail(String mailId) |
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 |
moveMail(String mailId,
String dstId) |
void |
purgeDocument(String docId)
purge
|
void |
purgeFolder(String fldId) |
void |
purgeMail(String mailId) |
void |
purgeTrash()
purgeTrash
|
void |
purgeVersionHistory(String docId)
purgeVersionHistory
|
void |
registerDefinition(InputStream is) |
void |
registerProcessDefinition(InputStream is)
registerProcessDefinition
|
void |
removeCategory(String nodeId,
String catId)
removeCategory
|
void |
removeGroup(String nodeId,
String grpName)
removeGroup
|
void |
removeKeyword(String nodeId,
String keyword)
removeKeyword
|
void |
removeRole(String user,
String role) |
Bookmark |
renameBookmark(int bookmarkId,
String name)
renameBookmark
|
void |
renameDocument(String docId,
String newName)
rename
|
void |
renameFolder(String fldId,
String newName)
deleteFolder
|
void |
renameMail(String mailId,
String newName) |
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
|
ProcessInstance |
runProcessDefinition(long pdId,
String uuid,
List<FormElement> values)
runProcessDefinition
|
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 |
setTaskInstanceActorId(long tiId,
String actorId)
setTaskInstanceActorId
|
void |
setTaskInstanceValues(long tiId,
String transName,
List<FormElement> values) |
void |
startTaskInstance(long tiId)
startTaskInstance
|
void |
unlock(String docId)
unlock
|
void |
unsetEncryption(String nodeId)
unsetEncryption
|
void |
updateRole(String role,
boolean active) |
void |
updateSearch(QueryParams params)
updateSearch
|
void |
updateUser(String user,
String password,
String email,
String name,
boolean active) |
public void login() throws WebserviceException, UnknowException
login
in interface BaseAuth
WebserviceException
UnknowException
public Map<String,Integer> getGrantedRoles(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException
getGrantedRoles
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
WebserviceException
UnknowException
public Map<String,Integer> getGrantedUsers(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException
getGrantedUsers
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
WebserviceException
UnknowException
public String getMail(String user) throws PrincipalAdapterException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMail
in interface BaseAuth
PrincipalAdapterException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getName(String user) throws DatabaseException, RepositoryException, PrincipalAdapterException, AccessDeniedException, WebserviceException, UnknowException
getName
in interface BaseAuth
DatabaseException
RepositoryException
PrincipalAdapterException
AccessDeniedException
WebserviceException
UnknowException
public List<String> getRoles() throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, WebserviceException, UnknowException
getRoles
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PrincipalAdapterException
WebserviceException
UnknowException
public List<String> getRolesByUser(String user) throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, WebserviceException, UnknowException
getRolesByUser
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PrincipalAdapterException
WebserviceException
UnknowException
public List<String> getUsers() throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
getUsers
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PrincipalAdapterException
UnknowException
WebserviceException
public List<String> getUsersByRole(String role) throws AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
getUsersByRole
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PrincipalAdapterException
UnknowException
WebserviceException
public void revokeRole(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
revokeRole
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
UnknowException
WebserviceException
public void revokeUser(String nodeId, String user, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
revokeUser
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
UnknowException
WebserviceException
public void grantRole(String nodeId, String role, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
grantRole
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
UnknowException
WebserviceException
public void grantUser(String nodeId, String user, int permissions, boolean recursive) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
grantUser
in interface BaseAuth
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
UnknowException
WebserviceException
public void changeSecurity(ChangeSecurity changeSecurity) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
changeSecurity
in interface BaseAuth
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void createUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
createUser
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void deleteUser(String user) throws PrincipalAdapterException, UnknowException, WebserviceException
deleteUser
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void updateUser(String user, String password, String email, String name, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
updateUser
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void createRole(String role, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
createRole
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void deleteRole(String role) throws PrincipalAdapterException, UnknowException, WebserviceException
deleteRole
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void updateRole(String role, boolean active) throws PrincipalAdapterException, UnknowException, WebserviceException
updateRole
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void assignRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException
assignRole
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public void removeRole(String user, String role) throws PrincipalAdapterException, UnknowException, WebserviceException
removeRole
in interface BaseAuth
PrincipalAdapterException
UnknowException
WebserviceException
public Document createDocument(Document doc, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
createDocument
in interface BaseDocument
IOException
UnsupportedMimeTypeException
FileSizeExceededException
UserQuotaExceededException
VirusDetectedException
ItemExistsException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
ExtensionException
AutomationException
UnknowException
WebserviceException
public Document createDocumentSimple(String docPath, InputStream is) throws IOException, UnsupportedMimeTypeException, FileSizeExceededException, UserQuotaExceededException, VirusDetectedException, ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, ExtensionException, AutomationException, UnknowException, WebserviceException
createDocumentSimple
in interface BaseDocument
IOException
UnsupportedMimeTypeException
FileSizeExceededException
UserQuotaExceededException
VirusDetectedException
ItemExistsException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
ExtensionException
AutomationException
UnknowException
WebserviceException
public void deleteDocument(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, ExtensionException, UnknowException, WebserviceException
deleteDocument
in interface BaseDocument
AccessDeniedException
RepositoryException
PathNotFoundException
LockException
DatabaseException
ExtensionException
UnknowException
WebserviceException
public Document getDocumentProperties(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getDocumentProperties
in interface BaseDocument
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public InputStream getContent(String docId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
getContent
in interface BaseDocument
RepositoryException
IOException
PathNotFoundException
AccessDeniedException
DatabaseException
UnknowException
WebserviceException
public InputStream getContentByVersion(String docId, String versionId) throws RepositoryException, IOException, PathNotFoundException, AccessDeniedException, DatabaseException, UnknowException, WebserviceException
getContentByVersion
in interface BaseDocument
RepositoryException
IOException
PathNotFoundException
AccessDeniedException
DatabaseException
UnknowException
WebserviceException
public List<Document> getDocumentChildren(String fldId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getDocumentChildren
in interface BaseDocument
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public 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 BaseDocument
AccessDeniedException
RepositoryException
PathNotFoundException
VersionException
LockException
DatabaseException
UnknowException
WebserviceException
public void checkout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
checkout
in interface BaseDocument
AccessDeniedException
RepositoryException
PathNotFoundException
LockException
DatabaseException
UnknowException
WebserviceException
public void cancelCheckout(String docId) throws AccessDeniedException, RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
cancelCheckout
in interface BaseDocument
AccessDeniedException
RepositoryException
PathNotFoundException
LockException
DatabaseException
UnknowException
WebserviceException
public 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 BaseDocument
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BaseDocument
FileSizeExceededException
UserQuotaExceededException
VirusDetectedException
LockException
VersionException
PathNotFoundException
AccessDeniedException
RepositoryException
IOException
DatabaseException
ExtensionException
AutomationException
UnknowException
WebserviceException
public List<Version> getVersionHistory(String docId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getVersionHistory
in interface BaseDocument
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public LockInfo lock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
lock
in interface BaseDocument
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void unlock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
unlock
in interface BaseDocument
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void forceUnlock(String docId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, PrincipalAdapterException, UnknowException, WebserviceException
forceUnlock
in interface BaseDocument
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
PrincipalAdapterException
UnknowException
WebserviceException
public boolean isLocked(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
isLocked
in interface BaseDocument
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public LockInfo getLockInfo(String docId) throws RepositoryException, PathNotFoundException, LockException, DatabaseException, UnknowException, WebserviceException
getLockInfo
in interface BaseDocument
RepositoryException
PathNotFoundException
LockException
DatabaseException
UnknowException
WebserviceException
public void purgeDocument(String docId) throws LockException, AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, ExtensionException, UnknowException, WebserviceException
purgeDocument
in interface BaseDocument
LockException
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
ExtensionException
UnknowException
WebserviceException
public 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 BaseDocument
AccessDeniedException
PathNotFoundException
LockException
RepositoryException
DatabaseException
ExtensionException
UnknowException
WebserviceException
public void purgeVersionHistory(String docId) throws AccessDeniedException, PathNotFoundException, LockException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeVersionHistory
in interface BaseDocument
AccessDeniedException
PathNotFoundException
LockException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public long getVersionHistorySize(String docId) throws RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getVersionHistorySize
in interface BaseDocument
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public boolean isValidDocument(String docId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidDocument
in interface BaseDocument
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getDocumentPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getDocumentPath
in interface BaseDocument
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void extendedDocumentCopy(String docId, String dstId, String name, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public 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 BaseFolder
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void deleteFolder(String fldId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteFolder
in interface BaseFolder
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void renameFolder(String fldId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameFolder
in interface BaseFolder
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void moveFolder(String fldId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveFolder
in interface BaseFolder
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<Folder> getFolderChildren(String fldId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderChildren
in interface BaseFolder
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean isValidFolder(String fldId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidFolder
in interface BaseFolder
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getFolderPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getFolderPath
in interface BaseFolder
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void copyFolder(String fldId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, IOException, AutomationException, DatabaseException, UserQuotaExceededException, UnknowException, WebserviceException
public void extendedFolderCopy(String fldId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public ContentInfo getContentInfo(String fldId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getContentInfo
in interface BaseFolder
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void purgeFolder(String fldId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeFolder
in interface BaseFolder
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void createMissingFolders(String fldPath) throws RepositoryException, DatabaseException, PathNotFoundException, ItemExistsException, AccessDeniedException, ExtensionException, AutomationException, UnknowException, WebserviceException
public Mail createMail(Mail mail) throws PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public Mail getMailProperties(String mailId) throws AccessDeniedException, RepositoryException, PathNotFoundException, DatabaseException, UnknowException, WebserviceException
getMailProperties
in interface BaseMail
AccessDeniedException
RepositoryException
PathNotFoundException
DatabaseException
UnknowException
WebserviceException
public void deleteMail(String mailId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AutomationException
deleteMail
in interface BaseMail
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
AutomationException
public void purgeMail(String mailId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeMail
in interface BaseMail
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void renameMail(String mailId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
renameMail
in interface BaseMail
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void moveMail(String mailId, String dstId) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
moveMail
in interface BaseMail
PathNotFoundException
ItemExistsException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void copyMail(String mailId, String dstId, String newName) throws PathNotFoundException, ItemExistsException, AccessDeniedException, RepositoryException, IOException, AutomationException, DatabaseException, UserQuotaExceededException, UnknowException, WebserviceException
public void extendedMailCopy(String mailId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public List<Mail> getMailChildren(String fldId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailChildren
in interface BaseMail
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean isValidMail(String mailId) throws PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
isValidMail
in interface BaseMail
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getMailPath(String uuid) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailPath
in interface BaseMail
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Mail importEml(String dstId, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, IOException, UnknowException, WebserviceException
importEml
in interface BaseMail
MessagingException
PathNotFoundException
ItemExistsException
VirusDetectedException
AccessDeniedException
RepositoryException
DatabaseException
UserQuotaExceededException
UnsupportedMimeTypeException
FileSizeExceededException
ExtensionException
AutomationException
IOException
UnknowException
WebserviceException
public Mail importMsg(String dstId, InputStream is) throws MessagingException, PathNotFoundException, ItemExistsException, VirusDetectedException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, UnsupportedMimeTypeException, FileSizeExceededException, ExtensionException, AutomationException, IOException, UnknowException, WebserviceException
importMsg
in interface BaseMail
MessagingException
PathNotFoundException
ItemExistsException
VirusDetectedException
AccessDeniedException
RepositoryException
DatabaseException
UserQuotaExceededException
UnsupportedMimeTypeException
FileSizeExceededException
ExtensionException
AutomationException
IOException
UnknowException
WebserviceException
public Note addNote(String nodeId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
addNote
in interface BaseNote
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Note getNote(String noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNote
in interface BaseNote
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void deleteNote(String noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteNote
in interface BaseNote
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void setNote(String noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setNote
in interface BaseNote
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<Note> listNotes(String nodeId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
listNotes
in interface BaseNote
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BasePropertyGroup
IOException
ParseException
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<PropertyGroup> getAllGroups() throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getAllGroups
in interface BasePropertyGroup
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BasePropertyGroup
IOException
ParseException
NoSuchGroupException
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BasePropertyGroup
IOException
ParseException
NoSuchPropertyException
NoSuchGroupException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
ExtensionException
AutomationException
UnknowException
WebserviceException
public 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 BasePropertyGroup
IOException
ParseException
NoSuchPropertyException
NoSuchGroupException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
ExtensionException
AutomationException
UnknowException
WebserviceException
public boolean hasGroup(String nodeId, String grpName) throws IOException, ParseException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
hasGroup
in interface BasePropertyGroup
IOException
ParseException
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<String> getSuggestions(String nodeId, String grpName, String propName) throws PathNotFoundException, IOException, ParseException, NoSuchGroupException, SuggestionException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
public void registerDefinition(InputStream is) throws ParseException, DatabaseException, IOException, UnknowException, WebserviceException, AccessDeniedException
registerDefinition
in interface BasePropertyGroup
ParseException
DatabaseException
IOException
UnknowException
WebserviceException
AccessDeniedException
public Folder getRootFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getRootFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getTrashFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getTrashFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getTrashFolderBase
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
AccessDeniedException
public Folder getTemplatesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTemplatesFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getPersonalFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getPersonalFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getPersonalFolderBase
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
AccessDeniedException
public Folder getMailFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getMailFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getMailFolderBase
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
AccessDeniedException
public Folder getThesaurusFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getThesaurusFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getCategoriesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getCategoriesFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void purgeTrash() throws PathNotFoundException, AccessDeniedException, LockException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeTrash
in interface BaseRepository
PathNotFoundException
AccessDeniedException
LockException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getUpdateMessage() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getUpdateMessage
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getRepositoryUuid() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getRepositoryUuid
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean hasNode(String nodeId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
hasNode
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getNodePath(String uuid) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodePath
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getNodeUuid(String nodePath) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodeUuid
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public AppVersion getAppVersion() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getAppVersion
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void copyAttributes(String nodeId, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, UnknowException, WebserviceException
public ScriptExecutionResult executeScript(InputStream is) throws UnknowException, WebserviceException
executeScript
in interface BaseRepository
UnknowException
WebserviceException
public SqlQueryResults executeSqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeSqlQuery
in interface BaseRepository
DatabaseException
UnknowException
WebserviceException
public HqlQueryResults executeHqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeHqlQuery
in interface BaseRepository
DatabaseException
UnknowException
WebserviceException
public Configuration getConfiguration(String key) throws DatabaseException, UnknowException, WebserviceException
getConfiguration
in interface BaseRepository
DatabaseException
UnknowException
WebserviceException
public List<QueryResult> findByContent(String content) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByContent
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<QueryResult> findByName(String name) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByName
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<QueryResult> findByKeywords(List<String> keywords) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByKeywords
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<QueryResult> find(QueryParams queryParams) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
find
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public ResultSet findPaginated(QueryParams queryParams, int offset, int limit) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findPaginated
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public ResultSet findSimpleQueryPaginated(String statement, int offset, int limit) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findSimpleQueryPaginated
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public ResultSet findMoreLikeThis(String uuid, int max) throws IOException, ParseException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findMoreLikeThis
in interface BaseSearch
IOException
ParseException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Map<String,Integer> getKeywordMap(List<String> filter) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getKeywordMap
in interface BaseSearch
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<Document> getCategorizedDocuments(String categoryId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getCategorizedDocuments
in interface BaseSearch
RepositoryException
DatabaseException
UnknowException
WebserviceException
public long saveSearch(QueryParams params) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
saveSearch
in interface BaseSearch
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void updateSearch(QueryParams params) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
updateSearch
in interface BaseSearch
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public QueryParams getSearch(int qpId) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getSearch
in interface BaseSearch
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<QueryParams> getAllSearchs() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getAllSearchs
in interface BaseSearch
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void deleteSearch(int qpId) throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
deleteSearch
in interface BaseSearch
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<QueryResult> findByQuery(String query) throws IOException, ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByQuery
in interface BaseSearch
IOException
ParseException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public ResultSet findByQueryPaginated(String query, int offset, int limit) throws IOException, ParseException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
findByQueryPaginated
in interface BaseSearch
IOException
ParseException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void addCategory(String nodeId, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
addCategory
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void removeCategory(String nodeId, String catId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
removeCategory
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void addKeyword(String nodeId, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
addKeyword
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void removeKeyword(String nodeId, String keyword) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
removeKeyword
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void setEncryption(String nodeId, String cipherName) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setEncryption
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void unsetEncryption(String nodeId) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
unsetEncryption
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void setSigned(String nodeId, boolean signed) throws VersionException, LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
setSigned
in interface BaseProperty
VersionException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BasePropertyGroup
IOException
ParseException
NoSuchPropertyException
NoSuchGroupException
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
ExtensionException
AutomationException
UnknowException
WebserviceException
public InputStream doc2pdf(InputStream is, String fileName) throws org.apache.commons.lang.NotImplementedException, ConversionException, WebserviceException, UnknowException
doc2pdf
in interface BaseConversion
org.apache.commons.lang.NotImplementedException
ConversionException
WebserviceException
UnknowException
public InputStream imageConvert(InputStream is, String fileName, String params, String dstMimeType) throws WebserviceException, UnknowException, IOException
imageConvert
in interface BaseConversion
WebserviceException
UnknowException
IOException
public List<Bookmark> getUserBookmarks() throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException, PrincipalAdapterException
getUserBookmarks
in interface BaseBookmark
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
WebserviceException
UnknowException
PrincipalAdapterException
public Bookmark createBookmark(String nodeId, String name) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
createBookmark
in interface BaseBookmark
LockException
PathNotFoundException
AccessDeniedException
RepositoryException
DatabaseException
WebserviceException
UnknowException
ItemExistsException
public Bookmark renameBookmark(int bookmarkId, String name) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException, PrincipalAdapterException
renameBookmark
in interface BaseBookmark
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
WebserviceException
UnknowException
PrincipalAdapterException
public void deleteBookmark(int bookmarkId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException, PrincipalAdapterException
deleteBookmark
in interface BaseBookmark
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
WebserviceException
UnknowException
PrincipalAdapterException
public Bookmark getBookmark(int bookmarkId) throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException, PrincipalAdapterException
getBookmark
in interface BaseBookmark
AccessDeniedException
RepositoryException
DatabaseException
PathNotFoundException
WebserviceException
UnknowException
PrincipalAdapterException
public void registerProcessDefinition(InputStream is) throws ParseException, RepositoryException, DatabaseException, WorkflowException, IOException, UnknowException, WebserviceException, AccessDeniedException
registerProcessDefinition
in interface BaseWorkflow
ParseException
RepositoryException
DatabaseException
WorkflowException
IOException
UnknowException
WebserviceException
AccessDeniedException
public void deleteProcessDefinition(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
deleteProcessDefinition
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public ProcessDefinition getProcessDefinition(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
getProcessDefinition
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public ProcessInstance runProcessDefinition(long pdId, String uuid, List<FormElement> values) throws WorkflowException, AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
runProcessDefinition
in interface BaseWorkflow
WorkflowException
AccessDeniedException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public List<ProcessInstance> findProcessInstances(long pdId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findProcessInstances
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public List<ProcessDefinition> findAllProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findAllProcessDefinitions
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public List<ProcessDefinition> findLatestProcessDefinitions() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findLatestProcessDefinitions
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public ProcessDefinition findLastProcessDefinition(String name) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findLastProcessDefinition
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public ProcessInstance getProcessInstance(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
getProcessInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public List<TaskInstance> findUserTaskInstances() throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findUserTaskInstances
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public List<TaskInstance> findTaskInstances(long piId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
findTaskInstances
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public void setTaskInstanceValues(long tiId, String transName, List<FormElement> values) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
setTaskInstanceValues
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public TaskInstance getTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
getTaskInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public void startTaskInstance(long tiId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
startTaskInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public void setTaskInstanceActorId(long tiId, String actorId) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
setTaskInstanceActorId
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public void endTaskInstance(long tiId, String transName) throws RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException, AccessDeniedException
endTaskInstance
in interface BaseWorkflow
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
AccessDeniedException
public Map<String,List<FormElement>> getProcessDefinitionForms(long pdId) throws ParseException, AccessDeniedException, RepositoryException, DatabaseException, WorkflowException, UnknowException, WebserviceException
getProcessDefinitionForms
in interface BaseWorkflow
ParseException
AccessDeniedException
RepositoryException
DatabaseException
WorkflowException
UnknowException
WebserviceException
Copyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.