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 void
addDatabase
(String name, IDatabase.DatabaseType type, String backupPath) void
changePassword
(String user, String password) checkLicense
(String required, String optional) void
close
(boolean stop) void
executeScript
(String scriptText, String targetdb, IScriptVariable[] sv) String[][]
getScriptVariables
(String script) protected int
getUserInfo
(boolean withPermission) open()
protected boolean
removeDatabase
(int id) protected void
save
(boolean complete)
-
Field Details
-
connectionConfiguration
-
-
Constructor Details
-
ConnectionHandler
public ConnectionHandler(ConnectionConfiguration connectionConfiguration) throws PaloException, PaloJException - Throws:
PaloException
PaloJException
-
-
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:
PaloException
PaloJException
-
getSvsInfo
-
getScriptVariables
-
executeScript
-
checkLicense
- Throws:
PaloException
-
openInternal
-
getLicenses
- Throws:
PaloException
-
changePassword
- Throws:
PaloException
-