public class RepositoryImpl extends ClientImpl implements BaseRepository
| Constructor and Description |
|---|
RepositoryImpl(String host,
String user,
String password)
RepositoryImpl
|
| Modifier and Type | Method and Description |
|---|---|
SqlQueryResults |
executeSqlQuery(InputStream is) |
AppVersion |
getAppVersion()
getAppVersion
|
Folder |
getCategoriesFolder()
getCategoriesFolder
|
Configuration |
getConfiguration(String key) |
Folder |
getMailFolder()
getMailFolder
|
String |
getNodePath(String uuid)
getNodePath
|
String |
getNodeUuid(String nodePath)
getNodeUuid
|
Folder |
getPersonalFolder()
getPersonalFolder
|
String |
getRepositoryUuid()
getRepositoryUuid
|
Folder |
getRootFolder()
getRootFolder
|
Folder |
getTemplatesFolder()
getTemplatesFolder
|
Folder |
getThesaurusFolder()
getThesaurusFolder
|
Folder |
getTrashFolder()
getTrashFolder
|
String |
getUpdateMessage()
getUpdateMessage
|
boolean |
hasNode(String nodeId)
hasNode
|
void |
purgeTrash()
purgeTrash
|
getClientpublic 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 BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionCopyright © 2018 Open Knowledge Management System S.L.. All Rights Reserved.