public interface IEssOlapServer extends IEssServer, IEssExtendedObject, IEssProperties, IEssAppComponent, IEssSubstitutionVariables
Modifier and Type | Interface and Description |
---|---|
static interface |
IEssOlapServer.IEssOlapConnectionInfo
The IEssOlapConnectionInfo interface provides OLAP agent/server
connection information.
|
IEssServer.EEssServerType
IEssProperties.EEssPropertyMode
IEssAppComponent.EEssAppComponentType
Modifier and Type | Field and Description |
---|---|
static int |
ESS_UDF_FUNCTION_RUNTIME |
static int |
ESS_UDF_FUNCTION_SINGLECELL |
static int |
ESS_UDF_FUNCTION_TRIGGER_FUNC |
static int |
ESS_UDF_FUNCTION_VECTOR |
static int |
PROP_DESCRIPTION |
static int |
PROP_NAME |
static int |
s_countProperties |
static IEssValueAny.EEssDataType[] |
s_propDataTypes |
static IEssProperties.EEssPropertyMode[] |
s_propModes |
static java.lang.String[] |
s_propNames |
Modifier and Type | Method and Description |
---|---|
void |
changeOlapPassword(java.lang.String userName,
java.lang.String oldPassword,
java.lang.String newPassword)
Changes the password of a user at OLAP server.
|
void |
clearActive()
Clears the current active application and database for this instance of
the IEssOLAPServer object.
|
void |
clearActivePlugin()
Clears the current active pluggable engine for this instance of the IEssOLAPServer object.
|
void |
connect()
Opens a connection to the olap agent.
|
void |
connect(boolean useEdsAtOlapSvrNode)
Deprecated.
This functionality has been deprecated.
|
void |
connect(boolean useConnPool,
boolean connPerOp)
Deprecated.
This functionality has been deprecated.
|
void |
connect(boolean useConnPool,
boolean connPerOp,
boolean useCluster,
java.lang.String connPoolOrClusterName)
Deprecated.
This functionality has been deprecated.
|
void |
convertApplicationToUnicode(java.lang.String appName)
Converts application to unicode.
|
void |
copyOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName,
java.lang.String destAppName,
java.lang.String destCubeName,
java.lang.String destObjName)
Copies an olap file object.
|
void |
copyOlapFileObjectFromServer(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName,
java.io.OutputStream out,
boolean lock)
Copies an object from the olap server to a client file using output stream and optionally
locks the server object to prevent updates by others.
|
void |
copyOlapFileObjectFromServer(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName,
java.lang.String clientFileName,
boolean lock)
Copies an object from the olap server to a client file and optionally
locks the server object to prevent updates by others.
|
void |
copyOlapFileObjectToServer(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName,
java.io.InputStream in,
boolean unlock,
long totalLength)
Copies an object from a client file to the olap server, and
optionally unlocks the server object to allow updates by others.
|
void |
copyOlapFileObjectToServer(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName,
java.lang.String clientFileName,
boolean unlock)
Copies an object from a client file to the olap server, and
optionally unlocks the server object to allow updates by others.
|
IEssOlapApplication |
createApplication(java.lang.String appName)
Creates a new application and starts it.
|
IEssOlapApplication |
createApplication(java.lang.String appName,
short storageType)
Creates a new application with the given storage type and starts it.
|
IEssOlapApplication |
createApplication(java.lang.String appName,
short storageType,
java.lang.String appType)
Creates a new application and starts it.
|
IEssOlapApplication |
createApplication(java.lang.String appName,
java.lang.String appType)
Creates a new application and starts it.
|
IEssOlapApplication |
createApplication(java.lang.String appName,
java.lang.String desc,
int maxLroFileSize,
boolean loadable,
boolean autoLoad,
boolean allowCommands,
boolean allowConnects,
boolean allowUpdates,
boolean enableSecurity,
int lockTimeOutPeriod,
IEssCube.EEssCubeAccess minCubeAccess)
Creates a new application setting all the specified properties and starts it.
|
void |
createCDF(java.lang.String name,
java.lang.String javaSpec,
int options,
java.lang.String spec,
java.lang.String comment)
Creates a custom defined function.
|
void |
createCDM(java.lang.String name,
java.lang.String definition,
java.lang.String signature,
java.lang.String spec,
java.lang.String comment)
Creates custom defined macro.
|
IEssOlapUser |
createOlapExtUser(java.lang.String userName,
java.lang.String password,
java.lang.String protocol,
java.lang.String connParam)
Creates a new externally authenticated user.
|
IEssOlapUser |
createOlapExtUserWithType(java.lang.String userName,
java.lang.String password,
java.lang.String protocol,
java.lang.String connParam,
short userType)
Creates a externally authenticated user with specified application access type.
|
void |
createOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName)
Creates a new olap file object.
|
IEssOlapGroup |
createOlapGroup(java.lang.String groupName)
Creates a new group.
|
IEssOlapUser |
createOlapUser(java.lang.String userName,
java.lang.String password)
Creates a new user.
|
IEssOlapUser |
createOlapUserWithType(java.lang.String userName,
java.lang.String password,
short userType)
Creates a new user with specified application access type.
|
IEssOlapApplication |
createShadowApplication(java.lang.String primaryAppName,
java.lang.String shadowAppName,
boolean hideShadow,
int waitForOngoingUpdatesInSecs)
Puts the specified primary application on read-only mode and creates a shadow application
(a complete copy) out of the primary application, so that one can leverage capabilities of
cube modifications and outline restructure on the shadow application, while the primary
serves all kinds of read-only operations like queries, etc.
|
void |
delete()
Deletes this server from the domain if it exists.
|
void |
deleteCDF(java.lang.String name)
Deletes custom defined function.
|
void |
deleteCDM(java.lang.String name)
Deletes custom defined macro.
|
void |
deleteLogFile()
Deletes the agent log file (essbase.log).
|
void |
deleteOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName)
Delete an existing olap file object.
|
void |
disconnect()
Closes the connection to the olap agent.
|
void |
dropShadowApplication(java.lang.String shadowAppName)
Forcefully deletes the specified shadow application.
|
java.lang.String[] |
getActive()
Gets the names of the current active application and cube for this
instance of the IEssOlapServer object.
|
com.essbase.api.scripting.IEssPluggableEngine |
getActivePlugin()
Gets the instance of active pluggable engine for this instance of the IEssOlapServer object.
|
java.lang.String[] |
getAllApplicationNames()
Fetches the names of regular (visible) as well as hidden applications.
|
java.lang.String |
getAllConnectionsParameters(java.lang.String appName,
java.lang.String dbName)
Gets all parameters that are associated with current connection
|
IEssOlapApplication |
getApplication(java.lang.String appName)
Gets the specified application.
|
IEssIterator |
getApplications()
Gets the list of applications which are accessible to the caller.
|
java.lang.String[][] |
getCDM_CDF()
Gets custom defined functions and macros.
|
IEssIterator |
getConnections()
Gets the list of user connections to the olap agent/server.
|
IEssIterator |
getConnections(long sessionId,
java.lang.String username,
java.lang.String appname,
java.lang.String cubeName)
Retrieves the list of user session and request information from the olap agent/server.
|
java.lang.String |
getDescription()
Gets the olap server description.
|
java.util.Map<java.lang.String,java.lang.String> |
getEssbaseConfigValues()
Deprecated.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getEssbaseConfigValuesEx()
API to get Essbase config value from Essbase.cfg as key value pairs
|
java.lang.String[] |
getHiddenApplicationNames()
Fetches the names of hidden applications, if any.
|
boolean |
getIgnoreCellProperties()
Get the ignore cell properties value.
|
java.lang.String |
getLocale()
Returns the locale of the OLAP server.
|
long |
getLoginId()
Returns the signed-in user's login ID for the particular session.
|
int |
getLogSize(boolean agentLog,
java.lang.String appName)
Gets the size of the Agent log file (ESSBASE.LOG), or of the Server log
file (APPNAME.LOG).
|
IEssCustomMessageHandler |
getMessageHandler()
Retrieves the custom message handler associated with the session.
|
java.lang.String |
getName()
Gets the olap server name/IP address.
|
IEssOlapFileObject |
getOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName)
Gets information about a specified olap store file object.
|
IEssIterator |
getOlapFileObjects(java.lang.String appName,
java.lang.String cubeName,
int objType)
Gets all the olap store file objects of the types specified.
|
IEssOlapGroup |
getOlapGroup(java.lang.String groupName)
Gets olap group information for the given group.
|
IEssIterator |
getOlapGroups(java.lang.String appName,
java.lang.String cubeName)
Lists all groups who have access to this Essbase, and given application or cube.
|
IEssOlapLicenseInfo |
getOlapLicenseInfo(java.lang.String serverColumnPort)
Get the License information structure.
|
short |
getOlapSecurityMode()
Displays the type of security in use: native or Shared Services mode.
|
java.lang.String |
getOlapServerVersion()
Gets the full version number of the connected Essbase olap server, in
the form release.version.revision.
|
IEssOlapUser |
getOlapUser(java.lang.String userName)
Gets a user information structure, which contains security information for the user.
|
IEssIterator |
getOlapUsers(java.lang.String appName,
java.lang.String cubeName,
java.lang.String protocol,
boolean bExternalOnly)
Lists all users who have access to a particular Essbase server, application or cube.
|
com.essbase.api.scripting.IEssPluggableEngine[] |
getPluggableEngines(java.lang.String string)
Gets the array of pluggable engines for this instance of the IEssOlapServer object.
|
java.lang.String[] |
getRegularApplicationNames()
Fetches the names of regular (visible) applications.
|
IEssIterator |
getRequests(java.lang.String userName,
java.lang.String appName,
java.lang.String cubeName)
Gets all the requests at the olap server for the matching userName,
appName or cubeName.
|
java.lang.String |
getStartCommand()
Deprecated.
This functionality has been deprecated.
|
com.essbase.api.datasource.SystemInfo |
getSystemInfo()
Provides system information which includes amount of free RAM,
CPU usage and free application disk space.
|
boolean |
isConnected()
Checks if a connection is open to the olap agent.
|
IEssOlapFileObject |
isOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName)
Verifies and retrieves the information about the specified Essbase file object.
|
boolean |
isUnicodeEnabled()
Checks if server is unicode enabled.
|
void |
killLastRequest()
Deprecated.
Replaced with
killOwnRequest() |
void |
killOwnRequest()
Kills the last request to a server issued by a user
from the same session if it is still running.
|
void |
killPluggableEngines(com.essbase.api.scripting.IEssPluggableEngine[] engines)
Kills the pluggable engines for this instance of the IEssOlapServer object.
|
java.lang.String[] |
listSchemas()
Returns a accessible list of schemas for the active user.
|
void |
lockOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName)
Locks an object on the server to prevent other users from updating it.
|
void |
moveApplication(java.lang.String sourceAppName,
java.lang.String destAppName,
boolean overwriteIfExists,
int timeoutToForceUnloadApp)
Moves one application as another.
|
IEssMaxlSession |
openMaxlSession(java.lang.String MaxlSessionName)
Opens a Maxl session with the Analytic server and returns a handle
to the session.
|
void |
promoteShadowApplication(java.lang.String shadowAppName,
java.lang.String baseAppName,
int timeoutToForceUnloadApp)
Promotes the shadowed application as the base application.
|
void |
refreshPropertyValues()
Refreshes the property values.
|
void |
renameOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName,
java.lang.String newObjName)
Renames an existing olap file object.
|
void |
reRegisterAllApplications()
Re-establishes all Analytic Services applications as Shared Services
applications.
|
void |
resetTimeoutParameters()
Reset JAPI timeout parameters
|
void |
resyncSSSecurity()
Synchronizes the Essbase security definitions for all users, groups, and applications
with the current state of Shared Services security.
|
void |
setActive(java.lang.String appName,
java.lang.String cubeName)
Sets the active application and cube for this instance of the
IEssOlapServer object.
|
com.essbase.api.scripting.IEssPluggableEngine |
setActivePlugin(java.lang.String pluginName)
Sets the active pluggable engine for this instance of the IEssOlapServer object.
|
void |
setConnectionParameter(java.lang.String appName,
java.lang.String dbName,
java.lang.String name,
java.lang.String value)
Connection parameters setting method
|
void |
setDescription(java.lang.String desc)
Sets the olap server description.
|
void |
setIgnoreCellProperties(boolean ignoreCellProperties)
Sets the ignore cell properties value.
|
void |
setMessageHandler(IEssCustomMessageHandler handler)
Associates the Custom message handler to the session.
|
void |
setStartCommand(java.lang.String startCmd)
Deprecated.
This functionality has been deprecated.
|
void |
setTimeoutParameters(int netRetryCount,
boolean tryInfinite)
Sets JAPI timeout parameters
|
void |
setUnicodeEnabled(boolean enabled)
Sets the server unicode enabled.
|
void |
start()
Deprecated.
This functionality has been deprecated.
|
void |
start(java.lang.String osUserName,
java.lang.String osUserPassword,
java.lang.String osDomainName)
Deprecated.
This functionality has been deprecated.
|
void |
stop()
Deprecated.
This functionality has been deprecated.
|
void |
syncGroups()
Forces all groups' security information to be synchronized with
the current group information in Shared Services.
|
void |
syncUser(java.lang.String user)
Forces a user's/group's security information to be synchronized with
that user's/group's current information in Shared Services.
|
void |
syncUsers()
Forces all users' security information to be synchronized with
the current user information in Shared Services.
|
void |
syncUsersAndGroupsWithApp(IEssOlapApplication application)
Synchronize the Essbase application's security definitions
so that all users and groups in the application match with the current
state of Shared Services security.
|
void |
unlockOlapFileObject(java.lang.String appName,
java.lang.String cubeName,
int objType,
java.lang.String objName)
Unlocks a locked object on the server.
|
void |
updatePropertyValues()
Updates the property values.
|
void |
writeToLogFile(boolean agentLog,
java.lang.String message)
Writes a message to the agent log file (essbase.log) or to the server
log file (appname.log).
|
getServerType
clearClientCache, getParent, getParentBase, isClientCachingEnabled, setClientCachingEnabled
getCountProperties, getPropertyDataType, getPropertyDataType, getPropertyDataTypes, getPropertyId, getPropertyMode, getPropertyMode, getPropertyModes, getPropertyName, getPropertyNames, getPropertyValueAny, getPropertyValueAny, setPropertyValueAny, setPropertyValueAny
getAppComponentType
createSubstitutionVariable, deleteSubstitutionVariable, getSubstitutionVariables, getSubstitutionVariableValue
static final int PROP_NAME
static final int PROP_DESCRIPTION
static final int s_countProperties
static final java.lang.String[] s_propNames
static final IEssValueAny.EEssDataType[] s_propDataTypes
static final IEssProperties.EEssPropertyMode[] s_propModes
static final int ESS_UDF_FUNCTION_VECTOR
static final int ESS_UDF_FUNCTION_SINGLECELL
static final int ESS_UDF_FUNCTION_TRIGGER_FUNC
static final int ESS_UDF_FUNCTION_RUNTIME
java.lang.String getName() throws com.essbase.api.base.EssException
getName
in interface IEssExtendedObject
com.essbase.api.base.EssException
- if an error occurs.java.lang.String getDescription() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setDescription(java.lang.String desc) throws com.essbase.api.base.EssException
desc
- The olap server description.com.essbase.api.base.EssException
- if an error occurs.java.lang.String getStartCommand() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setStartCommand(java.lang.String startCmd) throws com.essbase.api.base.EssException
startCmd
- The startup command.com.essbase.api.base.EssException
- if an error occurs.void refreshPropertyValues() throws com.essbase.api.base.EssException
refreshPropertyValues
in interface IEssProperties
com.essbase.api.base.EssException
- if an error occurs.void updatePropertyValues() throws com.essbase.api.base.EssException
updatePropertyValues
in interface IEssProperties
com.essbase.api.base.EssException
- if an error occurs.void connect() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void connect(boolean useConnPool, boolean connPerOp) throws com.essbase.api.base.EssException
useConnPool
- true to use connection pool if available.connPerOp
- true for connection per operation. false for connection
per session.com.essbase.api.base.EssException
- if an error occurs.void connect(boolean useConnPool, boolean connPerOp, boolean useCluster, java.lang.String connPoolOrClusterName) throws com.essbase.api.base.EssException
useConnPool
- true to use connection pool if available.connPerOp
- true for connection per operation. false for connection
per session.useCluster
- true to use cluster if available.connPoolOrClusterName
- connection pool or cluster name to
use. If useConnPool is true, this parameter represents connection pool
name. If useCluster is true, this parameter represents cluster name.
If this parameter is null, a connection pool or a cluster will be chosen,
if available, based on the values of other parameters. If it is not
null then it should be a valid active connection pool or cluster name.com.essbase.api.base.EssException
- if an error occurs.void connect(boolean useEdsAtOlapSvrNode) throws com.essbase.api.base.EssException
useEdsAtOlapSvrNode
- If true, the Provider server at the node
where this olap server resides is used to traffic the requests between the
JAPI client and the olap server. If false, the enterprise server that
authenticated the user is used to traffic the requests.com.essbase.api.base.EssException
- if an error occurs.void disconnect() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.boolean isConnected() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.java.lang.String getOlapServerVersion() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssIterator getApplications() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication getApplication(java.lang.String appName) throws com.essbase.api.base.EssException
appName
- The application name.com.essbase.api.base.EssException
- if an error occurs.IEssOlapUser getOlapUser(java.lang.String userName) throws com.essbase.api.base.EssException
userName
- The olap user username.com.essbase.api.base.EssException
- if an error occurs.IEssIterator getOlapUsers(java.lang.String appName, java.lang.String cubeName, java.lang.String protocol, boolean bExternalOnly) throws com.essbase.api.base.EssException
appName
- - Application name. If null, lists all users.cubeName
- - cube name. If null, lists users for all cubes within application.protocol
- - The name of the external authentication mechanism. This can be null if bExternalOnly is false.
- Values are CSS/Client AuthenticationbExternalOnly
- - true - returns list of external users; false - returns all userscom.essbase.api.base.EssException
- if an error occurs.IEssOlapGroup getOlapGroup(java.lang.String groupName) throws com.essbase.api.base.EssException
groupName
- The olap group name.com.essbase.api.base.EssException
- if an error occurs.IEssIterator getOlapGroups(java.lang.String appName, java.lang.String cubeName) throws com.essbase.api.base.EssException
appName
- - Application name. If null, lists all groups.cubeName
- - cube name. If null, lists groups for all cubes within application.com.essbase.api.base.EssException
- if an error occurs.IEssOlapLicenseInfo getOlapLicenseInfo(java.lang.String serverColumnPort) throws com.essbase.api.base.EssException
serverColumnPort
- The server column port.com.essbase.api.base.EssException
- if an error occurs.short getOlapSecurityMode() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssOlapUser createOlapUser(java.lang.String userName, java.lang.String password) throws com.essbase.api.base.EssException
userName
- - Name of user to create. User names can be 30 characters long.password
- - Security password for new user. Passwords can be up to 100 characters long.com.essbase.api.base.EssException
- if an error occurs.IEssOlapUser createOlapExtUser(java.lang.String userName, java.lang.String password, java.lang.String protocol, java.lang.String connParam) throws com.essbase.api.base.EssException
userName
- - Name of user to create. User names can be 30 characters long.password
- - Security password for new user. Passwords can be up to 100 characters long.protocol
- - The name of the external authentication mechanism.connParam
- - Parameters used by the external authentication mechanism, if any.com.essbase.api.base.EssException
- if an error occurs.IEssOlapUser createOlapUserWithType(java.lang.String userName, java.lang.String password, short userType) throws com.essbase.api.base.EssException
userName
- - Name of user to create. User names can be 30 characters long.password
- - Security password for new user. Passwords can be up to 100 characters long.userType
- - Application access type for a user. Possible values
0 - for ESS_USER_NONE which means this user will be enabled without any functionality.
or 1 - for ESS_USER_ESSBASE which means this user will be enabled with all functionality.com.essbase.api.base.EssException
- if an error occurs.IEssOlapUser createOlapExtUserWithType(java.lang.String userName, java.lang.String password, java.lang.String protocol, java.lang.String connParam, short userType) throws com.essbase.api.base.EssException
userName
- - Name of user to create. User names can be 30 characters long.password
- - Security password for new user. Passwords can be up to 100 characters long.protocol
- - Name of the external authentication mechanismconnParam
- - Parameters used by external authentication mechanism, if any..userType
- - Application access type for a user. Possible values
0 - for ESS_USER_NONE which means this user will be enabled without any functionality.
or 1 - for ESS_USER_ESSBASE which means this user will be enabled with all functionality.com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication createApplication(java.lang.String appName) throws com.essbase.api.base.EssException
appName
- The application name.com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication createApplication(java.lang.String appName, java.lang.String appType) throws com.essbase.api.base.EssException
appName
- The application name.appType
- The application type ("native" or "utf8").com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication createApplication(java.lang.String appName, java.lang.String desc, int maxLroFileSize, boolean loadable, boolean autoLoad, boolean allowCommands, boolean allowConnects, boolean allowUpdates, boolean enableSecurity, int lockTimeOutPeriod, IEssCube.EEssCubeAccess minCubeAccess) throws com.essbase.api.base.EssException
appName
- The application name.desc
- the description for this new application.maxLroFileSize
- the maximum file size (in bytes) for Linked Reporting Objects (LRO) attachments.
Pass 0 for unlimited file size. There is no default. There is no minimum or maximum value,
excepting limitations imposed by your system resources.loadable
- if set to false
, prevents all users from loading (starting) the application.
Loadable is enabled by default. If set to true
, allows users to load (start)
the application. This only applies to users who have at least read privilege for the
application.autoLoad
- can be set to true
if you want the application to load automatically when
Analytic Server starts. By default, auto load is disabled.allowCommands
- if set to false
, prevents all requests to databases in the application,
including non-data-specific requests, such as viewing database information
or changing database settings. All users are affected, including other administrators.
Administrators are affected by this setting as a safety mechanism to prevent
accidental updates to databases during maintenance operations. This setting remains
in effect only for the duration of your session. The setting takes effect immediately,
and affects users who are currently logged in, as well as users who log in later during
your session. [Caution: If performing maintenance operations that require disabling
commands, you must make those maintenance operations within the same session].
By default, commands are enabled.allowConnects
- if set to false
, prevents any user with a permission lower than Application Managers
from making connections to the databases that require the databases to be
started. Database connections remain disabled for all databases in the application,
until the application setting is re-enabled by setting this to true
.
By default, connections are enabled.allowUpdates
- if set to false
, prevents all users (except Administrators) from making
requests to databases in the application. Use before performing update and
maintenance operations. The disable updates setting remains in effect only
for the duration of your session. [Caution: If performing maintenance operations that
require updates to be disabled, you must make those maintenance operations within the
same session]. This restriction does not include outline operations. To block metadata
updates, set the database to read-only mode, or disable commands and/or connects.
By default, updates are enabled.enableSecurity
- when security is disabled, OLAP server ignores all security settings in the
application and treats all users as Application Managers.
By default, security is enabled.lockTimeOutPeriod
- the time out period (in minutes).
This is the the maximum time interval that locks on data blocks can be held by
users. When a client data-block lock is held for more than the time out interval,
OLAP server removes the lock and the transaction is rolled back.
The default interval is 60 minutes. This setting affects all databases in the application.minCubeAccess
- the minimum cube access. This is to grant all users a minimum level of permission
to all databases in the application. Users with higher permissions than this specified
minimum are not affected.com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication createApplication(java.lang.String appName, short storageType) throws com.essbase.api.base.EssException
appName
- The application name.storageType
- The application storagetype - Only valid value in this version is 4
which creates an ASO (Aggregate Storage Option) type application.com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication createApplication(java.lang.String appName, short storageType, java.lang.String appType) throws com.essbase.api.base.EssException
appName
- The application name.storageType
- The application storagetype - Only valid value in this version
is 4 which creates an ASO (Aggregate Storage Option) type
application.appType
- The application type ("native" or "utf8").com.essbase.api.base.EssException
- if an error occurs.void convertApplicationToUnicode(java.lang.String appName) throws com.essbase.api.base.EssException
Note: If the application is already retrieved before using this API,
user has to call getApplication(String)
again to get the updated, valid
application handle.
appName
- The application name.com.essbase.api.base.EssException
- if an error occurs.IEssOlapApplication createShadowApplication(java.lang.String primaryAppName, java.lang.String shadowAppName, boolean hideShadow, int waitForOngoingUpdatesInSecs) throws com.essbase.api.base.EssException
This is especially useful because the outline restructure could take a very long time, depending on the size of the application. Instead of reporting users being blocked by the downtime due to restructure, a shadow solution helps them work on primary application while restructure is happening on this shadow application.
Note that a shadow application can be made as hidden copy of the primary application.
This means if you invoke getApplications()
, you will not see the shadow application in that list.
The parameter, waitForOngoingUpdatesInSecs allows to control how long the copying process can wait, if there are any ongoing write-operations on the cubes(s) of this application. For example, if there is a dataload in progress, the cloning process will fail. If you specified waitForOngoingUpdatesInSecs as 60, Essbase will wait upto one minute for dataload to complete before initiating cloning process. If dataload doesn't complete within this specified wait-interval, Essbase will not do the copy and fail indicating the same with an error; the dataload will continue.
primaryAppName
- Source application name which you intend to clone.shadowAppName
- Unique Destination or secondary application name which will be a copy of the source.hideShadow
- Specify true to hide the application, otherwise false.waitForOngoingUpdatesInSecs
- Waiting period (in seconds) for any active write-operations to complete.com.essbase.api.base.EssException
- in the event of failing to create the shadow application.getHiddenApplicationNames()
void setUnicodeEnabled(boolean enabled) throws com.essbase.api.base.EssException
enabled
- true to unicode enable the server.com.essbase.api.base.EssException
- if an error occurs.boolean isUnicodeEnabled() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssIterator getConnections() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssIterator getConnections(long sessionId, java.lang.String username, java.lang.String appname, java.lang.String cubeName) throws com.essbase.api.base.EssException
IEssOlapServer.IEssOlapConnectionInfo
and IEssOlapRequest
.
To retrieve all the session and request details, type cast the iterator elements to IEssOlapServer.IEssOlapConnectionInfo
and IEssOlapRequest
To retrieve just the session details type cast the iterator to IEssOlapServer.IEssOlapConnectionInfo
and to get the request details only type cast the iterator to
IEssOlapRequest
and call the desired methods to get the the particular details.
To retrieve all the sessions currently active pass the sessionId as -1 and null for all the rest three arguments. Example:
IEssIterator iterator = (IEssOlapConnectionInfo)olapSvr.getConnections(-1, null, null, null);
To retrieve the session information of a particular session id, pass the session id with other values as null. Example:
IEssIterator iterator = (IEssOlapConnectionInfo)olapSvr.getConnections(10332012, null, null, null);
To retrieve the sessions for a combination of userName, appName and cubeName pass the sessionId as -1 and the relevant userName, appName and cubeName for which the session details are required. Example:
IEssIterator iterator = (IEssOlapConnectionInfo)olapSvr.getConnections(-1, userName, appName, cubeName);
Note: If a valid sessionId is specified then all other arguments are ignored and the details of only that sessionId will be returned.
sessionId
- - The session id of the required session.username
- - The user name of the user to which the session belongs.appname
- - The application name top which the session is open.cubeName
- - The cube name to which the session is open.com.essbase.api.base.EssException
- if an error occurs.java.lang.String[] getActive() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void setActive(java.lang.String appName, java.lang.String cubeName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name.com.essbase.api.base.EssException
- if an error occurs.void clearActive() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.com.essbase.api.scripting.IEssPluggableEngine getActivePlugin() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.com.essbase.api.scripting.IEssPluggableEngine[] getPluggableEngines(java.lang.String string) throws com.essbase.api.base.EssException
string
- Instance of IEssOlapServer.com.essbase.api.base.EssException
- if an error occurs.com.essbase.api.datasource.SystemInfo getSystemInfo() throws com.essbase.api.base.EssException
SystemInfo
referencecom.essbase.api.base.EssException
- if an error occurs.void killPluggableEngines(com.essbase.api.scripting.IEssPluggableEngine[] engines) throws com.essbase.api.base.EssException
engines
- the list of engines to killcom.essbase.api.base.EssException
- if an error occurs.com.essbase.api.scripting.IEssPluggableEngine setActivePlugin(java.lang.String pluginName) throws com.essbase.api.base.EssException
pluginName
- Name of the plugin to be set.com.essbase.api.base.EssException
- if an error occurs.void clearActivePlugin() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void start() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void start(java.lang.String osUserName, java.lang.String osUserPassword, java.lang.String osDomainName) throws com.essbase.api.base.EssException
osUserName
- The OS user name on the destination host.osUserPassword
- The OS user password.osDomainName
- The OS domain name.com.essbase.api.base.EssException
- if an error occurs.void stop() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.int getLogSize(boolean agentLog, java.lang.String appName) throws com.essbase.api.base.EssException
agentLog
- If true, the size of the Agent log file (ESSBASE.LOG) is
returned. If false, the size of the Server log file (APPNAME.LOG) is
returned.appName
- The application name.com.essbase.api.base.EssException
- if an error occurs.void writeToLogFile(boolean agentLog, java.lang.String message) throws com.essbase.api.base.EssException
agentLog
- If true, message is written to the agent log file,
essbase.log. If false, message is written to the server log file,
appname.log. If false, make sure that an application is active by
invoking setActive(), before invoking this method.message
- The message to be logged to the agent log file
(essbase.log), or to the server log file (appname.log).com.essbase.api.base.EssException
- if an error occurs.void deleteLogFile() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssIterator getRequests(java.lang.String userName, java.lang.String appName, java.lang.String cubeName) throws com.essbase.api.base.EssException
userName
- The user name filter. If null, all users are considered.appName
- The application name filter. If null, all applications
are considered.cubeName
- The cube name filter. If null, all cubes are considered.com.essbase.api.base.EssException
- if an error occurs.IEssIterator getOlapFileObjects(java.lang.String appName, java.lang.String cubeName, int objType) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object types. Values from IEssOlapFileObject.TYPE_*.com.essbase.api.base.EssException
- if an error occurs.IEssOlapFileObject getOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.com.essbase.api.base.EssException
- if an error occurs.IEssOlapFileObject isOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName) throws com.essbase.api.base.EssException
appName
- The application name. This is not case-sensitive.cubeName
- The cube name. This is not case-sensitive. null to use application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name. This is case-sensitivecom.essbase.api.base.EssException
- if an error occurs.void copyOlapFileObjectFromServer(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName, java.lang.String clientFileName, boolean lock) throws com.essbase.api.base.EssException
copyOlapFileObjectFromServer("Sample", "Basic", IEssOlapFileObject.TYPE_TEXT,
"Act1", "C:/temp/act1.txt", false);
This operation is not allowed for combined Object Types
IEssOlapFileObject.TYPE_BACKUP, IEssOlapFileObject.TYPE_DATA,
IEssOlapFileObject.TYPE_WORKSHEET and IEssOlapFileObject.TYPE_ALLappName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.clientFileName
- The full path of destination file in the client.lock
- Flag to control object locking. If true, the server object
is locked to prevent updates by other users.com.essbase.api.base.EssException
- if an error occurs.void copyOlapFileObjectFromServer(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName, java.io.OutputStream out, boolean lock) throws com.essbase.api.base.EssException
copyOlapFileObjectFromServer("Sample", "Basic", IEssOlapFileObject.TYPE_TEXT,
"Act1", fileOutputStream, false);
This operation is not allowed for combined Object Types
IEssOlapFileObject.TYPE_BACKUP, IEssOlapFileObject.TYPE_DATA,
IEssOlapFileObject.TYPE_WORKSHEET and IEssOlapFileObject.TYPE_ALLappName
- appName The application name.cubeName
- cubeName The cube name. null to use the application directory.objType
- objType The object type. Value from IEssOlapFileObject.TYPE_*.objName
- objName The object name.out
- The output stream to which the file has to be written. This should not be null.lock
- lock Flag to control object locking. If true, the server object
is locked to prevent updates by other users.com.essbase.api.base.EssException
- if an error occurs.void copyOlapFileObjectToServer(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName, java.lang.String clientFileName, boolean unlock) throws com.essbase.api.base.EssException
copyOlapFileObjectToServer("Sample", "Basic", IEssOlapFileObject.TYPE_TEXT,
"Test", "C:/temp/test.txt", false);
This operation is not allowed for combined Object Types
IEssOlapFileObject.TYPE_BACKUP, IEssOlapFileObject.TYPE_DATA,
IEssOlapFileObject.TYPE_WORKSHEET and IEssOlapFileObject.TYPE_ALLappName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.clientFileName
- The full path of source file in the client.unlock
- Flag to control object locking. If true, the server object
is unlocked to allow updates by other users.com.essbase.api.base.EssException
- if an error occurs.void copyOlapFileObjectToServer(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName, java.io.InputStream in, boolean unlock, long totalLength) throws com.essbase.api.base.EssException
copyOlapFileObjectToServer("Sample", "Basic", IEssOlapFileObject.TYPE_TEXT,
"Test", fileInputStream, false);
This operation is not allowed for combined Object Types
IEssOlapFileObject.TYPE_BACKUP, IEssOlapFileObject.TYPE_DATA,
IEssOlapFileObject.TYPE_WORKSHEET and IEssOlapFileObject.TYPE_ALLappName
- The application name.cubeName
- cubeName The cube name. null to use the application directory.objType
- objType The object type. Value from IEssOlapFileObject.TYPE_*.objName
- objName The object name.in
- the input stream to from which the file has be read. This should not be null.unlock
- unlock Flag to control object locking. If true, the server object
is unlocked to allow updates by other users.totalLength
- Total length of the file object.com.essbase.api.base.EssException
- if an error occurs.void lockOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.com.essbase.api.base.EssException
- if an error occurs.void unlockOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.com.essbase.api.base.EssException
- if an error occurs.void createOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.com.essbase.api.base.EssException
- if an error occurs.void deleteOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.com.essbase.api.base.EssException
- if an error occurs.void renameOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName, java.lang.String newObjName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The current object name.newObjName
- The new object name.com.essbase.api.base.EssException
- if an error occurs.void copyOlapFileObject(java.lang.String appName, java.lang.String cubeName, int objType, java.lang.String objName, java.lang.String destAppName, java.lang.String destCubeName, java.lang.String destObjName) throws com.essbase.api.base.EssException
appName
- The application name.cubeName
- The cube name. null to use the application directory.objType
- The object type. Value from IEssOlapFileObject.TYPE_*.objName
- The object name.destAppName
- The destination application name.destCubeName
- The destination cube name.destObjName
- The destination object name.com.essbase.api.base.EssException
- if an error occurs.void killLastRequest() throws com.essbase.api.base.EssException
killOwnRequest()
com.essbase.api.base.EssException
- if an error occurs.void killOwnRequest() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void delete() throws com.essbase.api.base.EssException
delete
in interface IEssServer
com.essbase.api.base.EssException
- if an error occurs.void changeOlapPassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword) throws com.essbase.api.base.EssException
userName
- The userName whose password has to change.oldPassword
- The old password of the user.newPassword
- The new password to be set.com.essbase.api.base.EssException
- if an error occurs.long getLoginId() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.java.lang.String getLocale() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void syncUser(java.lang.String user) throws com.essbase.api.base.EssException
user
- - String, the user/group name to be synchronized.com.essbase.api.base.EssException
- if an error occurs.void syncUsers() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void syncGroups() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.void syncUsersAndGroupsWithApp(IEssOlapApplication application) throws com.essbase.api.base.EssException
application
- - IEssOlapApplication, the application to sync withcom.essbase.api.base.EssException
- if an error occurs.void resyncSSSecurity() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssOlapGroup createOlapGroup(java.lang.String groupName) throws com.essbase.api.base.EssException
The specified group must not already exist. his method requires the caller to have Create/Delete User privilege (ESS_PRIV_USERCREATE) for the logged in server.
groupName
- name of the group to be createdcom.essbase.api.base.EssException
- if an error occurs.void createCDF(java.lang.String name, java.lang.String javaSpec, int options, java.lang.String spec, java.lang.String comment) throws com.essbase.api.base.EssException
name
- Function namejavaSpec
- Java Specificationoptions
- An option must be one of possible values of IEssOlapServer.ESS_UDF_FUNCTION_*spec
- Function specificationcomment
- Description for this function.com.essbase.api.base.EssException
- if an error occurs.void deleteCDF(java.lang.String name) throws com.essbase.api.base.EssException
name
- Function that has to be deleted.com.essbase.api.base.EssException
- if an error occurs.void createCDM(java.lang.String name, java.lang.String definition, java.lang.String signature, java.lang.String spec, java.lang.String comment) throws com.essbase.api.base.EssException
name
- Macro namedefinition
- Macro definitionsignature
- Signature for this macro.spec
- Specification for this macro.comment
- Description for this macro.com.essbase.api.base.EssException
- if an error occurs.void deleteCDM(java.lang.String name) throws com.essbase.api.base.EssException
name
- Macro that has to be deleted.com.essbase.api.base.EssException
- if an error occurs.java.lang.String[][] getCDM_CDF() throws com.essbase.api.base.EssException
The result will consist of 'n' x 5 elements where
'n' represents the total number of custom functions and custom macros.
For any 'x' value ranging from 0 to n-1,
Result [x][0] represents the Name
Result [x][1] represents the Specification
Result [x][2] represents the Comment
Result [x][3] represents the Type either a value "cdf" or "cdm"
Result [x][4] represents the Scope which is will be "global"
com.essbase.api.base.EssException
- if an error occurs.void setMessageHandler(IEssCustomMessageHandler handler) throws com.essbase.api.base.EssException
getMessageHandler()
API to retrieve the latest state of the handler.
The CustomMessageHandler should also be exposed to the APS server in 3tier mode.handler
- Custom message handler.com.essbase.api.base.EssException
- if an error occurs.IEssCustomMessageHandler getMessageHandler() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.setMessageHandler(IEssCustomMessageHandler)
void reRegisterAllApplications() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.IEssMaxlSession openMaxlSession(java.lang.String MaxlSessionName) throws com.essbase.api.base.EssException
IEssMaxlSession.close()
the session
after usage is complete. The session instance can be used to execute multiple
Maxl statements sequencially using the same handle.MaxlSessionName
- - a name to the session.com.essbase.api.base.EssException
- if an error occurs.java.lang.String[] listSchemas() throws com.essbase.api.base.EssException
This method is supported against Essbase version 11.1.2.3
com.essbase.api.base.EssException
- on failure to retrieve schemas.void moveApplication(java.lang.String sourceAppName, java.lang.String destAppName, boolean overwriteIfExists, int timeoutToForceUnloadApp) throws com.essbase.api.base.EssException
If the destination application already exists and you want to overwrite, set the overwriteIfExists as true. One can imagine this move operation to be moving of the Essbase application directory from source location to destination, at a file system level. Accordingly, Essbase has to unload both applications, if they are running before doing this move. At the time of unloading, if the destination application is seen servicing any on-going operations like any queries, then Essbase will terminate those operations and try to unload the application. In case a graceful unload fails or takes longer, then, the the input argument, timeoutToForceUnloadApp (unit is in seconds) will decide to forcefully terminate the application. Example, if one specifies 60 seconds and in the event of killing ongoing requests and graceful unload application operation doesn't complete within one minute, Essbase will trigger forceful termination after one minute. After which, Essbase will be able to perform the move operation.
This move operation is supported on all kinds of applications like Aggregate, Block and Hybrid storage applications.
Note when moving an existing application, only the application and cube artifacts like meta-data and data are replaced from the source to destination. All security layer associations on the destination application like users, groups and security filters are retained and that of source will be lost. All partitions associated with the destination application are also retained and anything such on source will be lost during the move.
Example, if users "x" and "y" had read-access to App1, then, after moving say App2 as App1, both "x" and "y" will be able to access App1. If App2 was associated with user called "z", then after move, "z" wont be able to access App1.
In the case of overwriting an existing application, the number of cubes and the cube names have to match between both the applications. Otherwise, move is not allowed and it will fail with an error, leaving both the applications as it was.
Example, ASOAppNew/cubeNew cannot be replaced as ASO/cube. ASOAppNew/cube can be replaced as ASO/cube.
Tips: Anyone using this need not necessarily unload or stop the application, prior to calling this move API, because Essbase will load the application to gather information and then, unload when it going to move the applications. In other words, if the application is already running, one can decide to avoid calling unload as a pre-requisite.
sourceAppName
- Name of the application to be moved.destAppName
- Name of application to be moved as.overwriteIfExists
- If true, replaces the existing application.timeoutToForceUnloadApp
- Time interval (in seconds), to force unload in the event of applications performing an ongoing requests even after time interval.com.essbase.api.base.EssException
- if it fails to move the cube to destination application.void promoteShadowApplication(java.lang.String shadowAppName, java.lang.String baseAppName, int timeoutToForceUnloadApp) throws com.essbase.api.base.EssException
One can imagine this operation to be moving of the Essbase application directory from source location to destination, at a file system level. Accordingly, Essbase has to unload both applications, if they are running before doing this promote. At the time of unloading, if the destination application is seen servicing any on-going operations like any queries, then Essbase will terminate those operations and try to unload the application. In case a graceful unload fails or takes longer, then, the the input argument, timeoutToForceUnloadApp (unit is in seconds) will decide to forcefully terminate the application. Example, if one specifies 60 seconds and in the event of killing ongoing requests and graceful unload application operation doesn't complete within one minute, Essbase will trigger forceful termination after one minute. After which, Essbase will be able to perform the promote operation.
This promotion operation is supported on all kinds of applications like Aggregate, Block and Hybrid storage applications.
Note when moving an existing application, only the application and cube artifacts like meta-data and data are replaced from the source to destination. All security layer associations on the destination application like users, groups and security filters are retained and that of source will be lost. All partitions associated with the destination application are also retained and anything such on source will be lost during the promote.
Example, if users "x" and "y" had read-access to App1, then, after moving say App2 as App1, both "x" and "y" will be able to access App1. If App2 was associated with user called "z", then after promote, "z" wont be able to access App1.
Please note the promotion from shadowed application to base is honored, only if there are no changes to the number of cubes and cube names. In other words, for example, if a cube gets renamed or if there is any addition or deletion of an application after it was shadowed, then, promotion of such an application will not be supported. In such a case, this will fail with an error, leaving both the applications as it was.
Example, ASOAppNew/cubeNew cannot be replaced as ASO/cube. ASOAppNew/cube can be replaced as ASO/cube.
Tips: Anyone using this need not necessarily unload or stop the application, prior to calling this promote API, because Essbase will load the application to gather information and then, unload when it going to promote the applications. In other words, if the application is already running, one can decide to avoid calling unload as a pre-requisite.
shadowAppName
- Name of the hidden shadowed application that has to be promoted to base.baseAppName
- Name of the primary application.timeoutToForceUnloadApp
- Time interval (in seconds), to force unload in the event of applications performing an ongoing requests even after time interval.com.essbase.api.base.EssException
- if it fails to promote the cube to destination application.void dropShadowApplication(java.lang.String shadowAppName) throws com.essbase.api.base.EssException
Note the shadow application can also be deleted using the regular
#IEssOlapApplication.delete()
. The only difference is that if the
shadow application is corrupted or has any locks, then it wont be able to
drop the application. So, this API guarantees a forceful deletion of the application.
This API is more of a equivalent of MAXL statement "drop application APP_NAME cascade force"
shadowAppName
- Name of the shadowed application that has to be cleaned up.com.essbase.api.base.EssException
- if it fails to delete the application.java.lang.String[] getHiddenApplicationNames() throws com.essbase.api.base.EssException
Hidden applications can be created using IEssOlapApplication.copy(String, boolean)
.
Once created these are not visible by anyone who uses the standard getApplications()
.
com.essbase.api.base.EssException
- on failure to fetch the hidden application list.IEssOlapApplication.copy(String, boolean)
java.lang.String[] getAllApplicationNames() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- on failure to fetch the application list.getHiddenApplicationNames()
java.lang.String[] getRegularApplicationNames() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- on failure to fetch the regular application list.getAllApplicationNames()
void setIgnoreCellProperties(boolean ignoreCellProperties) throws com.essbase.api.base.EssException
ignoreCellProperties
- true if cell properties are set to be ignored.com.essbase.api.base.EssException
- if an error occurs.boolean getIgnoreCellProperties() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.setIgnoreCellProperties(boolean)
void setConnectionParameter(java.lang.String appName, java.lang.String dbName, java.lang.String name, java.lang.String value) throws com.essbase.api.base.EssException
appName
- - application namedbName
- - database namename
- - the name of the parametervalue
- - the value of the parametercom.essbase.api.base.EssException
- if an error occurs.java.lang.String getAllConnectionsParameters(java.lang.String appName, java.lang.String dbName) throws com.essbase.api.base.EssException
appName
- - application namedbName
- - database namecom.essbase.api.base.EssException
- if an error occurs.@Deprecated java.util.Map<java.lang.String,java.lang.String> getEssbaseConfigValues() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occursjava.util.Map<java.lang.String,java.util.List<java.lang.String>> getEssbaseConfigValuesEx() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occursvoid setTimeoutParameters(int netRetryCount, boolean tryInfinite) throws com.essbase.api.base.EssException
netRetryCount
- - netRetryCount valuetryInfinite
- - tryInfinite valuecom.essbase.api.base.EssException
- if an error occurs.void resetTimeoutParameters() throws com.essbase.api.base.EssException
com.essbase.api.base.EssException
- if an error occurs.