public class RepositoryImpl extends ClientImpl implements BaseRepository
| Constructor and Description |
|---|
RepositoryImpl(String host,
String user,
String password,
BeanHelper beanHelper)
RepositoryImpl
|
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, InputStream is) throws UnknowException, WebserviceException
executePlugin in interface BaseRepositoryUnknowExceptionWebserviceExceptionpublic List<ChangeLogged> getChangeLog(String nodePath, Calendar modificationsFrom) throws AccessDeniedException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
getChangeLog in interface BaseRepositoryAccessDeniedExceptionDatabaseExceptionPathNotFoundExceptionUnknowExceptionWebserviceExceptionpublic String getServerTime() throws UnknowException, WebserviceException
getServerTime in interface BaseRepositoryUnknowExceptionWebserviceExceptionCopyright © 2018 Open Knowledge Management System S.L.. All Rights Reserved.