public class

IPAAdminWidgetPropertiesMgr

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

Class Overview

reimplement the functionalities in DeployWidgetTask reference to DeployWidgetTask

Summary

Nested Classes
class IPAAdminWidgetPropertiesMgr.IPADeployWidgetsResult  
Constants
String ATTR_TYPE
String ATTR_VALUE
String NODE_NAME
String ROOT_NAME
Public Methods
String getDescriptor(int key, AppContext appContext)
Returns a descriptor based on a key
static IPAAdminWidgetPropertiesMgr getInstance()
synchronized List<String> getProperties()
get properties
synchronized boolean isWidgetPropertiesChanged(String itemplateName, Map<String, String> iNameValuePairs, AppContext iAppContext)
Protected Methods
synchronized Map<String, String> getInvalidateProperties()
synchronized void saveProperties(Map<String, String> iNameValuePairs, AppContext iAppContext, SmartProperties props)
save properties of deploy widgets@return
synchronized String updateProperties(Map<String, String> iNameValuePairs, AppContext iAppContext)
the entry point for update properties of the deploy widget page
void updateWidgetsCssFile(AppContext appContext, String cssFilePath, Widget newWidget)
Updates the css file where the icon for widgets is defined.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String ATTR_TYPE

Constant Value: "type"

public static final String ATTR_VALUE

Constant Value: "value"

public static final String NODE_NAME

Constant Value: "result"

public static final String ROOT_NAME

Constant Value: "results"

Public Methods

public String getDescriptor (int key, AppContext appContext)

Returns a descriptor based on a key

Parameters
key the descriptor's key
appContext the AppContext object
Returns
  • a descriptor based on a key

public static IPAAdminWidgetPropertiesMgr getInstance ()

public synchronized List<String> getProperties ()

get properties

public synchronized boolean isWidgetPropertiesChanged (String itemplateName, Map<String, String> iNameValuePairs, AppContext iAppContext)

Throws
IOException

Protected Methods

protected synchronized Map<String, String> getInvalidateProperties ()

protected synchronized void saveProperties (Map<String, String> iNameValuePairs, AppContext iAppContext, SmartProperties props)

save properties of deploy widgets@return

protected synchronized String updateProperties (Map<String, String> iNameValuePairs, AppContext iAppContext)

the entry point for update properties of the deploy widget page

Throws
IOException

protected void updateWidgetsCssFile (AppContext appContext, String cssFilePath, Widget newWidget)

Updates the css file where the icon for widgets is defined. (i.e. mstr.css)

Parameters
appContext the AppContext object
cssFilePath the path to the css file
newWidget the new Widget object