public class

IPAAdminPropertiesMgr

extends Object
java.lang.Object
   ↳ com.microstrategy.web.ipa.IPAAdminPropertiesMgr

Class Overview

this class will reimplement some functionalites from AdminBean and AdminBeanEventHandler reference to {@AdminBean } and {@AdminBeanEventHandler }

Summary

Nested Classes
class IPAAdminPropertiesMgr.TaskResponseMsg task reponse message class it will parse the xml string from tasks to be java objects  
class IPAAdminPropertiesMgr.TaskResponseParser XML handler for parsing task response in XML format 
Public Methods
void delPropertiesFile(String itemplatename, AppContext appContext)
synchronized Map<String, String> getDefaultsValues(AppContext appContext)
get system defaults values@return
synchronized List<String> getIPALoginSettingsProperties()
get a list of properties of I-server page
synchronized List<String> getIServerDefaultsProperties()
get a list of properties of I-server page
Map<String, String> getIServerPropertyValues(Map<String, String> iNameValuePairs)
get the propery values of I-Server
static IPAAdminPropertiesMgr getInstance()
synchronized Map<String, String> getInvalidateProperties()
get invlidate properties
synchronized Map<String, String> getNameValuePairs(String iTemplateName, AppContext appContext)
get name/value pairs@return
synchronized Map<String, String> getNameValuePairsDiagnostics(SmartProperties props, AppContext iAppContext)
synchronized Map<String, String> getNameValuePairsIServerDefaults(SmartProperties props)
synchronized Map<String, String> getNameValuePairsOffice(SmartProperties props, String localeID)
get office location
synchronized Map<String, String> getNameValuePairsSecurity(SmartProperties props)
synchronized Map<String, String> getNameValuePairsWidget(SmartProperties props)
if the properties value are empty, then use default valuse
synchronized List<String> getOfficeProperties()
get a list of properties of office
Map<String, String> getOfficePropertyValues(Map<String, String> iNameValuePairs, AppContext iAppContext)
get property values of office
Map<String, String> getProperties(String ixmlprops)
parse the properties'XML
SmartProperties getPropertiesFileHandler(String itemplatename, AppContext appContext)
return property file handler@return
synchronized List<String> getSecurityProperties()
get a list of properties of security page
Map<String, String> getSecurityPropertyValues(Map<String, String> iNameValuePairs)
get the security properties values
synchronized String getTemplateLocation(String templateName, AppContext iAppContext)
get the template absolute location
String getXMLProps(String template, AppContext appContext)
synchronized void saveProperties(Map<String, String> iNameValuePairs, String itemplateName, String itemplateType, AppContext iAppcontext)
save the properties in the IPAServer first, it will validate the values of the property
synchronized void savePropertiesInIPAServer(Map<String, String> iNameValuePairs, String itemplateName, String itemplateType, AppContext iAppcontext)
synchronized String updateProperties(IPAServer iWebServer, Map<String, IPAServer> iIServerIdToServerMap, AppContext iAppcontext)
update the properties for the local web server, mobile server and i-servers @return
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public void delPropertiesFile (String itemplatename, AppContext appContext)

Throws
WebException

public synchronized Map<String, String> getDefaultsValues (AppContext appContext)

get system defaults values@return

Throws
IOException
SAXException
XMLSupportRuntimeException

public synchronized List<String> getIPALoginSettingsProperties ()

get a list of properties of I-server page

public synchronized List<String> getIServerDefaultsProperties ()

get a list of properties of I-server page

public Map<String, String> getIServerPropertyValues (Map<String, String> iNameValuePairs)

get the propery values of I-Server

public static IPAAdminPropertiesMgr getInstance ()

public synchronized Map<String, String> getInvalidateProperties ()

get invlidate properties

public synchronized Map<String, String> getNameValuePairs (String iTemplateName, AppContext appContext)

get name/value pairs@return

Throws
Exception

public synchronized Map<String, String> getNameValuePairsDiagnostics (SmartProperties props, AppContext iAppContext)

Throws
Exception

public synchronized Map<String, String> getNameValuePairsIServerDefaults (SmartProperties props)

public synchronized Map<String, String> getNameValuePairsOffice (SmartProperties props, String localeID)

get office location

Throws
Exception

public synchronized Map<String, String> getNameValuePairsSecurity (SmartProperties props)

Throws
Exception Cookies Security level: disable cookies = 1, enable cookies = 4 I-server session cookie: enable = 1; disable = 0; when cookie is disabled, the i-session cookie should be disabled (set value 0)

public synchronized Map<String, String> getNameValuePairsWidget (SmartProperties props)

if the properties value are empty, then use default valuse

Throws
Exception

public synchronized List<String> getOfficeProperties ()

get a list of properties of office

public Map<String, String> getOfficePropertyValues (Map<String, String> iNameValuePairs, AppContext iAppContext)

get property values of office

public Map<String, String> getProperties (String ixmlprops)

parse the properties'XML

Throws
WebException

public SmartProperties getPropertiesFileHandler (String itemplatename, AppContext appContext)

return property file handler@return

Throws
WebException

public synchronized List<String> getSecurityProperties ()

get a list of properties of security page

public Map<String, String> getSecurityPropertyValues (Map<String, String> iNameValuePairs)

get the security properties values

Throws
WebException

public synchronized String getTemplateLocation (String templateName, AppContext iAppContext)

get the template absolute location

public String getXMLProps (String template, AppContext appContext)

Throws
Exception

public synchronized void saveProperties (Map<String, String> iNameValuePairs, String itemplateName, String itemplateType, AppContext iAppcontext)

save the properties in the IPAServer first, it will validate the values of the property

Returns
  • the properties with invalidated value
Throws
WebException

public synchronized void savePropertiesInIPAServer (Map<String, String> iNameValuePairs, String itemplateName, String itemplateType, AppContext iAppcontext)

Throws
WebException

public synchronized String updateProperties (IPAServer iWebServer, Map<String, IPAServer> iIServerIdToServerMap, AppContext iAppcontext)

update the properties for the local web server, mobile server and i-servers @return

Throws
Exception