public class RepositoryImpl extends ClientImpl implements BaseRepository
| Constructor and Description |
|---|
RepositoryImpl(String host,
String user,
String password,
BeanHelper beanHelper)
RepositoryImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyAttributes(String nodeId,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki) |
HqlQueryResults |
executeHqlQuery(InputStream is) |
ScriptExecutionResult |
executeScript(InputStream is) |
SqlQueryResults |
executeSqlQuery(InputStream is) |
AppVersion |
getAppVersion()
getAppVersion
|
Folder |
getCategoriesFolder()
getCategoriesFolder
|
Folder |
getMailFolder()
getMailFolder
|
Folder |
getMailFolderBase()
getMailFolderBase
|
String |
getNodePath(String uuid)
getNodePath
|
String |
getNodeUuid(String nodePath)
getNodeUuid
|
Folder |
getPersonalFolder()
getPersonalFolder
|
Folder |
getPersonalFolderBase()
getPersonalFolderBase
|
String |
getRepositoryUuid()
getRepositoryUuid
|
Folder |
getRootFolder()
getRootFolder
|
Folder |
getTemplatesFolder()
getTemplatesFolder
|
Folder |
getThesaurusFolder()
getThesaurusFolder
|
Map<String,String> |
getTranslations(String lang,
String module) |
Folder |
getTrashFolder()
getTrashFolder
|
Folder |
getTrashFolderBase()
getTrashFolderBase
|
String |
getUpdateMessage()
getUpdateMessage
|
boolean |
hasNode(String nodeId)
hasNode
|
void |
purgeTrash()
purgeTrash
|
getClientpublic RepositoryImpl(String host, String user, String password, BeanHelper beanHelper)
public 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 getTrashFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolderBase 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 getPersonalFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolderBase in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getMailFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getMailFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolderBase 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 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 BaseRepositoryUnknowExceptionWebserviceExceptionpublic SqlQueryResults executeSqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeSqlQuery in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic HqlQueryResults executeHqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeHqlQuery in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Map<String,String> getTranslations(String lang, String module) throws DatabaseException, UnknowException, WebserviceException
getTranslations in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionCopyright © 2015 Open Knowledge Management System S.L.. All rights reserved.