Class MobileConfigurationManager
- java.lang.Object
-
- com.microstrategy.web.app.mobile.config.MobileConfigurationManager
-
public class MobileConfigurationManager extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLASSNAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
createConfiguration(java.lang.String configXML)
void
deleteConfiguration(java.lang.String configID)
java.lang.String
duplicateConfiguration(java.lang.String srcConfigID, java.lang.String name)
Block
getConfiguration(java.lang.String configID, int blockVersion)
Block
getConfiguration(java.lang.String configID, int blockVersion, int outputType)
Block
getConfigurationBlock(int type, int blockVersion)
Block
getConfigurationCounter(java.lang.String configID)
Block
getConfigurationIndex()
static MobileConfigurationManager
getInstance()
Block
getNewConfiguration(int deviceType, int blockVersion)
void
initialize(AppContext appContext)
This method must be called before this class can be used by clients.boolean
isInitialized()
void
updateConfiguration(java.lang.String configID, java.lang.String configXML)
void
updateConfigurationProperties(java.lang.String configID, java.lang.String configPropsXML)
-
-
-
Field Detail
-
CLASSNAME
public static final java.lang.String CLASSNAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isInitialized
public boolean isInitialized()
-
initialize
public void initialize(AppContext appContext)
This method must be called before this class can be used by clients. It is not thread-safe with respect to the public methods on this class.- Parameters:
appContext
-
-
getInstance
public static MobileConfigurationManager getInstance()
-
getConfigurationIndex
public Block getConfigurationIndex() throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
getNewConfiguration
public Block getNewConfiguration(int deviceType, int blockVersion) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
getConfigurationCounter
public Block getConfigurationCounter(java.lang.String configID) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
getConfiguration
public Block getConfiguration(java.lang.String configID, int blockVersion) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
getConfiguration
public Block getConfiguration(java.lang.String configID, int blockVersion, int outputType) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
createConfiguration
public java.lang.String createConfiguration(java.lang.String configXML) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
updateConfiguration
public void updateConfiguration(java.lang.String configID, java.lang.String configXML) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
updateConfigurationProperties
public void updateConfigurationProperties(java.lang.String configID, java.lang.String configPropsXML) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
duplicateConfiguration
public java.lang.String duplicateConfiguration(java.lang.String srcConfigID, java.lang.String name) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
deleteConfiguration
public void deleteConfiguration(java.lang.String configID) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
getConfigurationBlock
public Block getConfigurationBlock(int type, int blockVersion) throws MobileConfigurationException
- Throws:
MobileConfigurationException
-
-