public class RepositoryImpl extends ClientImpl implements BaseRepository, Serializable
| Constructor and Description |
|---|
RepositoryImpl(String host)
RepositoryImpl
|
getClient, getClient, resource, resourcepublic RepositoryImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public Folder getRootFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getRootFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getTrashFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getTrashFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getTrashFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getTrashFolderBase in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getTemplatesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getTemplatesFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getPersonalFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getPersonalFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getPersonalFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getPersonalFolderBase in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getMailFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getMailFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getMailFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getMailFolderBase in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getThesaurusFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getThesaurusFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Folder getCategoriesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getCategoriesFolder in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic void purgeTrash()
throws PathNotFoundException,
AccessDeniedException,
LockException,
RepositoryException,
DatabaseException,
UnknowException,
WebserviceException
purgeTrash in interface BaseRepositoryPathNotFoundExceptionAccessDeniedExceptionLockExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionpublic String getUpdateMessage() throws RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getUpdateMessage in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic String getRepositoryUuid() throws RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getRepositoryUuid in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic boolean hasNode(String nodeId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
hasNode in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic String getNodePath(String uuid) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getNodePath in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic String getNodeUuid(String nodePath) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getNodeUuid in interface BaseRepositoryPathNotFoundExceptionRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic AppVersion getAppVersion() throws RepositoryException, DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getAppVersion in interface BaseRepositoryRepositoryExceptionDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic void copyAttributes(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, IOException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknowException, WebserviceException
public ScriptExecutionResult executeScript(InputStream is) throws UnknowException, WebserviceException, AccessDeniedException
executeScript in interface BaseRepositoryUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic SqlQueryResults executeSqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException, AccessDeniedException
executeSqlQuery in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic HqlQueryResults executeHqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException, AccessDeniedException
executeHqlQuery in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Map<String,String> getTranslations(String lang, String module) throws DatabaseException, UnknowException, WebserviceException, AccessDeniedException
getTranslations in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionAccessDeniedExceptionpublic Configuration getConfiguration(String key) throws DatabaseException, UnknowException, WebserviceException
getConfiguration in interface BaseRepositoryDatabaseExceptionUnknowExceptionWebserviceExceptionpublic List<ChangeLogged> getChangeLog(String nodePath, Calendar modificationsFrom) throws AccessDeniedException, DatabaseException, PathNotFoundException, UnknowException, WebserviceException
getChangeLog in interface BaseRepositoryAccessDeniedExceptionDatabaseExceptionPathNotFoundExceptionUnknowExceptionWebserviceExceptionpublic Map<String,String> getAvailableLocales(String locale) throws WebserviceException, PathNotFoundException, DatabaseException, UnknowException, AccessDeniedException
getAvailableLocales in interface BaseRepositoryWebserviceExceptionPathNotFoundExceptionDatabaseExceptionUnknowExceptionAccessDeniedExceptionpublic String getServerTime() throws UnknowException, WebserviceException
getServerTime in interface BaseRepositoryUnknowExceptionWebserviceExceptionpublic LicenseInfo getLicenseInfo() throws WebserviceException, RepositoryException, UnknowException, AccessDeniedException
getLicenseInfo in interface BaseRepositoryWebserviceExceptionRepositoryExceptionUnknowExceptionAccessDeniedExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.