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
|
getClient
public RepositoryImpl(String host, String user, String password, BeanHelper beanHelper)
public Folder getRootFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getRootFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getTrashFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getTrashFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTrashFolderBase
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getTemplatesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getTemplatesFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getPersonalFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getPersonalFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getPersonalFolderBase
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getMailFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getMailFolderBase() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolderBase
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getThesaurusFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getThesaurusFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public Folder getCategoriesFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getCategoriesFolder
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public void purgeTrash() throws PathNotFoundException, AccessDeniedException, LockException, RepositoryException, DatabaseException, UnknowException, WebserviceException
purgeTrash
in interface BaseRepository
PathNotFoundException
AccessDeniedException
LockException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getUpdateMessage() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getUpdateMessage
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getRepositoryUuid() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getRepositoryUuid
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public boolean hasNode(String nodeId) throws RepositoryException, DatabaseException, UnknowException, WebserviceException
hasNode
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getNodePath(String uuid) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodePath
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public String getNodeUuid(String nodePath) throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getNodeUuid
in interface BaseRepository
PathNotFoundException
RepositoryException
DatabaseException
UnknowException
WebserviceException
public AppVersion getAppVersion() throws RepositoryException, DatabaseException, UnknowException, WebserviceException
getAppVersion
in interface BaseRepository
RepositoryException
DatabaseException
UnknowException
WebserviceException
public 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 BaseRepository
UnknowException
WebserviceException
public SqlQueryResults executeSqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeSqlQuery
in interface BaseRepository
DatabaseException
UnknowException
WebserviceException
public HqlQueryResults executeHqlQuery(InputStream is) throws DatabaseException, UnknowException, WebserviceException
executeHqlQuery
in interface BaseRepository
DatabaseException
UnknowException
WebserviceException
public Map<String,String> getTranslations(String lang, String module) throws DatabaseException, UnknowException, WebserviceException
getTranslations
in interface BaseRepository
DatabaseException
UnknowException
WebserviceException
Copyright © 2015. All rights reserved.