Skip navigation links


com.essbase.eas.essbase.server
Class ServerPrimitives

java.lang.Object
  extended by com.essbase.eas.essbase.server.ServerPrimitives


public class ServerPrimitives
extends java.lang.Object
Version:
1.0, created 9/22/00
Author:
Madhavi Bolisetty

Constructor Summary
ServerPrimitives()
           

 

Method Summary
static boolean deleteExportDirectory(ISession session, java.lang.String directory)
          Delete the exported Lro server directory
static ServerStorageTypes getAppStorageTypes(EssSession session)
          Method for retrieving the different storage types for applications available on a server.
static Version getEssbaseVersion(EssSession session)
          Fast method for retrieving the Essbase version #
static java.util.List getExportDirectoryList(ISession session)
          Get the list of exported Lro server directories.
static ServerOs getOsInfo(EssSession session)
          Method for retrieving the server OS name and version
static ServerProperties getProperties(ISession session)
          Retrieves the properties for a server.
static ServerProperties getPropertiesDrives(EssSession session)
          Method to retrieve the Disk Drives subset of server properties
static ServerProperties getPropertiesEnvironment(EssSession session)
          Method to retrieve the Environment subset of server properties
static ServerProperties getPropertiesLicense(EssSession session)
          Method to retrieve the License subset of server properties
static ServerProperties getPropertiesOS(EssSession session)
          Method to retrieve the OS subset of server properties
static ServerProperties getPropertiesSecurity(EssSession session)
          Method to retrieve the Security subset of server properties
static ServerProperties getPropertiesStatistics(EssSession session)
          Method to retrieve the Statistics subset of server properties
static java.lang.String getServerLocaleString(EssSession session)
          method to retrieve server's esslang.
static int isExternalAuthenticationEnabled(ISession session)
          commented - girija Determine if external authentication is enabled.
static boolean isSubsetCodepage(EssSession session, java.lang.String locale1, java.lang.String locale2)
          method to compare to locale's to another
static int loginSetPassword(java.lang.String serverName, java.lang.String userName, java.lang.String password, java.lang.String newPassword)
           
static int registerEventServer(EssSession session, java.lang.String app, java.lang.String db, java.lang.String url, java.lang.String user, java.lang.String password, boolean registerServer)
          Register an event server
static java.util.List setProperties(ISession session, ServerProperties properties)
           
static boolean shutdownServer(EssSession session)
          Shutdown a server executing the Essbase API for shutdown
static boolean startServer(java.lang.String serverName, java.lang.String serverIdentifier, java.lang.String password)
          Start a server by connecting to a remote server which starts the Essbase server
static boolean syncSecurityBackup(ISession session)
          Sync the security of the server from the memory to the hard disk.

 

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

 

Constructor Detail

ServerPrimitives

public ServerPrimitives()

Method Detail

getProperties

public static ServerProperties getProperties(ISession session)
Retrieves the properties for a server. Instantiates a ServerProperties object for every set of properties this returns.
Parameters:
session - - session object for this command.
Returns:
ServerProperties object

setProperties

public static java.util.List setProperties(ISession session,
                                           ServerProperties properties)

getPropertiesSecurity

public static ServerProperties getPropertiesSecurity(EssSession session)
Method to retrieve the Security subset of server properties

getPropertiesLicense

public static ServerProperties getPropertiesLicense(EssSession session)
Method to retrieve the License subset of server properties

getPropertiesStatistics

public static ServerProperties getPropertiesStatistics(EssSession session)
Method to retrieve the Statistics subset of server properties

getPropertiesEnvironment

public static ServerProperties getPropertiesEnvironment(EssSession session)
Method to retrieve the Environment subset of server properties

getPropertiesOS

public static ServerProperties getPropertiesOS(EssSession session)
Method to retrieve the OS subset of server properties

getPropertiesDrives

public static ServerProperties getPropertiesDrives(EssSession session)
Method to retrieve the Disk Drives subset of server properties

getAppStorageTypes

public static ServerStorageTypes getAppStorageTypes(EssSession session)
Method for retrieving the different storage types for applications available on a server. This method is for support of DB2 OLAP versions of Essbase servers.

getEssbaseVersion

public static Version getEssbaseVersion(EssSession session)
Fast method for retrieving the Essbase version #

getOsInfo

public static ServerOs getOsInfo(EssSession session)
Method for retrieving the server OS name and version

loginSetPassword

public static int loginSetPassword(java.lang.String serverName,
                                   java.lang.String userName,
                                   java.lang.String password,
                                   java.lang.String newPassword)

syncSecurityBackup

public static boolean syncSecurityBackup(ISession session)
Sync the security of the server from the memory to the hard disk.

getExportDirectoryList

public static java.util.List getExportDirectoryList(ISession session)
Get the list of exported Lro server directories.

deleteExportDirectory

public static boolean deleteExportDirectory(ISession session,
                                            java.lang.String directory)
Delete the exported Lro server directory

isExternalAuthenticationEnabled

public static int isExternalAuthenticationEnabled(ISession session)
commented - girija Determine if external authentication is enabled. public static int isExternalAuthenticationEnabled(ISession session) { EssCoreJni core = EssJniManager.getEssCoreJni(); return isExternalAuthenticationEnabled(core, session); }

getServerLocaleString

public static java.lang.String getServerLocaleString(EssSession session)
method to retrieve server's esslang.

isSubsetCodepage

public static boolean isSubsetCodepage(EssSession session,
                                       java.lang.String locale1,
                                       java.lang.String locale2)
method to compare to locale's to another

startServer

public static boolean startServer(java.lang.String serverName,
                                  java.lang.String serverIdentifier,
                                  java.lang.String password)
                           throws java.io.IOException
Start a server by connecting to a remote server which starts the Essbase server
Parameters:
serverName -
serverIdentifier -
password -
Returns:
Throws:
java.io.IOException

shutdownServer

public static boolean shutdownServer(EssSession session)
Shutdown a server executing the Essbase API for shutdown
Parameters:
session -
Returns:

registerEventServer

public static int registerEventServer(EssSession session,
                                      java.lang.String app,
                                      java.lang.String db,
                                      java.lang.String url,
                                      java.lang.String user,
                                      java.lang.String password,
                                      boolean registerServer)
Register an event server
Parameters:
session -
app -
db -
url -
user -
password -
registerServer -
Returns:

Skip navigation links


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