public interface ServerInterface
| Modifier and Type | Method and Description |
|---|---|
void |
applySession(java.lang.StringBuffer session) |
void |
checkTopics(TopicMap tm) |
boolean |
cipher() |
void |
clearCache() |
boolean |
clearTopicMap() |
void |
close() |
void |
commit(boolean force) |
void |
connect() |
java.lang.String |
customCommand(java.lang.String command) |
boolean |
delete(java.lang.String filename) |
boolean |
fileExists(java.lang.String file) |
java.lang.StringBuffer |
getSession() |
Topic |
getTopic(java.lang.String topicSI) |
Topic |
getTopicByName(java.lang.String name) |
Topic[] |
getTopics(java.lang.String[] topicSIs) |
Topic[] |
getTopicsOfType(java.lang.String typeSI) |
boolean |
gzip() |
void |
handleServerError(java.lang.Exception e) |
boolean |
isConnected() |
boolean |
isUncommitted() |
java.lang.String[] |
listDirectories(java.lang.String dir) |
java.lang.String[] |
listFiles(java.lang.String dir) |
boolean |
login(java.lang.String user,
java.lang.String password) |
void |
mergeIn(TopicMap tm) |
boolean |
needLogin() |
boolean |
openTopicMap(java.lang.String key) |
void |
removeAssociation(Association a) |
void |
removeBaseName(Topic t) |
void |
removeData(Topic t,
Topic type,
Topic version) |
void |
removeSubjectIdentifier(Topic t,
Locator l) |
void |
removeSubjectLocator(Topic t) |
void |
removeTopic(Topic t) |
void |
removeTopicType(Topic t,
Topic type) |
void |
removeVariantName(Topic t,
java.util.Collection scope) |
void |
rollback() |
java.lang.String[] |
search(java.lang.String query) |
void |
setServerErrorHandler(ErrorHandler handler) |
java.lang.String |
upload(java.io.InputStream in,
java.lang.String filename,
long length,
boolean overwrite) |
void |
writelog(java.lang.String lvl,
java.lang.String msg) |
boolean |
writeTopicMapTo(java.io.OutputStream out) |
Topic getTopic(java.lang.String topicSI) throws ServerException
ServerExceptionTopic[] getTopics(java.lang.String[] topicSIs) throws ServerException
ServerExceptionTopic[] getTopicsOfType(java.lang.String typeSI) throws ServerException
ServerExceptionTopic getTopicByName(java.lang.String name) throws ServerException
ServerExceptionvoid checkTopics(TopicMap tm) throws ServerException
ServerExceptionvoid removeTopic(Topic t) throws ServerException
ServerExceptionvoid removeAssociation(Association a) throws ServerException
ServerExceptionvoid removeBaseName(Topic t) throws ServerException
ServerExceptionvoid removeVariantName(Topic t, java.util.Collection scope) throws ServerException
ServerExceptionvoid removeData(Topic t, Topic type, Topic version) throws ServerException
ServerExceptionvoid removeSubjectLocator(Topic t) throws ServerException
ServerExceptionvoid removeTopicType(Topic t, Topic type) throws ServerException
ServerExceptionvoid removeSubjectIdentifier(Topic t, Locator l) throws ServerException
ServerExceptionboolean writeTopicMapTo(java.io.OutputStream out)
throws java.io.IOException,
ServerException
java.io.IOExceptionServerExceptionboolean isUncommitted()
throws ServerException
ServerExceptionvoid mergeIn(TopicMap tm) throws ServerException
ServerExceptionvoid commit(boolean force)
throws WandoraException,
ServerException
WandoraExceptionServerExceptionvoid rollback()
throws ServerException
ServerExceptionboolean gzip()
throws ServerException
ServerExceptionboolean cipher()
throws ServerException
ServerExceptionboolean login(java.lang.String user,
java.lang.String password)
throws ServerException
ServerExceptionboolean needLogin()
throws ServerException
ServerExceptionvoid close()
throws ServerException
ServerExceptionvoid connect()
throws java.io.IOException
java.io.IOExceptionjava.lang.String[] search(java.lang.String query)
throws ServerException
ServerExceptionboolean openTopicMap(java.lang.String key)
throws ServerException
ServerExceptionvoid clearCache()
throws ServerException
ServerExceptionboolean clearTopicMap()
throws ServerException
ServerExceptionvoid writelog(java.lang.String lvl,
java.lang.String msg)
throws ServerException
ServerExceptionjava.lang.String customCommand(java.lang.String command)
throws ServerException
ServerExceptionjava.lang.String upload(java.io.InputStream in,
java.lang.String filename,
long length,
boolean overwrite)
throws ServerException
ServerExceptionjava.lang.String[] listDirectories(java.lang.String dir)
throws ServerException
ServerExceptionjava.lang.String[] listFiles(java.lang.String dir)
throws ServerException
ServerExceptionboolean fileExists(java.lang.String file)
throws ServerException
ServerExceptionboolean delete(java.lang.String filename)
throws ServerException
ServerExceptionboolean isConnected()
java.lang.StringBuffer getSession()
void applySession(java.lang.StringBuffer session)
throws ServerException
ServerExceptionvoid setServerErrorHandler(ErrorHandler handler)
void handleServerError(java.lang.Exception e)
Copyright 2004-2015 Wandora Team