public class RepositoryImpl extends ClientImpl implements BaseRepository
Constructor and Description |
---|
RepositoryImpl(String host,
String user,
String password)
RepositoryImpl
|
Modifier and Type | Method and Description |
---|---|
AppVersion |
getAppVersion()
getAppVersion
|
Folder |
getCategoriesFolder()
getCategoriesFolder
|
Folder |
getMailFolder()
getMailFolder
|
String |
getNodePath(String uuid)
getNodePath
|
String |
getNodeUuid(String nodePath)
getNodeUuid
|
Folder |
getPersonalFolder()
getPersonalFolder
|
String |
getRepositoryUuid()
getRepositoryUuid
|
Folder |
getRootFolder()
getRootFolder
|
Folder |
getTemplatesFolder()
getTemplatesFolder
|
Folder |
getThesaurusFolder()
getThesaurusFolder
|
Folder |
getTrashFolder()
getTrashFolder
|
String |
getUpdateMessage()
getUpdateMessage
|
boolean |
hasNode(String nodeId)
hasNode
|
void |
purgeTrash()
purgeTrash
|
getClient
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 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 getMailFolder() throws PathNotFoundException, RepositoryException, DatabaseException, UnknowException, WebserviceException
getMailFolder
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
Copyright © 2015. All rights reserved.