public interface BaseRepository
Modifier and Type | Method and Description |
---|---|
void |
copyAttributes(String uuid,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes)
Copy attributes.
|
void |
copyAttributes(String uuid,
String dstId,
boolean categories,
boolean keywords,
boolean propertyGroups,
boolean notes,
boolean wiki)
Copy attributes.
|
HqlQueryResults |
executeHqlQuery(InputStream is)
Execute hql query hql query results.
|
HqlQueryResults |
executeHqlQuery(String hql)
Execute hql query hql query results.
|
ScriptExecutionResult |
executeScript(InputStream is)
Execute script script execution result.
|
ScriptExecutionResult |
executeScript(String script)
Execute script script execution result.
|
SqlQueryResults |
executeSqlQuery(InputStream is)
Execute sql query sql query results.
|
SqlQueryResults |
executeSqlQuery(String sql)
Execute sql query sql query results.
|
AppVersion |
getAppVersion()
Gets app version.
|
Map<String,String> |
getAvailableLocales(String locale)
Gets available locales.
|
Folder |
getCategoriesFolder()
Gets categories folder.
|
List<ChangeLogged> |
getChangeLog(String nodePath,
Calendar modificationsFrom)
Gets change log.
|
String |
getClusterUuid()
Gets cluster uuid.
|
Configuration |
getConfiguration(String key)
Gets configuration.
|
boolean |
getIsFilePlan()
Gets is file plan.
|
LicenseInfo |
getLicenseInfo()
Gets license info.
|
Folder |
getMailFolder()
Gets mail folder.
|
Folder |
getMailFolderBase()
Gets mail folder base.
|
String |
getNodePath(String uuid)
Gets node path.
|
String |
getNodeUuid(String nodePath)
Gets node uuid.
|
Folder |
getPersonalFolder()
Gets personal folder.
|
Folder |
getPersonalFolderBase()
Gets personal folder base.
|
String |
getRepositoryUuid()
Gets repository uuid.
|
Folder |
getRootFolder()
Gets root folder.
|
String |
getServerTime()
Gets server time.
|
Folder |
getTemplatesFolder()
Gets templates folder.
|
Folder |
getThesaurusFolder()
Gets thesaurus folder.
|
Map<String,String> |
getTranslations(String lang,
String module)
Gets translations.
|
Folder |
getTrashFolder()
Gets trash folder.
|
Folder |
getTrashFolderBase()
Gets trash folder base.
|
String |
getUpdateMessage()
Gets update message.
|
boolean |
hasNode(String nodeId)
Has node boolean.
|
void |
purgeTrash()
Purge trash.
|
Folder getRootFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getTrashFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getTrashFolderBase() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getTemplatesFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getPersonalFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getPersonalFolderBase() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getMailFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getMailFolderBase() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getThesaurusFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionFolder getCategoriesFolder() throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid purgeTrash() throws PathNotFoundException, AccessDeniedException, LockException, RepositoryException, DatabaseException, PromotedAsRecordLockException, UnknownException, WebserviceException
PathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionLockException
- the lock exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionString getUpdateMessage() throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionString getRepositoryUuid() throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionboolean hasNode(String nodeId) throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
nodeId
- the node idAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionString getNodePath(String uuid) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- the uuidAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionString getNodeUuid(String nodePath) throws AccessDeniedException, PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
nodePath
- the node pathAccessDeniedException
- the access denied exceptionPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionAppVersion getAppVersion() throws AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
AccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid copyAttributes(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idcategories
- the categorieskeywords
- the keywordspropertyGroups
- the property groupsnotes
- the notesItemExistsException
- the item exists exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionAutomationException
- the automation exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid copyAttributes(String uuid, String dstId, boolean categories, boolean keywords, boolean propertyGroups, boolean notes, boolean wiki) throws ItemExistsException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UserQuotaExceededException, AutomationException, PromotedAsRecordLockException, UnknownException, WebserviceException
uuid
- the uuiddstId
- the dst idcategories
- the categorieskeywords
- the keywordspropertyGroups
- the property groupsnotes
- the noteswiki
- the wikiItemExistsException
- the item exists exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUserQuotaExceededException
- the user quota exceeded exceptionAutomationException
- the automation exceptionPromotedAsRecordLockException
- the promoted as record lock exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionScriptExecutionResult executeScript(InputStream is) throws AccessDeniedException, UnknownException, WebserviceException
is
- the isAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionScriptExecutionResult executeScript(String script) throws AccessDeniedException, UnknownException, WebserviceException, IOException
script
- the scriptAccessDeniedException
- the access denied exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionSqlQueryResults executeSqlQuery(InputStream is) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException
is
- the isAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionSqlQueryResults executeSqlQuery(String sql) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException, IOException
sql
- the sqlAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionHqlQueryResults executeHqlQuery(InputStream is) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException
is
- the isAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionHqlQueryResults executeHqlQuery(String hql) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException, IOException
hql
- the hqlAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionIOException
- the io exceptionMap<String,String> getTranslations(String lang, String module) throws AccessDeniedException, DatabaseException, UnknownException, WebserviceException
lang
- the langmodule
- the moduleAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionConfiguration getConfiguration(String key) throws DatabaseException, UnknownException, WebserviceException
key
- the keyDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<ChangeLogged> getChangeLog(String nodePath, Calendar modificationsFrom) throws AccessDeniedException, DatabaseException, PathNotFoundException, UnknownException, WebserviceException
nodePath
- the node pathmodificationsFrom
- the modifications fromAccessDeniedException
- the access denied exceptionDatabaseException
- the database exceptionPathNotFoundException
- the path not found exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionMap<String,String> getAvailableLocales(String locale) throws WebserviceException, PathNotFoundException, ParseException, RepositoryException, DatabaseException, UnknownException, AccessDeniedException
locale
- the localeWebserviceException
- the webservice exceptionPathNotFoundException
- the path not found exceptionParseException
- the parse exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionAccessDeniedException
- the access denied exceptionString getServerTime() throws UnknownException, WebserviceException
UnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionLicenseInfo getLicenseInfo() throws WebserviceException, RepositoryException, UnknownException, AccessDeniedException
WebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionUnknownException
- the unknown exceptionAccessDeniedException
- the access denied exceptionString getClusterUuid() throws WebserviceException, RepositoryException, UnknownException
WebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionUnknownException
- the unknown exceptionboolean getIsFilePlan() throws WebserviceException, RepositoryException, UnknownException
WebserviceException
- the webservice exceptionRepositoryException
- the repository exceptionUnknownException
- the unknown exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.