|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Server
Defines a generic interface for Essbase servers. This interface should be useable in both server and client side servers.
DefaultServer| Method Summary | |
|---|---|
void |
addApplication(Application value)adds an application to this server's collection. |
void |
addApplications(Application[] values)return a list of duplicates |
void |
addFunction(Function value)adds a Function to this server's collection. |
void |
addGroup(Group value)adds an Group to this server's collection. |
void |
addGroup(Group value, boolean replace)adds a group to this server's collection. |
void |
addLicense(java.lang.String key) |
void |
addMacro(Macro value)adds a Macro to this server's collection. |
void |
addServerListener(ServerListener l)adds a listener for events on a server. |
void |
addUser(User value)adds an user to this server's collection. |
void |
addUser(User value, boolean replace)adds a user to this server's collection. |
void |
addUsers(User[] values)return a list of duplicates |
void |
addVariable(Variable value)adds a Variable to this db's collection. |
void |
addVariableForServer(Variable value) |
void |
applicationRenamed(java.lang.String oldname, java.lang.String newname, java.lang.Object application) |
void |
decFunctionsAccess()decrements the functions list user access. |
void |
decGroupsAccess()decrements the groups list user access. |
void |
decMacrosAccess()decrements the macros list user access. |
void |
decUsersAccess()decrements the users list user access. |
void |
decVariablesAccess()decrements the variables list user access. |
Application |
getApplication(java.lang.String name)retrieves a specific application |
int |
getApplicationIndex(Application app) |
int |
getApplicationIndex(java.lang.String name) |
Application[] |
getApplications()retrieves this server's collection of applications. |
java.lang.String |
getArborPath() |
java.lang.String |
getCluster() |
Function |
getFunction(java.lang.String name)retrieves a specific Function |
Function |
getFunction(java.lang.String appName, java.lang.String name)retrieves a specific Function |
Function[] |
getFunctions()retrieves this server's collection of Functions. |
Function[] |
getFunctionsByAppName(java.lang.String appName)retrieves this server's collection of Functions. |
Group |
getGroup(java.lang.String groupName) |
Group[] |
getGroups()retrieves this server's collection of Groups. |
Application[] |
getLoadedApplications()retrieves this server's currently loaded applications. |
Macro |
getMacro(java.lang.String name)retrieves a specific Macro from Server |
Macro |
getMacro(java.lang.String appName, java.lang.String name)retrieves a specific Macro with app name |
Macro[] |
getMacros()retrieves this server's collection of Macros. |
Macro[] |
getMacrosByAppName(java.lang.String appName)retrieves this server's collection of Macros for an application. |
java.lang.String |
getName()returns the name associated with this server. |
ServerPlatform |
getPlatform()retrieves this server's platform information |
ServerProperties |
getProperties()retrieves this server's property information |
Version |
getServerVersion() |
User |
getSessionUser()gets the logged in user associated with this server. |
User |
getUser(java.lang.String userName) |
User |
getUser(java.lang.String userName, java.lang.String providerName) |
User[] |
getUsers()retrieves this server's collection of users. |
Variable |
getVariable(java.lang.String name)Returns the Variable associated with the name from the collection of variables |
Variable |
getVariableByNames(java.lang.String appName, java.lang.String dbName, java.lang.String value)Returns the Variable associated with the appname, dbname, name from the collection of variables |
Variable[] |
getVariables()retrieves this server's collection of variables. |
boolean |
hasLicense(java.lang.String key)Returns true if the server has a license for a module rep by the key |
void |
incFunctionsAccess()increments the functions list user access. |
void |
incGroupsAccess()increments the groups list user access. |
void |
incMacrosAccess()increments the macros list user access. |
void |
incUsersAccess()increments the users list user access. |
void |
incVariablesAccess()increments the variables list access. |
boolean |
isConnected()is the server connected |
void |
isDisconnecting()Inform server is disconnecting |
java.lang.Boolean |
isEssbaseCasEnabled() |
java.lang.Boolean |
isEssbaseCssEnabled() |
boolean |
isRunning()Inform server is running |
boolean |
isRunningSet()Has the server running status been set. |
boolean |
isSessionUserName(java.lang.String name, java.lang.String providerName) |
void |
removeAllApplications()removes all applications from this server's collection of applications. |
void |
removeAllFunctions() |
void |
removeAllMacros() |
void |
removeAllVariables() |
void |
removeApplication(Application value)removes an application from this server's collection of applications. |
void |
removeFunction(Function value)removes a Function from this server's collection of Groups. |
void |
removeGroup(Group value)removes an Group from this server's collection of Groups. |
void |
removeMacro(Macro value)removes a Macro from this server's collection of Groups. |
void |
removeServerListener(ServerListener l)removes an event listener from a server |
void |
removeUser(User value)removes an User from this server's collection of Users. |
void |
removeVariable(Variable value)removes a Variable from this db's collection of Variables. |
void |
resetServer()resets the server usually after a disconnect, so that all lists are forced to be refreshed. |
void |
setArborPath(java.lang.String arborpath) |
void |
setCluster(java.lang.String string) |
void |
setConnected(boolean value)Set the server's connection state |
void |
setEssbaseCasEnabled(boolean enabled) |
void |
setEssbaseCssEnabled(boolean enabled) |
void |
setName(java.lang.String value)sets the name associated with this server. |
void |
setPlatform(ServerPlatform serverPlat)sets this server's platform information |
void |
setProperties(ServerProperties serverProps)sets this server's property information |
void |
setRunning(boolean value)Set the running status of the server |
void |
setServerVersion(Version version) |
void |
setSessionUser(User user)sets the logged in user associated with this server. |
void |
userModifed(User user) |
void |
userRenamed(java.lang.String oldname, java.lang.String newname, java.lang.Object user) |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String value)
void addApplication(Application value)
throws DuplicateApplicationException
DuplicateApplicationExceptionvoid addApplications(Application[] values)
values -
void applicationRenamed(java.lang.String oldname,
java.lang.String newname,
java.lang.Object application)
void addUser(User value,
boolean replace)
throws DuplicateUserException
DuplicateUserException
void addUser(User value)
throws DuplicateUserException
DuplicateUserException
void userRenamed(java.lang.String oldname,
java.lang.String newname,
java.lang.Object user)
void userModifed(User user)
void addUsers(User[] values)
values -
void addGroup(Group value,
boolean replace)
throws DuplicateGroupException
DuplicateGroupException
void addGroup(Group value)
throws DuplicateGroupException
DuplicateGroupException
void addMacro(Macro value)
throws DuplicateGroupException
DuplicateGroupException
void addFunction(Function value)
throws DuplicateGroupException
DuplicateGroupException
void addVariable(Variable value)
throws DuplicateVariableException
DuplicateVariableException
void addVariableForServer(Variable value)
throws DuplicateVariableException
DuplicateVariableExceptionApplication[] getApplications()
Application[] getLoadedApplications()
Application getApplication(java.lang.String name)
int getApplicationIndex(java.lang.String name)
int getApplicationIndex(Application app)
User[] getUsers()
User getUser(java.lang.String userName)
User getUser(java.lang.String userName,
java.lang.String providerName)
Group[] getGroups()
Group getGroup(java.lang.String groupName)
Macro[] getMacros()
Macro[] getMacrosByAppName(java.lang.String appName)
Macro getMacro(java.lang.String name)
Macro getMacro(java.lang.String appName,
java.lang.String name)
Function[] getFunctions()
Function[] getFunctionsByAppName(java.lang.String appName)
Function getFunction(java.lang.String name)
Function getFunction(java.lang.String appName,
java.lang.String name)
Variable[] getVariables()
Variable getVariable(java.lang.String name)
Variable getVariableByNames(java.lang.String appName,
java.lang.String dbName,
java.lang.String value)
ServerProperties getProperties()
void setProperties(ServerProperties serverProps)
ServerPlatform getPlatform()
void setPlatform(ServerPlatform serverPlat)
void removeAllApplications()
throws MissingApplicationException
MissingApplicationException
void removeApplication(Application value)
throws MissingApplicationException
MissingApplicationException
void removeUser(User value)
throws MissingUserException
MissingUserException
void removeGroup(Group value)
throws MissingGroupException
MissingGroupException
void removeAllMacros()
throws MissingMacroException
MissingMacroException
void removeMacro(Macro value)
throws MissingMacroException
MissingMacroException
void removeAllFunctions()
throws MissingFunctionException
MissingFunctionException
void removeFunction(Function value)
throws MissingFunctionException
MissingFunctionException
void removeAllVariables()
throws MissingVariableException
MissingVariableException
void removeVariable(Variable value)
throws MissingVariableException
MissingVariableExceptionvoid addServerListener(ServerListener l)
void removeServerListener(ServerListener l)
boolean isConnected()
void setConnected(boolean value)
void isDisconnecting()
void setRunning(boolean value)
value -boolean isRunning()
true if the server is runningboolean isRunningSet()
boolean hasLicense(java.lang.String key)
void addLicense(java.lang.String key)
void resetServer()
void setSessionUser(User user)
User getSessionUser()
void incVariablesAccess()
void decVariablesAccess()
void incMacrosAccess()
void decMacrosAccess()
void incFunctionsAccess()
void decFunctionsAccess()
void incUsersAccess()
void decUsersAccess()
void incGroupsAccess()
void decGroupsAccess()
void setEssbaseCasEnabled(boolean enabled)
java.lang.Boolean isEssbaseCasEnabled()
void setEssbaseCssEnabled(boolean enabled)
java.lang.Boolean isEssbaseCssEnabled()
void setCluster(java.lang.String string)
java.lang.String getCluster()
void setServerVersion(Version version)
Version getServerVersion()
boolean isSessionUserName(java.lang.String name,
java.lang.String providerName)
void setArborPath(java.lang.String arborpath)
java.lang.String getArborPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||