Skip navigation links


com.essbase.eas.essbase.ui.factory
Class FactoryServer

java.lang.Object
  extended by com.essbase.eas.essbase.defs.DefaultServer
      extended by com.essbase.eas.essbase.ui.factory.FactoryServer

All Implemented Interfaces:
Server

public class FactoryServer
extends DefaultServer

extension of the DefaultServer class designed to work with the ObjectFactory and EssbaseUIFactory classes. ensuring they are correctly linked.

Version:
1.00, 07/29/2001
Author:
Hank Cox

Field Summary

 

Fields inherited from class com.essbase.eas.essbase.defs.DefaultServer
functions, groups, macros, users, variables

 

Method Summary
 Application[] getApplications()
          overrides the DefaultServer.getApplications() method.
 Function[] getFunctions()
          overrides the DefaultServer.getFunctions() method.
 Group[] getGroups()
          overrides the DefaultServer.getGroups() method.
 Macro[] getMacros()
          overrides the DefaultServer.getMacros() method.
 ServerPlatform getPlatform()
          implementation of the Server interface getPlatform() method.
 User getUser(java.lang.String userName, java.lang.String providerName, boolean sort)
           
 User getUserFromMaxL(java.lang.String userName)
           
 User[] getUsers()
          overrides the DefaultServer.getUsers() method.
 User[] getUsers(boolean sort)
          Added for Fix : 8-512365064 overrides the DefaultServer.getUsers(boolean sort) method.
 Variable[] getVariables()
          returns an array with the contained variable objects.
 boolean isApplicationRetrieved()
           
 boolean isFunctionsRetrieved()
          If isFunctionsRetrieved() returns true then the caller MUST call decFunctionsAccess() after this call.
 boolean isGroupsRetrieved()
          If isGroupsRetrieved() returns true then the caller MUST call decGroupsAccess() after this call.
 boolean isMacrosRetrieved()
          If isMacrosRetrieved() returns true then the caller MUST call decMacrosAccess() after this call.
 boolean isPlatformRetrieved()
          returns if the platform information for this Essbase server has been retrieved
 boolean isUsersRetrieved()
          If isUsersRetrieved() returns true then the caller MUST call decUsersAccess() after this call.
 boolean isVariablesRetrieved()
          If isVariablesRetrieved() returns true then the caller MUST call decVariablesAccess() after this call.
 void removeAllUsers()
          removes all users.
 void removeUser(User value)
          removes an user from this server's collection of users.
 void resetServer()
          resets the server usually after a disconnect, so that all lists are forced to be refreshed.
 void setPlatform(ServerPlatform platform)
          implementation of the Server interface setPlatform() method.

 

Methods inherited from class com.essbase.eas.essbase.defs.DefaultServer
addApplication, addApplications, addFunction, addGroup, addGroup, addLicense, addMacro, addServerListener, addUser, addUser, addUsers, addVariable, addVariableForServer, applicationRenamed, decFunctionsAccess, decGroupsAccess, decMacrosAccess, decUsersAccess, decVariablesAccess, fireApplicationAddedEvent, fireApplicationRemovedEvent, fireApplicationsAddedEvent, fireFunctionAddedEvent, fireFunctionRemovedEvent, fireGroupAddedEvent, fireGroupRemovedEvent, fireMacroAddedEvent, fireMacroRemovedEvent, fireServerConnectedEvent, fireServerDisconnectedEvent, fireServerDisconnectingEvent, fireServerRenamedEvent, fireUserAddedEvent, fireUserModifiedEvent, fireUserRemovedEvent, fireUsersAddedEvent, fireVariableAddedEvent, fireVariableRemovedEvent, functionUpdated, getApplication, getApplicationIndex, getApplicationIndex, getArborPath, getCluster, getFunction, getFunction, getFunctionsByAppName, getGroup, getLoadedApplications, getMacro, getMacro, getMacrosByAppName, getName, getProperties, getServerVersion, getSessionUser, getUser, getUser, getUser, getVariable, getVariableByNames, hasLicense, incFunctionsAccess, incGroupsAccess, incMacrosAccess, incUsersAccess, incVariablesAccess, isConnected, isDisconnecting, isEssbaseCasEnabled, isEssbaseCssEnabled, isLicenseLoaded, isRunning, isRunningSet, isSessionUserName, macroUpdated, removeAllApplications, removeAllFunctions, removeAllGroups, removeAllMacros, removeAllVariables, removeApplication, removeApplicationsNotIn, removeFunction, removeGroup, removeMacro, removeMacrosNotIn, removeServerListener, removeVariable, setAllAppsStarted, setArborPath, setCluster, setConnected, setEssbaseCasEnabled, setEssbaseCssEnabled, setName, setProperties, setRunning, setServerVersion, setSessionUser, toString, userModifed, userRenamed, variableUpdated

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getUserFromMaxL

public User getUserFromMaxL(java.lang.String userName)

getUser

public User getUser(java.lang.String userName,
                    java.lang.String providerName,
                    boolean sort)
Overrides:
getUser in class DefaultServer

getUsers

public User[] getUsers()
overrides the DefaultServer.getUsers() method. If users have never been retrieved for this server, then call UIFactory.refreshUsers() method.
Specified by:
getUsers in interface Server
Overrides:
getUsers in class DefaultServer

getUsers

public User[] getUsers(boolean sort)
Added for Fix : 8-512365064 overrides the DefaultServer.getUsers(boolean sort) method. If users have never been retrieved for this server, then call UIFactory.refreshUsers() method.
Overrides:
getUsers in class DefaultServer

removeUser

public void removeUser(User value)
                throws MissingUserException
Description copied from class: DefaultServer
removes an user from this server's collection of users.
Specified by:
removeUser in interface Server
Overrides:
removeUser in class DefaultServer
Throws:
MissingUserException

removeAllUsers

public void removeAllUsers()
                    throws MissingUserException
Description copied from class: DefaultServer
removes all users.
Overrides:
removeAllUsers in class DefaultServer
Throws:
MissingUserException

getApplications

public Application[] getApplications()
overrides the DefaultServer.getApplications() method. If applications have never been retrieved for this server, then call UIFactory.refreshApplications() method.
Specified by:
getApplications in interface Server
Overrides:
getApplications in class DefaultServer

getMacros

public Macro[] getMacros()
overrides the DefaultServer.getMacros() method. If macros have never been retrieved for this server, then call UIFactory.refreshMacros() method.
Specified by:
getMacros in interface Server
Overrides:
getMacros in class DefaultServer

getFunctions

public Function[] getFunctions()
overrides the DefaultServer.getFunctions() method. If functions have never been retrieved for this server, then call UIFactory.refreshFunctions() method.
Specified by:
getFunctions in interface Server
Overrides:
getFunctions in class DefaultServer

getGroups

public Group[] getGroups()
overrides the DefaultServer.getGroups() method. If groups have never been retrieved for this server, then call the UIFactory.refreshGroups() method.
Specified by:
getGroups in interface Server
Overrides:
getGroups in class DefaultServer

getVariables

public Variable[] getVariables()
Description copied from class: DefaultServer
returns an array with the contained variable objects.
Specified by:
getVariables in interface Server
Overrides:
getVariables in class DefaultServer

getPlatform

public ServerPlatform getPlatform()
Description copied from class: DefaultServer
implementation of the Server interface getPlatform() method. Returns the platform information for this Essbase server
Specified by:
getPlatform in interface Server
Overrides:
getPlatform in class DefaultServer

setPlatform

public void setPlatform(ServerPlatform platform)
Description copied from class: DefaultServer
implementation of the Server interface setPlatform() method. Sets the platform information for this Essbase server
Specified by:
setPlatform in interface Server
Overrides:
setPlatform in class DefaultServer

isPlatformRetrieved

public boolean isPlatformRetrieved()
returns if the platform information for this Essbase server has been retrieved

resetServer

public void resetServer()
resets the server usually after a disconnect, so that all lists are forced to be refreshed.
Specified by:
resetServer in interface Server
Overrides:
resetServer in class DefaultServer

isApplicationRetrieved

public boolean isApplicationRetrieved()

isUsersRetrieved

public boolean isUsersRetrieved()
If isUsersRetrieved() returns true then the caller MUST call decUsersAccess() after this call. See DefaultListAccess.getListRef()
Returns:

isGroupsRetrieved

public boolean isGroupsRetrieved()
If isGroupsRetrieved() returns true then the caller MUST call decGroupsAccess() after this call. See DefaultListAccess.getListRef()
Returns:

isMacrosRetrieved

public boolean isMacrosRetrieved()
If isMacrosRetrieved() returns true then the caller MUST call decMacrosAccess() after this call. See DefaultListAccess.getListRef()
Returns:

isFunctionsRetrieved

public boolean isFunctionsRetrieved()
If isFunctionsRetrieved() returns true then the caller MUST call decFunctionsAccess() after this call. See DefaultListAccess.getListRef()
Returns:

isVariablesRetrieved

public boolean isVariablesRetrieved()
If isVariablesRetrieved() returns true then the caller MUST call decVariablesAccess() after this call. See DefaultListAccess.getListRef()
Returns:

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.