|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.essbase.defs.EssbaseObjectsConstants
com.essbase.eas.essbase.api.jni.EssCoreJni
public final class EssCoreJni
This class defines the JNI wrapper to the core API.
Notes:
CoreFactory| Field Summary |
|---|
| Fields inherited from class com.essbase.eas.essbase.defs.EssbaseObjectsConstants |
|---|
FILETYPE_DATA, FILETYPE_INDEX, MAXIMUM_VALUE, MINIMUM_VALUE, OBJTYPE_ALIAS, OBJTYPE_ALL, OBJTYPE_ASCBACKUP, OBJTYPE_BACKUP, OBJTYPE_BINBACKUP, OBJTYPE_CALCSCRIPT, OBJTYPE_CONFIG, OBJTYPE_DATA, OBJTYPE_EQD, OBJTYPE_EXCEL, OBJTYPE_LOTUS2, OBJTYPE_LOTUS3, OBJTYPE_LOTUS4, OBJTYPE_LRO, OBJTYPE_MAX, OBJTYPE_NONE, OBJTYPE_OPG, OBJTYPE_OUTLINE, OBJTYPE_PARTITION, OBJTYPE_REPORT, OBJTYPE_RULES, OBJTYPE_SELECTION, OBJTYPE_STRUCTURE, OBJTYPE_TEXT, OBJTYPE_WIZARD, OBJTYPE_WORKSHEET |
| Method Summary | |
|---|---|
static int |
addToGroup(ContextHandle handle, java.lang.String groupname, java.lang.String username)wraps the core AddToGroup() API |
static int |
calcScriptVerify(ContextHandle handle, java.lang.String calcScript)wraps the core CalcScriptVerify() API |
static int |
calcScriptVerifyFile(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String calcScript)wraps the core CalcScriptVerify() API |
static int |
clearDatabase(ContextHandle handle)wraps the core ClearDatabase() API |
static int |
copyObject(ContextHandle handle, int objType, java.lang.String srcApp, java.lang.String destApp, java.lang.String srcDb, java.lang.String destDb, java.lang.String srcObj, java.lang.String destObj)wraps the core copyObject() API |
static int |
createApplication(ContextHandle handle, java.lang.String name)wraps the core CreateApplication() API |
static int |
createDatabase(ContextHandle handle, java.lang.String appName, java.lang.String dbName, boolean bCurrency)wraps the core CreateDatabase() API |
static int |
createDatabaseEx(ContextHandle handle, java.lang.String appName, java.lang.String dbName, boolean bCurrency, boolean bNonUnique)Wraps the CreateDatabaseEx() API |
static int |
createExternalUser(ContextHandle handle, java.lang.String userName, java.lang.String password, java.lang.String protocol, java.lang.String connParameter, short domainAccess)wraps the createExternalUser() API |
static int |
createLocalContext(InstanceHandle instance, ContextHandle context)creates a local API context for use in local API operations |
static int |
createStorageTypedApplication(ContextHandle handle, java.lang.String name, short type)wraps the core CreateStorageTypedApplication() API |
static int |
createUserKey(ContextHandle handle, java.lang.String username, UserKey userKey)wraps the unpublished CreateUserWithKey() API |
static int |
deleteApplication(ContextHandle handle, java.lang.String name)wraps the core DeleteApplication() API |
static int |
deleteDatabase(ContextHandle handle, java.lang.String appName, java.lang.String dbName)wraps the core DeleteDatabase() API |
static int |
deleteFromGroup(ContextHandle handle, java.lang.String groupname, java.lang.String username)wraps the core DeleteFromGroup() API |
static int |
deleteLocalContext(ContextHandle context) |
static int |
deleteObject(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String objName)wraps the core deleteObject() API |
protected void |
finalize() |
static int |
getActive(ContextHandle context, java.lang.StringBuffer appName, java.lang.StringBuffer dbName, BitField access)wraps the core GetActive() API |
static int |
getAlias(ContextHandle handle, java.lang.StringBuffer aliasName)wraps the core GetAlias() API |
static int |
getAllowedStorageTypes(ContextHandle handle, ServerStorageTypesInfo types)wraps the EssGetAllowedStorageTypes() API |
int |
getAPIVersion(Version version)retrieves the version number of the functional API being used. |
static int |
getApplicationAccess(ContextHandle handle, java.lang.String userName, java.lang.String appName, java.util.ArrayList userAppList)wraps the core GetApplicationAccess() API |
static int |
getApplicationAccessEx(ContextHandle handle, java.lang.String userName, java.lang.String appName, java.util.ArrayList userAppList, boolean usingIdentity, boolean isUser) |
static int |
getApplicationAccessEx(EssSession session, java.lang.String userName, java.lang.String appName, java.util.ArrayList userAppList, boolean isUser) |
static int |
getApplicationFrontEndAppType(ContextHandle handle, java.lang.String appName, AppFrontEndType frontEndAppType) |
static int |
getApplicationID(ContextHandle handle, java.lang.String appName, java.lang.StringBuffer appID) |
static int |
getApplicationInfoEx(ContextHandle handle, java.lang.String name, ApplicationInfoEx info)wraps the core GetApplicationInfoEx() API |
static int |
getApplicationState(ContextHandle handle, java.lang.String name, ApplicationState state)wraps the core GetApplicationState() API |
static int |
getCalcList(ContextHandle handle, UserCalcList userCalc)wraps the core GetCalcList() API |
static int |
getConfigValues(ContextHandle handle, GlobalInfo globalInfo)wraps the unpublished GetConfigValues API |
static EssCoreJni |
getCoreJni() |
static int |
getDatabaseAccess(ContextHandle handle, java.lang.String userName, java.lang.String appName, java.lang.String dbName, java.util.ArrayList userDbList)wraps the core GetDatabaseAccess() API |
static int |
getDatabaseAccessEx(ContextHandle handle, java.lang.String userName, java.lang.String appName, java.lang.String dbName, java.util.ArrayList userDbList, boolean usingIdentity, boolean isUser) |
static int |
getDatabaseAccessEx(EssSession session, java.lang.String userName, java.lang.String appName, java.lang.String dbName, java.util.ArrayList userDbList, boolean isUser) |
static int |
getDatabaseInfo(ContextHandle handle, java.lang.String appName, java.lang.String dbName, DatabaseProperties dbProps)wraps the core GetDatabaseInfo() API |
static int |
getDatabaseNote(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.StringBuffer dbNote)wraps the core GetDatabaseNote() API |
static int |
getDatabaseState(ContextHandle handle, java.lang.String appName, java.lang.String dbName, DatabaseState state)wraps the core GetDatabaseState() API |
static int |
getDatabaseStats(ContextHandle handle, java.lang.String appName, java.lang.String dbName, DatabaseStats stats, java.util.List dimensions)wraps the core GetDatabaseStats() API |
static int |
getDatabaseStatus(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.util.List statusList)wraps the core getDatabaseStatus() API |
static int |
getDefaultCalc(ContextHandle handle, java.lang.StringBuffer calcScript)wraps the core GetDefaultCalc() API |
static int |
getExternalUser(ContextHandle handle, java.lang.String userName, UserProperties userProp)wraps the core getExternalUser() API |
static int |
getFilterList(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String filterName, java.util.ArrayList userList)wraps the core GetFilterList() API |
static int |
getGlobalState(ContextHandle handle, ServerGlobalState state)wraps the core GetGlobalState() API |
static int |
getGroup(ContextHandle handle, java.lang.String groupName, GroupProperties groupProp)wraps the core GetGroup() API |
static int |
getGroupEx(EssSession session, java.lang.String groupName, GroupProperties groupProp) |
static int |
getGroupInfoEx(ContextHandle handle, java.lang.String groupName, GroupProperties groupProp)wraps the core GetGroup() API |
static int |
getGroupList(ContextHandle handle, java.lang.String groupName, java.util.List userList)wraps the core GetGroupList() API |
static int |
getGroupListEx(ContextHandle handle, java.lang.String groupName, java.util.List userList, boolean usingIdentity, boolean isUser) |
static int |
getGroupListEx(EssSession session, java.lang.String groupName, java.util.List userList, boolean isUser) |
InstanceHandle |
getInstanceHandle()returns the instance handle associated with this invocation of the Essbase API. |
static int |
getLicenseInfo(ContextHandle handle, LicenseInfo licenseInfo, java.lang.String serverName)wraps the unpublished GetLicenseInfo() API |
static int |
getLockInfo(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.util.ArrayList lockArrayList)wraps the core EssListLocks() API |
static int |
getLogFile(ContextHandle handle, java.lang.String appName, long dateStamp, java.lang.String localFile)wraps the core GetLogFile() API |
static long |
getLogFileFromOffset(ContextHandle handle, java.lang.String appName, long offset, java.lang.String localFile)wraps the core GetLogFile() API |
static int |
getObject(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String localName, boolean lock)wraps the core getObject() API |
static int |
getObjectInfo(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String objName, NamedObjectInfo objInfo)wraps the EssGetObjectInfo() API Gets information about a specified Essbase file object. |
static int |
getOSResources(ContextHandle handle, SystemInfo systemInfo)wraps the unpublished GetOSResources API |
static int |
getOutputString(ContextHandle handle, java.lang.StringBuffer output)wraps the core EssGetString() API for retrieving report script output and EssQueryDatabaseMembers calls. |
static int |
getReport(ContextHandle handle, java.lang.Object output)calls EssGetString() API till the entire report is fetched for retrieving report script output and EssQueryDatabaseMembers calls. |
static int |
getServerLocaleString(ContextHandle handle, java.lang.StringBuffer localeBuffer) |
static int |
getSMStats(ContextHandle handle, java.lang.String appName, java.lang.String dbName, TimeRecord resetTime, java.util.ArrayList runTimeVals)wraps the unpublished GetSMStats() API |
static int |
getSpoolFile(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String spoolName, java.lang.String targetFile)wraps the EssGetSpoolFile() API |
static int |
getUser(ContextHandle handle, java.lang.String userName, UsrGrpProperties userProps)wraps the core GetUser() API |
static int |
getUserEx(EssSession session, java.lang.String userName, UserProperties userProps) |
static int |
getUserInfoEx(ContextHandle handle, java.lang.String userName, UserProperties userProp)wraps the core getUserUserInfoEx() API |
static int |
getUserKey(ContextHandle handle, java.lang.String username, UserKey userKey)wraps the unpublished GetUserKey() API |
static int |
getVersion(ContextHandle handle, Version version)wraps the core GetVersion() API. |
static boolean |
hasAppManOption(ContextHandle handle)wraps for private API eSSGetClientSettings Checks to see if the application manager is allowed to run |
boolean |
initialize(short maxHandles)Sets up the EssCoreJni for usage. |
static boolean |
isDatabaseLocked(ContextHandle handle, java.lang.String appName, java.lang.String dbName) |
static boolean |
isSubsetCodepage(ContextHandle handle, java.lang.String locale1, java.lang.String locale2)Is codepage for locale 1 a subset of locale 2 |
static boolean |
isValidContext(ContextHandle handle)wraps for public API EssValidateHCtx() Checks to see if the Essbase context handle is valid |
static int |
listAliases(ContextHandle handle, java.util.List aliasList)wraps the core ListAliases() API |
static int |
listApplications(ContextHandle handle, java.util.List names)wraps the core ListApplications() API |
static int |
listDatabases(ContextHandle handle, java.lang.String appName, java.util.List names)wrapts the core ListDatabases() API |
static int |
listDbFiles(ContextHandle handle, java.lang.String appName, java.lang.String dbName, short fileType, java.util.List dbFileInfos)wraps the core ListDbFiles() API |
static int |
listFilters(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.util.List names)wrapts the core ListFilters() API |
static int |
listGroups(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.util.List userList)wraps the core ListGroups() API |
static int |
listGroupsEx(EssSession session, java.lang.String appName, java.lang.String dbName, int count, java.util.List userList) |
static int |
listGroupsInfoEx(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.util.List userList)wraps the core ListGroupsInfoEx() API |
static int |
listObjects(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.util.List names)wraps the core ListObjects() API |
static int |
listObjectsInfo(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.util.ArrayList objList)wraps the EssListObjects() API Returns a list of Essbase file object information. |
static int |
listUserGroupsForAppInHSSMode(ContextHandle handle, java.lang.String appName, java.util.List userList, java.util.List grpList) |
static int |
listUserGroupsForAppInHSSModeEx(ContextHandle handle, java.lang.String appName, java.util.List userList, java.util.List grpList, boolean usingIdentity) |
static int |
listUserGroupsForAppInHSSModeEx(EssSession session, java.lang.String appName, java.util.List userList, java.util.List grpList) |
static int |
listUsers(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.util.List userList)wraps the core ListUsers() API |
static int |
listUsersEx(EssSession session, java.lang.String appName, java.lang.String dbName, int count, java.util.List userList, boolean skipAccessType) |
static int |
listUsersFile(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.lang.String userList)wraps the core ListUsers() API |
static int |
listUsersFileEx(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.lang.String userList, boolean skipAccessType)wraps the core ListUsers() API |
static int |
listUsersFileEx(EssSession session, java.lang.String appName, java.lang.String dbName, int count, java.lang.String userList, boolean skipAccessType) |
static int |
listUsersInfoEx(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.util.List userList, boolean skipAccessType)wraps the core ListUsersInfoEx() API |
static int |
listUsersInfoFileEx(ContextHandle handle, java.lang.String appName, java.lang.String dbName, int count, java.lang.String userList, boolean skipAccessType)wraps the core ListUsersInfoEx() API |
static int |
loadApplication(ContextHandle handle, java.lang.String name)wraps the core LoadApplication() API |
static int |
loadDatabase(ContextHandle handle, java.lang.String appName, java.lang.String dbName)wraps the core LoadDatabase() API |
static int |
lockObject(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String name)wraps the core LockObject() API |
static int |
login(InstanceHandle instance, java.lang.String server, java.lang.String user, java.lang.String password, ContextHandle context)creates a login connection to an Essbase server. |
static int |
loginEx(InstanceHandle instance, java.lang.String server, java.lang.String token, ContextHandle context)use external authentication to create an login connection to an Essbase server. |
static int |
loginSetPassword(InstanceHandle hInstance, java.lang.String Server, java.lang.String UserName, java.lang.String Password, java.lang.String NewPassword, int pDbCount, java.util.List ppDbList, ContextHandle phCtx)wraps the core LoginSetPassword() API |
int |
logout(ContextHandle context) |
static int |
logout(long handle)disconnects from an Essbase server. |
static int |
logSize(ContextHandle handle, boolean isAppLog, java.lang.String appName, FileInfo fileInfo)wraps the core LogSize() API |
static int |
lroDeleteObject(ContextHandle handle, LroHandle lHandle)wraps the EssLRODeleteObject() API |
static int |
lroGetObject(ContextHandle handle, LroHandle lHandle, java.lang.String targetFile, short option, LroInfo lro)wraps the EssLROGetObject() API |
static int |
lroListObjects(ContextHandle handle, java.lang.String userName, long date, java.util.ArrayList lroList)wraps the EssLROListObjects() API |
static int |
lroPurgeObjects(ContextHandle handle, java.lang.String userName, long date)wraps the EssLROPurgeObjects() API |
static int |
lroUpdateObject(ContextHandle handle, LroHandle lHandle, short option, LroInfo lro)wraps the EssLROUpdateObject() API |
static void |
main(java.lang.String[] args)driver for independently testing EssCoreJni API calls |
static int |
putObject(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String localName, boolean unlock)wraps the core putObject() API |
static int |
putOutlineObject(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String localName, boolean unlock)wrapper around a variety of APIs to handle uploading an outline Note: This in not appropriate here, but it is a quick method to get this done as a full fledged outline API will not be used anytime soon. |
static int |
registerEventServer(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String url, java.lang.String user, java.lang.String password, boolean registerServer) |
boolean |
release()releases this instance of the EssCoreJni connection to Essbase. |
static int |
removeLock(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String loginId)wraps the core EssRemoveLocks() API |
static int |
renameApplication(ContextHandle handle, java.lang.String oldName, java.lang.String newName)wraps the core RenameApplication() API |
static int |
renameDatabase(ContextHandle handle, java.lang.String appName, java.lang.String oldName, java.lang.String newName)wraps the core RenameDatabase() API |
static int |
renameFilter(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String oldName, java.lang.String newName)wraps the core RenameFilter() API |
static int |
renameObject(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String oldName, java.lang.String newName)wraps the core renameObject() API |
static int |
reportScriptExecute(ContextHandle handle, java.lang.String reportScript)wraps the core EssReport() API for execution |
static int |
reportScriptExecuteFile(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String reportScript)wraps the core EssReport() API for execution |
static int |
reportScriptVerify(ContextHandle handle, java.lang.String reportScript)wraps the core EssReport() API |
static int |
reportScriptVerifyFile(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String reportScript)wraps the core EssReport() API |
static int |
setActive(ContextHandle handle, java.lang.String appName, java.lang.String dbName, BitField access)wraps the core SetActive() API |
static int |
setAlias(ContextHandle handle, java.lang.String aliasName)wraps the core SetAlias() API |
static int |
setApplicationAccess(ContextHandle handle, java.util.ArrayList userAppList)wraps the core SetApplicationAccess() API |
static int |
setApplicationAccessEx(ContextHandle handle, java.util.ArrayList userAppList) |
static int |
setApplicationAccessEx(EssSession session, java.util.ArrayList userAppList) |
static int |
setApplicationState(ContextHandle handle, java.lang.String name, ApplicationState state)wraps the core SetApplicationState() API |
static int |
setCalcList(ContextHandle handle, UserCalcList userCalc)wraps the core SetCalcList() API |
static int |
setDatabaseAccess(ContextHandle handle, java.util.ArrayList userDbList)wraps the core SetDatabaseAccess() API |
static int |
setDatabaseAccessEx(ContextHandle handle, java.util.ArrayList userDbList) |
static int |
setDatabaseAccessEx(EssSession session, java.util.ArrayList userDbList) |
static int |
setDatabaseNote(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String dbNote)wraps the core SetDatabaseNote() API |
static int |
setDatabaseState(ContextHandle handle, java.lang.String appName, java.lang.String dbName, DatabaseState state)wraps the core SetDatabaseState() API |
static int |
setDefaultCalc(ContextHandle handle, java.lang.String calcScript)wraps the core SetDefaultCalc() API |
static int |
setDefaultCalcFile(ContextHandle destHandle, ContextHandle srcHandle, java.lang.String appName, java.lang.String dbName, java.lang.String fileName)wraps the core SetDefaultCalcFile() API |
static int |
setExternalUser(ContextHandle handle, short type, java.lang.String userName, java.lang.String password, java.lang.String protocol, java.lang.String connParameter, short domainAccess)wraps the core setExternalUser() API |
static int |
setFilterList(ContextHandle handle, java.lang.String appName, java.lang.String dbName, java.lang.String filterName, java.util.ArrayList userList)wraps the core SetFilterList() API |
static int |
setFiltersInCASMode(ContextHandle handle, java.util.ArrayList userDbList)wraps the core SetDatabaseAccess() API |
static int |
setGlobalState(ContextHandle handle, ServerGlobalState state)wraps the core SetGlobalState() API |
static int |
setGroup(ContextHandle handle, GroupProperties groupProp)wraps the core SetGroup() API |
static int |
setGroupList(ContextHandle handle, java.lang.String groupName, java.util.List userList)wraps the core SetGroupList() API |
static int |
setGroupListEx(ContextHandle handle, java.lang.String groupName, java.util.List userList, boolean usingIdentity, boolean isUser) |
static int |
setGroupListEx(EssSession session, java.lang.String groupName, java.util.List userList, boolean isUser) |
static int |
setPassword(ContextHandle handle, java.lang.String userName, java.lang.String password)wraps the core SetPassword() API |
static int |
setUser(ContextHandle handle, UsrGrpProperties userProps)wraps the core SetUser() API |
static int |
setUserKey(ContextHandle handle, java.lang.String username, UserKey userKey)wraps the unpublished SetUserKey() API |
static int |
setUserType(ContextHandle handle, java.lang.String userName, short domainAccess) |
static int |
shutdownServer(InstanceHandle handle, java.lang.String server, java.lang.String user, java.lang.String password) |
static int |
unloadApplication(ContextHandle handle, java.lang.String name)wraps the core UnloadApplication() API |
static int |
unloadDatabase(ContextHandle handle, java.lang.String appName, java.lang.String dbName)wraps the core UnloadDatabase() API |
static int |
unlockObject(ContextHandle handle, int objType, java.lang.String appName, java.lang.String dbName, java.lang.String name)wraps the core UnlockObject() API |
static int |
updateEventServerFile(ContextHandle handle, java.lang.String url, java.lang.String user, java.lang.String password) |
static int |
verifyFilter(ContextHandle handle, java.lang.String appName, java.lang.String dbName)wraps the EssVerifyFilter () API Follow a call to this function with subsequent calls to verifyFilterRows() |
static int |
verifyFilterRows(ContextHandle handle, java.lang.String rowText)wraps the EssVerifyFilterRows() API Call verifyFilterRows() for each row of the filter to be verified. |
static int |
verifyFormula(ContextHandle context, java.lang.String formula)wraps the EssVerifyFormula() API Verifies the syntax of a formula |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static EssCoreJni getCoreJni()
public int getAPIVersion(Version version)
public static int login(InstanceHandle instance,
java.lang.String server,
java.lang.String user,
java.lang.String password,
ContextHandle context)
public static int loginEx(InstanceHandle instance,
java.lang.String server,
java.lang.String token,
ContextHandle context)
public static int logout(long handle)
public int logout(ContextHandle context)
public static int loginSetPassword(InstanceHandle hInstance,
java.lang.String Server,
java.lang.String UserName,
java.lang.String Password,
java.lang.String NewPassword,
int pDbCount,
java.util.List ppDbList,
ContextHandle phCtx)
hInstance - - Essbase API instance handle .Server - - Network server name .Password - - Old Password.NewPassword - - New Password.pDbCount - - Number of accessible databasesppDbList - - Address of the pointer to an array of accessible application-database structuresphCtx - - Pointer to the Essbase context handle
public static int getActive(ContextHandle context,
java.lang.StringBuffer appName,
java.lang.StringBuffer dbName,
BitField access)
context - - context handle to be used.appName - - the active application name is returned here.dbName - - the active database name is returned here.access - - this user's access privileges are returned here.
public static int setActive(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
BitField access)
context - - context handle to be usedappName - - application to set as activedbName - - database to set as activeaccess - - this user's acces privileges are returned here.
public static int getGlobalState(ContextHandle handle,
ServerGlobalState state)
context - - context handle to be used.state - - a GlobalState object to place the results in.
public static int setGlobalState(ContextHandle handle,
ServerGlobalState state)
context - - context handle to be used.state - - a GlobalState object to place the results in.
public static int getVersion(ContextHandle handle,
Version version)
public static int listApplications(ContextHandle handle,
java.util.List names)
context - - context handle to be usednames - - List object to be filled with the application names.
public static int createApplication(ContextHandle handle,
java.lang.String name)
context - - context handle to be usedname - - String with the name of the create application.
public static int createStorageTypedApplication(ContextHandle handle,
java.lang.String name,
short type)
context - - context handle to be usedname - - String with the name of the create application.type - - A short specifying the storage type (see constants in ServerStorageType.java for options)
public static int deleteApplication(ContextHandle handle,
java.lang.String name)
context - - context handle to be usedname - - String with the name of the application to delete.
public static int getApplicationState(ContextHandle handle,
java.lang.String name,
ApplicationState state)
context - - context handle to be usedname - - String with the name of the application to retrieve information for.state - - an application state object to put the results in.
public static int setApplicationState(ContextHandle handle,
java.lang.String name,
ApplicationState state)
handle - - context handle to be usedname - - application name to set the state for.state - - an application state object to take the values from.
public static int getApplicationInfoEx(ContextHandle handle,
java.lang.String name,
ApplicationInfoEx info)
handle - - context handle to be usedname - - application name to get the information for.info - - an application info ex object populate.
public static int loadApplication(ContextHandle handle,
java.lang.String name)
context - - context handle to be used.name - - String with the name of the application to delete.
public static int unloadApplication(ContextHandle handle,
java.lang.String name)
context - - context handle to be used.name - - String with the name of the application to delete.
public static int removeLock(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String loginId)
context - - context handle to be used.appName - - name of application to remove lock from.dbName - - name of database to remove lock from.loginId - - Login ID that identifys the lock to be removed.
public static int renameApplication(ContextHandle handle,
java.lang.String oldName,
java.lang.String newName)
context - - context handle to be used.oldName - - original name of the application.newName - - new name of the application
public static int listDatabases(ContextHandle handle,
java.lang.String appName,
java.util.List names)
context - - context handle to be usedappName - - name of application to retrieve database names for.names - - List object to be filled with database names
public static int listFilters(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.util.List names)
context - - context handle to be usedappName - - name of application to retrieve filter names for.dbName - - name of database to retrieve filter names for.names - - List object to be filled with filter names
public static int createDatabase(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
boolean bCurrency)
context - - context handle to be usedappName - - name of application database will be indbName - - name of database to createbCurrency - - indicates currency database or normal database
public static int createDatabaseEx(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
boolean bCurrency,
boolean bNonUnique)
handle -appName -dbName -bCurrency -bNonUnique -
public static int deleteDatabase(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName)
context - - context handle to be usedappName - - name of application database is indbName - - name of database to delete
public static int renameDatabase(ContextHandle handle,
java.lang.String appName,
java.lang.String oldName,
java.lang.String newName)
context - - context handle to be usedappName - - name of the application the database is inoldName - - existing name of databasenewName - - updated name of database
public static int loadDatabase(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database to start
public static int unloadDatabase(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database to stoppublic static int clearDatabase(ContextHandle handle)
context - - context handle to be used
public static int setDatabaseNote(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String dbNote)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database to stopdbNote - - database note string
public static int getDatabaseNote(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.StringBuffer dbNote)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database to stopdbNote - - database note buffer to retrieve
public static int setAlias(ContextHandle handle,
java.lang.String aliasName)
context - - context handle to be usedaliasName - - alias table name to set active
public static int getAlias(ContextHandle handle,
java.lang.StringBuffer aliasName)
context - - context handle to be usedaliasName - - alias table name to retrieve
public static int listAliases(ContextHandle handle,
java.util.List aliasList)
context - - context handle to be usedaliasList - - list of alias tables in the active database
public static int getDatabaseState(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
DatabaseState state)
context - - context handle to be usedappName - - String with the name of the application to retrieve information for.dbName - - String with the name of the database to retrieve information for.state - - a database state object to put the results in.
public static int setDatabaseState(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
DatabaseState state)
context - - context handle to be usedappName - - String with the name of the application to retrieve information for.dbName - - String with the name of the database to retrieve information for.state - - a database state object to put the results in.
public static int getDatabaseStats(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
DatabaseStats stats,
java.util.List dimensions)
context - - context handle to be usedappName - - String with the name of the application to retrieve information for.dbName - - String with the name of the database to retrieve information for.filePath - - String witha database statistics object to put the results in.dimensions - - a list to place dimensions statistics into.
public static int getDatabaseStatus(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.util.List statusList)
context - - context handle to be usedappName - - Application name or NULL for all applications and databases that user has privilege to.dbName - - Database name or NULL for all databases in the specified application that the user has privilege to. If appName is NULL, this field is ignored. statusList - Pointer to pointer to non-allocated database status list. Function allocates the memory.
public static int getDatabaseInfo(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
DatabaseProperties dbProps)
context - - context handle to be usedappName - - String with the name of the application to retrieve information fordbName - - String with the name of the database to retrieve information fordbInfo - - DatabaseInfo structure to place database info intocom.hyperion.essbase.core.DatabaseInfo
public static int listDbFiles(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
short fileType,
java.util.List dbFileInfos)
context - - context handle to be usedappName - - String with the name of the application to retrieve information fordbName - - String with the name of the database to retrieve information forfileType - - file type to retrieve information for: FILETYPE_INDEX FILETYPE_DATA FILETYPE_INDEX | FILETYPE_DATA.dbFileInfos - - a list to place database file information into
public static int setDefaultCalc(ContextHandle handle,
java.lang.String calcScript)
context - - context handle to be usedcalcScript - - default calc script string
public static int setDefaultCalcFile(ContextHandle destHandle,
ContextHandle srcHandle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String fileName)
destHandle - - context handle of target database on the serversrcHandle - - context handle context handle for calc script file location. The calc script file can reside on the client or on the same server as the target database.appName - - application name for calc script file locationdbName - - database name for calc script file locationfileName - - name of default calc script file
public static int getDefaultCalc(ContextHandle handle,
java.lang.StringBuffer calcScript)
context - - context handle to be usedcalcScript - - default calc script string
public static int getCalcList(ContextHandle handle,
UserCalcList userCalc)
context - - context handle to be useduserCalc - - userCalc Object
public static int setCalcList(ContextHandle handle,
UserCalcList userCalc)
context - - context handle to be useduserCalc - - userCalc Object
public static int getLicenseInfo(ContextHandle handle,
LicenseInfo licenseInfo,
java.lang.String serverName)
context - - context handle to be usedlicenseInfo - - a structure to place license information into
public static int getSMStats(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
TimeRecord resetTime,
java.util.ArrayList runTimeVals)
content -resetTime - - a structure to place reset time into
public static int getLockInfo(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.util.ArrayList lockArrayList)
context - - context handle to be usedappName - - application namedbName - - database namelockArrayList - - an arrayList of lockInfo objects
public static int getOSResources(ContextHandle handle,
SystemInfo systemInfo)
context - - context handle to be usedsystemInfo - - a structure to place system resources information into
public static int getConfigValues(ContextHandle handle,
GlobalInfo globalInfo)
context - - context handle to be usedglobalInfo - - a structure to place global configuration information into
public static int getObject(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String objName,
java.lang.String localName,
boolean lock)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is inobjName - - name of the objectlocalName - - name of the local object (perhaps a path)lock - - Boolean to lock the object
public static int deleteObject(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String objName)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is inobjName - - name of the object
public static int putObject(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String objName,
java.lang.String localName,
boolean unlock)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is inobjName - - name of the objectlocalName - - name of the local object (perhaps a path)unlock - - Boolean to unlock the object
public static int listObjects(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.util.List names)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is innames - - List object to be filled with object names
public static int lockObject(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String name)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the object to lock
public static int unlockObject(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String name)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the object to lock
public static int putOutlineObject(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String localName,
boolean unlock)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the object to lock
public static int getLogFile(ContextHandle handle,
java.lang.String appName,
long dateStamp,
java.lang.String localFile)
context - - context handle to be usedappName - - name of the Essbase application (null for server log)dateStamp - - date in seconds from midnight 00:00:00 1/1/1970, date for starting entries, null for all entrieslocalFile - - name of a local file to copy the log to
public static long getLogFileFromOffset(ContextHandle handle,
java.lang.String appName,
long offset,
java.lang.String localFile)
context - - context handle to be usedappName - - name of the Essbase application (null for server log)offset - - offset to read from the filelocalFile - - name of a local file to copy the log to
public static int calcScriptVerifyFile(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String calcScript)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the calcscript to verify
public static int calcScriptVerify(ContextHandle handle,
java.lang.String calcScript)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the calcscript to verify
public static int reportScriptVerifyFile(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String reportScript)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the reportScript to verify
public static int reportScriptVerify(ContextHandle handle,
java.lang.String reportScript)
context - - context handle to be usedname - - name of the reportscript to verify
public static int reportScriptExecuteFile(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String reportScript)
context - - context handle to be usedappName - - name of the application the database is indbName - - name of the database the object is inname - - name of the reportScript to verify
public static int reportScriptExecute(ContextHandle handle,
java.lang.String reportScript)
context - - context handle to be usedname - - name of the reportscript to verify
public static int getOutputString(ContextHandle handle,
java.lang.StringBuffer output)
handle - - context handle to be usedoutput - - string to receive the output report script
public static int getReport(ContextHandle handle,
java.lang.Object output)
handle - - context handle to be usedoutput - - file to receive the output report script
public static int logSize(ContextHandle handle,
boolean isAppLog,
java.lang.String appName,
FileInfo fileInfo)
context - - context handle to be usedisAppLog - - true if getting size of an application log, false for a server logappName - - name of the Essbase application (null for server log)logSize - - size of the logpublic InstanceHandle getInstanceHandle()
public boolean initialize(short maxHandles)
public boolean release()
public static int setGroup(ContextHandle handle,
GroupProperties groupProp)
context - - context handle to be usedgroupProp - - object to set GroupProperties structure to
public static int getGroup(ContextHandle handle,
java.lang.String groupName,
GroupProperties groupProp)
context - - context handle to be usedgroupName - - group namegroupProp - - object to receive GroupProperties structure
public static int getGroupInfoEx(ContextHandle handle,
java.lang.String groupName,
GroupProperties groupProp)
context - - context handle to be usedgroupName - - group namegroupProp - - object to receive GroupProperties structure
public static int getGroupEx(EssSession session,
java.lang.String groupName,
GroupProperties groupProp)
public static int listUsers(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.util.List userList)
context - - context handle to be usedappName - - name of application to retrieve user names for.dbName - - name of database to retrieve user names for.count - - returns the number of structures returned in the userListuserList - - List of returned UserProperties objects
public static int listUsersInfoEx(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.util.List userList,
boolean skipAccessType)
context - - context handle to be usedappName - - name of application to retrieve user names for.dbName - - name of database to retrieve user names for.count - - returns the number of structures returned in the userListuserList - - List of returned UserProperties objectsskipAccessType - - skip EssGetUserType call
public static int listUsersEx(EssSession session,
java.lang.String appName,
java.lang.String dbName,
int count,
java.util.List userList,
boolean skipAccessType)
public static int listUsersFile(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.lang.String userList)
context - - context handle to be usedappName - - name of application to retrieve user names for.dbName - - name of database to retrieve user names for.count - - returns the number of structures returned in the userListuserList - - List of returned UserProperties objects
public static int listUsersFileEx(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.lang.String userList,
boolean skipAccessType)
handle -appName -dbName -count -userList -skipAccessType -
public static int listUsersInfoFileEx(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.lang.String userList,
boolean skipAccessType)
context - - context handle to be usedappName - - name of application to retrieve user names for.dbName - - name of database to retrieve user names for.count - - returns the number of structures returned in the userListuserList - - List of returned UserProperties objects
public static int listUsersFileEx(EssSession session,
java.lang.String appName,
java.lang.String dbName,
int count,
java.lang.String userList,
boolean skipAccessType)
public static int listGroups(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.util.List userList)
context - - context handle to be usedappName - - name of application to retrieve user names for.dbName - - name of database to retrieve user names for.count - - returns the number of structures returned in the userListuserList - - List of returned GroupProperties objects
public static int listGroupsInfoEx(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
int count,
java.util.List userList)
context - - context handle to be usedappName - - name of application to retrieve user names for.dbName - - name of database to retrieve user names for.count - - returns the number of structures returned in the userListuserList - - List of returned GroupProperties objects
public static int listGroupsEx(EssSession session,
java.lang.String appName,
java.lang.String dbName,
int count,
java.util.List userList)
public static int setUser(ContextHandle handle,
UsrGrpProperties userProps)
context - - context handle to be useduserProps - - object to set UserProperties structure to
public static int getUser(ContextHandle handle,
java.lang.String userName,
UsrGrpProperties userProps)
context - - context handle to be useduserName - - user nameuserProps - - object to receive UserProperties structure
public static int getUserEx(EssSession session,
java.lang.String userName,
UserProperties userProps)
public static int setPassword(ContextHandle handle,
java.lang.String userName,
java.lang.String password)
context - - context handle to be useduserName - - user namepassword - - password to set to
public static int setGroupList(ContextHandle handle,
java.lang.String groupName,
java.util.List userList)
context - - context handle to be useduserName - - group nameuserList - - list of user names to set to the group
public static int setGroupListEx(ContextHandle handle,
java.lang.String groupName,
java.util.List userList,
boolean usingIdentity,
boolean isUser)
public static int setGroupListEx(EssSession session,
java.lang.String groupName,
java.util.List userList,
boolean isUser)
public static int getGroupList(ContextHandle handle,
java.lang.String groupName,
java.util.List userList)
context - - context handle to be useduserName - - group nameuserList - - list of user names retrieve from the the group
public static int getGroupListEx(ContextHandle handle,
java.lang.String groupName,
java.util.List userList,
boolean usingIdentity,
boolean isUser)
public static int getGroupListEx(EssSession session,
java.lang.String groupName,
java.util.List userList,
boolean isUser)
public static int setApplicationAccess(ContextHandle handle,
java.util.ArrayList userAppList)
context - - context handle to be useduserAppList - - list of user application structures
public static int setApplicationAccessEx(ContextHandle handle,
java.util.ArrayList userAppList)
public static int setApplicationAccessEx(EssSession session,
java.util.ArrayList userAppList)
public static int getApplicationAccess(ContextHandle handle,
java.lang.String userName,
java.lang.String appName,
java.util.ArrayList userAppList)
context - - context handle to be useduserName - - user nameappName - - application nameuserAppList - - list of user application structures
public static int getApplicationAccessEx(ContextHandle handle,
java.lang.String userName,
java.lang.String appName,
java.util.ArrayList userAppList,
boolean usingIdentity,
boolean isUser)
public static int getApplicationAccessEx(EssSession session,
java.lang.String userName,
java.lang.String appName,
java.util.ArrayList userAppList,
boolean isUser)
public static int setDatabaseAccess(ContextHandle handle,
java.util.ArrayList userDbList)
context - - context handle to be useduserDbList - - list of user application structures
public static int setDatabaseAccessEx(ContextHandle handle,
java.util.ArrayList userDbList)
public static int setDatabaseAccessEx(EssSession session,
java.util.ArrayList userDbList)
public static int getDatabaseAccess(ContextHandle handle,
java.lang.String userName,
java.lang.String appName,
java.lang.String dbName,
java.util.ArrayList userDbList)
context - - context handle to be useduserName - - user nameappName - - application namedbName - - database nameuserDbList - - list of user application structures
public static int getDatabaseAccessEx(ContextHandle handle,
java.lang.String userName,
java.lang.String appName,
java.lang.String dbName,
java.util.ArrayList userDbList,
boolean usingIdentity,
boolean isUser)
public static int getDatabaseAccessEx(EssSession session,
java.lang.String userName,
java.lang.String appName,
java.lang.String dbName,
java.util.ArrayList userDbList,
boolean isUser)
public static int setFilterList(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String filterName,
java.util.ArrayList userList)
context - - context handle to be usedappName - - application namedbName - - database namefilterName - - filter nameuserList - - list of user to be assigned to a filter
public static int getFilterList(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String filterName,
java.util.ArrayList userList)
context - - context handle to be usedappName - - application namedbName - - database namefilterName - - filter nameuserList - - list of user who are assigned to a filter
public static int addToGroup(ContextHandle handle,
java.lang.String groupname,
java.lang.String username)
context - - context handle to be usedgroupname - - group nameusername - - user name
public static int deleteFromGroup(ContextHandle handle,
java.lang.String groupname,
java.lang.String username)
context - - context handle to be usedgroupname - - group nameusername - - user name
public static int getUserKey(ContextHandle handle,
java.lang.String username,
UserKey userKey)
context - - context handle to be usedusername - - usernamekey - - key of the user
public static int createUserKey(ContextHandle handle,
java.lang.String username,
UserKey userKey)
context - - context handle to be usedkey - - key to create the user with
public static int setUserKey(ContextHandle handle,
java.lang.String username,
UserKey userKey)
context - - context handle to be usedkey - - key to create the user with
public static int renameObject(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String oldName,
java.lang.String newName)
context - - context handle to be usedobjType - - object typeappName - - name of the application the database is indbName - - name of the database the object is inoldName - - old name of the objectnewName - - new name of the object
public static int copyObject(ContextHandle handle,
int objType,
java.lang.String srcApp,
java.lang.String destApp,
java.lang.String srcDb,
java.lang.String destDb,
java.lang.String srcObj,
java.lang.String destObj)
context - - context handle to be usedobjType - - object typesrcApp - - name of the application the database is indestApp - - name of the dest appsrcDb - - name of the database the object is indestDb - - name of the dest dbsrcObj - - name of the objectdestObj - - name of the dest obj
public static int getExternalUser(ContextHandle handle,
java.lang.String userName,
UserProperties userProp)
context - - context handle to be useduserName - - name of the external user to get user informationextUserInfo - - structure to retrieve external user information
public static int setExternalUser(ContextHandle handle,
short type,
java.lang.String userName,
java.lang.String password,
java.lang.String protocol,
java.lang.String connParameter,
short domainAccess)
context - - context handle to be useduserName - - name of the external userpassword - - password of the external userprotocol - - name of the external authentication protocolconnParameter - - the external connection parameter string
public static int getUserInfoEx(ContextHandle handle,
java.lang.String userName,
UserProperties userProp)
context - - context handle to be useduserName - - name of the external user to get user informationextUserInfo - - structure to retrieve external user information
public static int createExternalUser(ContextHandle handle,
java.lang.String userName,
java.lang.String password,
java.lang.String protocol,
java.lang.String connParameter,
short domainAccess)
context - - context handle to be useduserName - - name of the external userpassword - - password of the external userprotcol - - name of the external authentication protocolconnParameter - - the external connection parameter string
public static int getAllowedStorageTypes(ContextHandle handle,
ServerStorageTypesInfo types)
context - - context handle to be usedallowedTypes - - object for returning the allowed storage type information
public static int lroListObjects(ContextHandle handle,
java.lang.String userName,
long date,
java.util.ArrayList lroList)
handle - - context handle to be useduserName - - criteria for retrieving LROs created by a user, null for all usersdate - - criteria for retrieving LROs created on or after a certain date specified in seconds from midnight, 1/1/1970, GMT, 0 for all dateslros - - array to receive the LRO information
public static int lroGetObject(ContextHandle handle,
LroHandle lHandle,
java.lang.String targetFile,
short option,
LroInfo lro)
handle - - context handle to be usedlhandle - - handle for the LRO being accessedtargetFile - - target file location for a file LROoption - - specifies whether to retrieve the LRO object, LRO catalog entry, or both (see documentation for EssLROGetObject() for details)lro - - object to contain the LRO catalog information
public static int lroUpdateObject(ContextHandle handle,
LroHandle lHandle,
short option,
LroInfo lro)
handle - - context handle to be usedlhandle - - handle for the LRO being accessedoption - - specifies whether to store the LRO object, LRO catalog entry, or both (see documentation for EssLROGetObject() for details)lro - - object to contain the LRO catalog information
public static int lroDeleteObject(ContextHandle handle,
LroHandle lHandle)
handle - - context handle to be usedlhandle - - handle for the LRO being deleted
public static int lroPurgeObjects(ContextHandle handle,
java.lang.String userName,
long date)
handle - - context handle to be useduserName - - criteria for deleting LROs created by a user, null for all usersdate - - criteria for deleting LROs created on or after a certain date specified in seconds from midnight, 1/1/1970, GMT, 0 for all dates
public static int verifyFilter(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName)
handle - - context handle to be usedappName - - name of the application the database is indbName - - name of the database the object is in
public static int verifyFilterRows(ContextHandle handle,
java.lang.String rowText)
handle - - context handle to be usedrowText - - the member specification information for a row (does not include the access information [None/Read/Write])
public static int renameFilter(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String oldName,
java.lang.String newName)
context - - context handle to be usedappName - - name of the applicationdbName - - name of the databaseoldName - - existing name of filternewName - - updated name of filter
public static int listObjectsInfo(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.util.ArrayList objList)
handle - - context handle to be usedobjType - - the type of file object to be returnedappName - - name of the application the database is indbName - - name of the database the object is inobjList - - returned list of objects
public static int getObjectInfo(ContextHandle handle,
int objType,
java.lang.String appName,
java.lang.String dbName,
java.lang.String objName,
NamedObjectInfo objInfo)
handle - - context handle to be usedobjType - - the type of file object to be returnedappName - - name of the application the database is indbName - - name of the database the object is inobjName - - name of the database the object is inobjInfo - - returned info for the object
public static int verifyFormula(ContextHandle context,
java.lang.String formula)
handle - - context handle to be usedformula - - the formula to be verified
public static int createLocalContext(InstanceHandle instance,
ContextHandle context)
public static int deleteLocalContext(ContextHandle context)
public static boolean hasAppManOption(ContextHandle handle)
handle - - context handle to be usedpublic static boolean isValidContext(ContextHandle handle)
handle - - the Essbase API context handle to validate
public static int getServerLocaleString(ContextHandle handle,
java.lang.StringBuffer localeBuffer)
public static boolean isSubsetCodepage(ContextHandle handle,
java.lang.String locale1,
java.lang.String locale2)
handle - - context handle to be usedlocale1 - - first localelocale2 - - second localetrue if locale 1 is a subset of locale 1
public static int shutdownServer(InstanceHandle handle,
java.lang.String server,
java.lang.String user,
java.lang.String password)
public static boolean isDatabaseLocked(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName)
public static int getSpoolFile(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String spoolName,
java.lang.String targetFile)
handle - - context handle to be usedappname - - the application namedbname - - the database namespool - nametargetFile - - target file location to copy the spool file into.
public static int registerEventServer(ContextHandle handle,
java.lang.String appName,
java.lang.String dbName,
java.lang.String url,
java.lang.String user,
java.lang.String password,
boolean registerServer)
public static int updateEventServerFile(ContextHandle handle,
java.lang.String url,
java.lang.String user,
java.lang.String password)
public static int setUserType(ContextHandle handle,
java.lang.String userName,
short domainAccess)
public static int getApplicationFrontEndAppType(ContextHandle handle,
java.lang.String appName,
AppFrontEndType frontEndAppType)
public static int listUserGroupsForAppInHSSMode(ContextHandle handle,
java.lang.String appName,
java.util.List userList,
java.util.List grpList)
public static int listUserGroupsForAppInHSSModeEx(ContextHandle handle,
java.lang.String appName,
java.util.List userList,
java.util.List grpList,
boolean usingIdentity)
public static int listUserGroupsForAppInHSSModeEx(EssSession session,
java.lang.String appName,
java.util.List userList,
java.util.List grpList)
public static int getApplicationID(ContextHandle handle,
java.lang.String appName,
java.lang.StringBuffer appID)
public static int setFiltersInCASMode(ContextHandle handle,
java.util.ArrayList userDbList)
context - - context handle to be useduserDbList - - list of user application structurespublic static void main(java.lang.String[] args)
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||