Package com.microstrategy.webapi
Interface IDSSXMLConfigServer
- 
public interface IDSSXMLConfigServerThis interface contains methods relating to configuration-related operations on the Intelligence Server.- Since:
 - MicroStrategy Web 7.5.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidAddDBRoleToProject(java.lang.String sessionID, java.lang.String[] dbrIDs, java.lang.String projectID, boolean isPrimary)Add one or more DBRoles to a projectvoidCheckKey(java.lang.String sessionID)java.lang.StringCheckLicenseCompliance(java.lang.String sessionID, int licenseComplianceCategory, int flags, IntWrapper iwStatus)Checks the overall license compliance status of the Intelligence Server.java.lang.StringCreateServerDef(java.lang.String sessionID, java.lang.String name)Creates a new ServerDef object on the Intelligence Server.java.lang.StringExecMDUpdateCmd(java.lang.String sessionID, java.lang.String commandXML, java.lang.String logPath)This component is used to update existing MicroStrategy 7.x metadata so they can work optimally with the newest release of the product.java.lang.StringGetAllFences(java.lang.String sessionID, java.lang.String serverDefID, java.lang.String fenceDeltaXML)java.lang.StringGetComplianceLevel(java.lang.String sessionID, int flags, int licenseComplianceCategory)Returns the overall license compliance status of the Intelligence Server.java.lang.StringGetCPULicenseCompliance(java.lang.String sessionID, int flags)Returns the CPU license usage and compliance for the current I-Server.java.lang.StringGetFenceServerLists(java.lang.String sessionID, java.lang.String projectID)java.lang.StringGetFullUserPrivileges(java.lang.String sessionID, java.lang.String userID, java.lang.String deltaXML)Submits a full user privileges delta XML.java.lang.StringGetNamedUserLicenseCompliance(java.lang.String sessionID, int flags)Returns the named user license usage and compliance for the current I-Server.java.lang.StringGetRepositoryProjects(java.lang.String sessionID)Gets a list of projects available in the repository on this Intelligence Server.java.lang.StringGetUserLicenses(java.lang.String sessionID, int auditScheme, java.lang.String groupID, int auditHandle, int blockBegin, int blockCount, int auditorType, java.lang.String extParam, IntWrapper newHandle)Performs a batch audit on the given user group and returns a batch audit handle and an XML string containing the user license information.java.lang.StringGetUserLicenses(java.lang.String sessionID, int auditScheme, java.lang.String groupID, int auditHandle, int blockBegin, int blockCount, java.lang.String extParam, IntWrapper newHandle)Performs a batch audit on the given user group and returns a batch audit handle and an XML string containing the user license information.java.lang.StringGetUsersByLicenseType(java.lang.String sessionID, int auditScheme, java.lang.String groupID)Performs an audit on the given user groups.java.lang.StringGetUsersPrivileges(java.lang.String sessionID, int auditScheme, int flags)Returns a list of privileges and the license types that they belong to.java.lang.StringModifyServerDef(java.lang.String sessionID, java.lang.String serverDefID, java.lang.String deltaXML)Modifies the given server def object with the given delta XML.voidPerformComplianceCheck(java.lang.String sessionID, int flags)Causes the Intelligence Server to refresh the licensing status internally.voidRefreshDiagnosticsLoggingSettings(java.lang.String sessionID)Causes the Intelligence Server to re-read its diagnostics logging settings from the registry.voidRefreshPerformanceLoggingSettings(java.lang.String sessionID)Causes the Intelligence Server to re-read its performance monitor logging settings from the registry.voidRekey(java.lang.String sessionID, java.lang.String masterKeyPath, java.lang.String keyStorePath, java.lang.String logPath)voidRekey(java.lang.String sessionID, java.lang.String masterKeyPath, java.lang.String keyStorePath, java.lang.String logPath, boolean needUpdateMD, boolean needUpdateCube, boolean needUpdateCache, boolean needUpdateHL, boolean needUpdateWS)voidRemoveDBRoleFromProject(java.lang.String sessionID, java.lang.String[] dbrIDs, java.lang.String projectID)Remove one or more DBRoles from a projectvoidsetProjectLocales(java.lang.String sessionID, java.lang.String guid, XMLProjectLocaleUpdateModel xmlProjectLocaleUpdateModel)Updates project level langauge configuration for supported data and MD locales.voidSetProjectStatus(java.lang.String sessionID, java.lang.String statusXML)Sets a project's status to one of the values inEnumDSSXMLProjectStatus.java.lang.StringSubmitUserDelta(java.lang.String sessionID, java.lang.String deltaXML)Submits a user account services delta XML.java.lang.StringUpdateMD(java.lang.String sessionID, int command, java.lang.String logPath, boolean allProjs, java.lang.String targetVersion)Deprecated.useExecMDUpdateCmd(String, String, String)instead 
 - 
 
- 
- 
Method Detail
- 
CreateServerDef
java.lang.String CreateServerDef(java.lang.String sessionID, java.lang.String name) throws MSTRWebAPIExceptionCreates a new ServerDef object on the Intelligence Server.- Parameters:
 sessionID- A valid session ID.name- The name of the newly created ServerDef.- Returns:
 - The DSSID of the newly created object.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.
 
- 
GetRepositoryProjects
java.lang.String GetRepositoryProjects(java.lang.String sessionID) throws MSTRWebAPIExceptionGets a list of projects available in the repository on this Intelligence Server. This is a list of projects in the metadata regardless of whether the projects are registered or not.- Parameters:
 sessionID- A valid session ID.- Returns:
 - An XML string describing the list of projects available in the metadata.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.
 
- 
ModifyServerDef
java.lang.String ModifyServerDef(java.lang.String sessionID, java.lang.String serverDefID, java.lang.String deltaXML) throws MSTRWebAPIExceptionModifies the given server def object with the given delta XML.- Parameters:
 sessionID- A valid session ID.serverDefID- The DSSID of the ServerDef object to modify.deltaXML- An XML string describing the changes to make to the ServerDef.- Returns:
 - The return value is not important.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.
 
- 
SubmitUserDelta
java.lang.String SubmitUserDelta(java.lang.String sessionID, java.lang.String deltaXML) throws MSTRWebAPIExceptionSubmits a user account services delta XML. This XML can direct the server to create, delete, and modify user objects in metadata.- Parameters:
 sessionID- A valid session ID.deltaXML- A delta XML describing the operations to perform.- Returns:
 - An XML string describing whether the operation failed.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
GetFullUserPrivileges
java.lang.String GetFullUserPrivileges(java.lang.String sessionID, java.lang.String userID, java.lang.String deltaXML) throws MSTRWebAPIExceptionSubmits a full user privileges delta XML. This XML will direct the server to fetch a full privilege list, including the source of each privilege, for the user.- Parameters:
 sessionID- A valid session ID.userID- The user to retrieve the full privileges for.deltaXML- An XML string describing the information requested.- Returns:
 - An XML String describing the asked-for information.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
RefreshPerformanceLoggingSettings
void RefreshPerformanceLoggingSettings(java.lang.String sessionID) throws MSTRWebAPIExceptionCauses the Intelligence Server to re-read its performance monitor logging settings from the registry. This should be called after using the Server Control API to modify logging settings to get the settings to apply without restarting the I-Server.- Parameters:
 sessionID- A valid session ID.- Throws:
 MSTRWebAPIException- Thrown if an error occurs in the operation.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
RefreshDiagnosticsLoggingSettings
void RefreshDiagnosticsLoggingSettings(java.lang.String sessionID) throws MSTRWebAPIExceptionCauses the Intelligence Server to re-read its diagnostics logging settings from the registry. This should be called after using the Server Control API to modify logging settings to get the settings to apply without restarting the I-Server.- Parameters:
 sessionID- A valid session ID.- Throws:
 MSTRWebAPIException- Thrown if an error occurs in the operation.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
CheckLicenseCompliance
java.lang.String CheckLicenseCompliance(java.lang.String sessionID, int licenseComplianceCategory, int flags, IntWrapper iwStatus) throws MSTRWebAPIExceptionChecks the overall license compliance status of the Intelligence Server. If there is a problem, then the status will reflect that, and a string will be returned with a description of the problem.- Parameters:
 sessionID- A valid session ID.licenseComplianceCategory- The category of license compliance to check, fromEnumDSSXMLLicenseComplianceCategory.flags- Reserved for future use.iwStatus- An IntWrapper, which will be populated with the licensing status.- Returns:
 - A string describing the compliance problem, if applicable.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
GetComplianceLevel
java.lang.String GetComplianceLevel(java.lang.String sessionID, int flags, int licenseComplianceCategory) throws MSTRWebAPIExceptionReturns the overall license compliance status of the Intelligence Server. If there is a problem, a string will be returned with detail information.- Parameters:
 sessionID- A valid session ID.licenseComplianceCategory- The category of license compliance to check, fromEnumDSSXMLLicenseComplianceCategory.flags- Reserved for future use.- Returns:
 - A string compliance problem detail, if applicable.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
GetCPULicenseCompliance
java.lang.String GetCPULicenseCompliance(java.lang.String sessionID, int flags) throws MSTRWebAPIExceptionReturns the CPU license usage and compliance for the current I-Server.- Parameters:
 sessionID- A valid session ID.flags- Reserved for future use.- Returns:
 - An xml string containing information about the CPU compliance.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
GetNamedUserLicenseCompliance
java.lang.String GetNamedUserLicenseCompliance(java.lang.String sessionID, int flags) throws MSTRWebAPIExceptionReturns the named user license usage and compliance for the current I-Server.- Parameters:
 sessionID- A valid session ID.flags- Reserved for future use.- Returns:
 - An xml string containing information about the named user compliance.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
GetUsersByLicenseType
java.lang.String GetUsersByLicenseType(java.lang.String sessionID, int auditScheme, java.lang.String groupID) throws MSTRWebAPIExceptionPerforms an audit on the given user groups. Returns an XML containing the information about which users belong to which license types.- Parameters:
 sessionID- A valid session ID.auditScheme- The audit scheme, fromEnumDSSXMLLicenseType.groupID- The DSSID of the group to audit.- Returns:
 - An XML string describing the result of the operation.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
GetUsersPrivileges
java.lang.String GetUsersPrivileges(java.lang.String sessionID, int auditScheme, int flags) throws MSTRWebAPIExceptionReturns a list of privileges and the license types that they belong to.- Parameters:
 sessionID- A valid session ID.auditScheme- The audit scheme, fromEnumDSSXMLLicenseType.flags- Reserved for future use.- Returns:
 - An XML stinr describing the result of the operation.
 - Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
PerformComplianceCheck
void PerformComplianceCheck(java.lang.String sessionID, int flags) throws MSTRWebAPIExceptionCauses the Intelligence Server to refresh the licensing status internally.- Parameters:
 sessionID- A valid session ID.flags- Reserved for future use- Throws:
 MSTRWebAPIException- Thrown if an error occurs.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
SetProjectStatus
void SetProjectStatus(java.lang.String sessionID, java.lang.String statusXML) throws MSTRWebAPIExceptionSets a project's status to one of the values inEnumDSSXMLProjectStatus.- Parameters:
 sessionID- a valid session ID.statusXML- the XML to set a project status.- Throws:
 MSTRWebAPIException- thrown if there is any error occurred.- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
setProjectLocales
void setProjectLocales(java.lang.String sessionID, java.lang.String guid, XMLProjectLocaleUpdateModel xmlProjectLocaleUpdateModel) throws MSTRWebAPIExceptionUpdates project level langauge configuration for supported data and MD locales. Updates primary data locale (updating primary MD locale not supported).- Parameters:
 sessionID- a valid Intelligence Server session ID.guid- project ID.xmlProjectLocaleUpdateModel- changes to be made.- Throws:
 MSTRWebAPIException
 
- 
GetUserLicenses
java.lang.String GetUserLicenses(java.lang.String sessionID, int auditScheme, java.lang.String groupID, int auditHandle, int blockBegin, int blockCount, java.lang.String extParam, IntWrapper newHandle) throws MSTRWebAPIExceptionPerforms a batch audit on the given user group and returns a batch audit handle and an XML string containing the user license information. This method supports incremental auditing by specifying the starting point and the block count.The first time to perform a batch audit, the audit handle should be 0 and a new handle will be returned after the call. Later on, the user can use the returned handle to perform any batch audit at his will.
- Parameters:
 sessionID- a valid Intelligence Server session ID.auditScheme- the audit scheme constant fromEnumDSSXMLLicenseScheme.groupID- the DSSID of a user group to be audited.auditHandle- the audit handle to perform batch auditing.blockBegin- the start point of incremental auditing.blockCount- the block count of an incremental auditing.extParam- the extendable parameters reserved for future use.newHandle- the new audit handle created in the first batch auditing call.- Returns:
 - an XML string containing the user license information.
 - Throws:
 MSTRWebAPIException- thrown if there is any error occurred.- Since:
 - MicroStrategy Web 8.0.2
 
 
- 
GetUserLicenses
java.lang.String GetUserLicenses(java.lang.String sessionID, int auditScheme, java.lang.String groupID, int auditHandle, int blockBegin, int blockCount, int auditorType, java.lang.String extParam, IntWrapper newHandle) throws MSTRWebAPIExceptionPerforms a batch audit on the given user group and returns a batch audit handle and an XML string containing the user license information. This method supports incremental auditing by specifying the starting point and the block count.The first time to perform a batch audit, the audit handle should be 0 and a new handle will be returned after the call. Later on, the user can use the returned handle to perform any batch audit at his will.
- Parameters:
 sessionID- a valid Intelligence Server session ID.auditScheme- the audit scheme constant fromEnumDSSXMLLicenseScheme.groupID- the DSSID of a user group to be audited.auditHandle- the audit handle to perform batch auditing.blockBegin- the start point of incremental auditing.blockCount- the block count of an incremental auditing.auditorType- the auditor type fromEnumDSSXMLAuditorTypes}extParam- the extendable parameters reserved for future use.newHandle- the new audit handle created in the first batch auditing call.- Returns:
 - an XML string containing the user license information.
 - Throws:
 MSTRWebAPIException- thrown if there is any error occurred.- Since:
 - MicroStrategy Web 9.2.0
 
 
- 
AddDBRoleToProject
void AddDBRoleToProject(java.lang.String sessionID, java.lang.String[] dbrIDs, java.lang.String projectID, boolean isPrimary) throws MSTRWebAPIExceptionAdd one or more DBRoles to a project- Parameters:
 sessionID-Stringcontaining the current session IDdbrIDs- array ofString; each containing the ID of a DBRole to be added to the projectprojectID-Stringcontaining the ID of the project the DBRoles will be added toisPrimary- boolean true if the to-be-added DB role is primary DB role- Throws:
 MSTRWebAPIException- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
RemoveDBRoleFromProject
void RemoveDBRoleFromProject(java.lang.String sessionID, java.lang.String[] dbrIDs, java.lang.String projectID) throws MSTRWebAPIExceptionRemove one or more DBRoles from a project- Parameters:
 sessionID-Stringcontaining the current session IDdbrIDs- array ofString; each containing the ID of a DBRole to be removed from the projectprojectID-Stringcontaining the ID of the project the DBRoles will be removed from- Throws:
 MSTRWebAPIException- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
UpdateMD
@Deprecated java.lang.String UpdateMD(java.lang.String sessionID, int command, java.lang.String logPath, boolean allProjs, java.lang.String targetVersion) throws MSTRWebAPIExceptionDeprecated.useExecMDUpdateCmd(String, String, String)insteadThis component is used to update existing MicroStrategy 7.x metadata so they can work optimally with the newest release of the product.- Parameters:
 sessionID- a valid Intelligence Server session ID.command- int fromEnumDSSXMLMDUpdateCommandslogPath- String containing name and path to record actions taken during the updateallProjs- boolean value used to determine whether all projects will be updatedtargetVersion- String containing the version the MD will updated to- Throws:
 MSTRWebAPIException- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
ExecMDUpdateCmd
java.lang.String ExecMDUpdateCmd(java.lang.String sessionID, java.lang.String commandXML, java.lang.String logPath) throws MSTRWebAPIExceptionThis component is used to update existing MicroStrategy 7.x metadata so they can work optimally with the newest release of the product. This method is designed to be a more flexible version ofUpdateMD(String, int, String, boolean, String)- Parameters:
 sessionID- a valid Intelligence Server session ID.commandXML-Stringcontainingnode XML for logPath- String containing name and path to record actions taken during the update- Throws:
 MSTRWebAPIException
 
- 
Rekey
void Rekey(java.lang.String sessionID, java.lang.String masterKeyPath, java.lang.String keyStorePath, java.lang.String logPath) throws MSTRWebAPIException- Throws:
 MSTRWebAPIException
 
- 
Rekey
void Rekey(java.lang.String sessionID, java.lang.String masterKeyPath, java.lang.String keyStorePath, java.lang.String logPath, boolean needUpdateMD, boolean needUpdateCube, boolean needUpdateCache, boolean needUpdateHL, boolean needUpdateWS) throws MSTRWebAPIException- Throws:
 MSTRWebAPIException
 
- 
CheckKey
void CheckKey(java.lang.String sessionID) throws MSTRWebAPIException- Throws:
 MSTRWebAPIException
 
- 
GetAllFences
java.lang.String GetAllFences(java.lang.String sessionID, java.lang.String serverDefID, java.lang.String fenceDeltaXML) throws MSTRWebAPIException- Throws:
 MSTRWebAPIException
 
- 
GetFenceServerLists
java.lang.String GetFenceServerLists(java.lang.String sessionID, java.lang.String projectID) throws MSTRWebAPIException- Throws:
 MSTRWebAPIException
 
 - 
 
 -