Package com.jedox.palojlib.main
Class ConnectionHandler
java.lang.Object
com.jedox.palojlib.main.ConnectionHandler
handler used by
Connection to make request on olap server- Author:
- khaddadin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDatabase(String name, IDatabase.DatabaseType type, String backupPath) voidchangePassword(String user, String password) checkLicense(String required, String optional) voidclose(boolean stop) voidexecuteScript(String scriptText, String targetdb, IScriptVariable[] sv) String[][]getScriptVariables(String script) protected intgetUserInfo(boolean withPermission) open()protected booleanremoveDatabase(int id) protected voidsave(boolean complete)
-
Field Details
-
connectionConfiguration
-
-
Constructor Details
-
ConnectionHandler
public ConnectionHandler(ConnectionConfiguration connectionConfiguration) throws PaloException, PaloJException - Throws:
PaloExceptionPaloJException
-
-
Method Details
-
getServerToken
- Throws:
PaloException
-
getServerInfo
- Throws:
PaloException
-
getDatabases
protected HashMap<String,Database> getDatabases() throws PaloException, NumberFormatException, PaloJException -
addDatabase
protected void addDatabase(String name, IDatabase.DatabaseType type, String backupPath) throws PaloException - Throws:
PaloException
-
removeDatabase
- Throws:
PaloException
-
open
- Throws:
PaloException
-
close
- Throws:
PaloException
-
getUserInfo
-
save
- Throws:
PaloExceptionPaloJException
-
getSvsInfo
-
getScriptVariables
-
executeScript
-
checkLicense
- Throws:
PaloException
-
openInternal
-
getLicenses
- Throws:
PaloException
-
changePassword
- Throws:
PaloException
-