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) |
Object |
executePlugin(String className,
Map<String,String> parameters,
Class<?> clazz) |
ScriptExecutionResult |
executeScript(InputStream is) |
SqlQueryResults |
executeSqlQuery(InputStream is) |
AppVersion |
getAppVersion() |
Folder |
getCategoriesFolder() |
Configuration |
getConfiguration(String key) |
Folder |
getMailFolder() |
Folder |
getMailFolderBase() |
String |
getNodePath(String uuid) |
String |
getNodeUuid(String nodePath) |
Folder |
getPersonalFolder() |
Folder |
getPersonalFolderBase() |
String |
getRepositoryUuid() |
Folder |
getRootFolder() |
Folder |
getTemplatesFolder() |
Folder |
getThesaurusFolder() |
Map<String,String> |
getTranslations(String lang,
String module) |
Folder |
getTrashFolder() |
Folder |
getTrashFolderBase() |
String |
getUpdateMessage() |
boolean |
hasNode(String nodeId) |
void |
purgeTrash() |
getClientpublic RepositoryImpl(String host, String user, String password, BeanHelper beanHelper)
public Folder getRootFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getRootFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getTrashFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getTrashFolderBase() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolderBase in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getTemplatesFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTemplatesFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getPersonalFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getPersonalFolderBase() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolderBase in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getMailFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getMailFolderBase() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolderBase in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getThesaurusFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getThesaurusFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Folder getCategoriesFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getCategoriesFolder in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic 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 AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
hasNode in interface BaseRepositoryAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getNodePath(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodePath in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getNodeUuid(String nodePath) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodeUuid in interface BaseRepositoryAccessDeniedExceptionPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic AppVersion getAppVersion() throws AccessDeniedException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getAppVersion in interface BaseRepositoryAccessDeniedExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic 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 BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Configuration getConfiguration(String key) throws DatabaseException, UnknowException, WebserviceException
getConfiguration in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic Object executePlugin(String className, Map<String,String> parameters, Class<?> clazz) throws UnknowException, WebserviceException
executePlugin in interface BaseRepositoryUnknowExceptionWebserviceExceptionCopyright © 2016 Open Knowledge Management System S.L.. All rights reserved.