| com.microstrategy.web.objects.WebPromptCustomStyles |
Known Indirect Subclasses
|
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | AQ_PROMPT | ||||||||||
| String | CONSTANT_PROMPT | ||||||||||
| String | ELEMENT_PROMPT | ||||||||||
| String | HIERARCHICAL_PROMPT | ||||||||||
| String | MQ_PROMPT | ||||||||||
| String | OBJECT_PROMPT | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
addCustomStyle(String promptType, String baseStyle, String name, String description)
Add a new custom style.
| ||||||||||
| abstract WebPromptCustomStyle[] | getAllCustomStyles() | ||||||||||
| abstract String[] |
getBaseStyles(String promptType)
Returns the base styles referred by custom styles for a certain prompt type
| ||||||||||
| abstract WebPromptCustomStyle[] |
getCustomStyles(String promptType)
Returns the list of custom styles corresponding to referred prompt type
| ||||||||||
| abstract WebPromptCustomStyle[] |
getCustomStyles(String promptType, String baseStyle)
Returns the list of custom styls corresponding to the referred prompt type and base style.
| ||||||||||
| abstract String[] |
getPromptTypes()
Returns the list of prompt types, for which there is at least one custom styles for.
| ||||||||||
| abstract void |
removeCustomStyle(String promptType, String baseStyle, String name)
Remove a certain custom style from the repository.
| ||||||||||
Add a new custom style. The change will be saved into metadata immediately
| promptType | The type of prompt this style is for. This is a
value of CONSTANT_PROMPT, OBJECT_PROMPT, ELEMENT_PROMPT,
MQ_PROMPT, AQ_PROMPT and HIERARCHICAL_PROMPT. |
|---|---|
| baseStyle | The base style name, which the custom style inherited from. |
| name | The name of the new custom style |
| description | The description of the new custom style |
| WebObjectsException | Exception thrown when error happens during the operation. |
|---|
Returns the base styles referred by custom styles for a certain prompt type
| promptType | the type of prompt this style is for. This is a
value of CONSTANT_PROMPT, OBJECT_PROMPT, ELEMENT_PROMPT,
MQ_PROMPT, AQ_PROMPT and HIERARCHICAL_PROMPT. |
|---|
Returns the list of custom styles corresponding to referred prompt type
| promptType | The prompt type which the returned custom styles defined for. This is a
value of CONSTANT_PROMPT, OBJECT_PROMPT, ELEMENT_PROMPT,
MQ_PROMPT, AQ_PROMPT and HIERARCHICAL_PROMPT. |
|---|
Returns the list of custom styls corresponding to the referred prompt type and base style.
| promptType | The prompt type which the returned custom styles defined for. This is a
value of CONSTANT_PROMPT, OBJECT_PROMPT, ELEMENT_PROMPT,
MQ_PROMPT, AQ_PROMPT and HIERARCHICAL_PROMPT. |
|---|---|
| baseStyle | The base style this custom style inherited from. |
Returns the list of prompt types, for which there is at least one custom styles for.
CONSTANT_PROMPT,
OBJECT_PROMPT, ELEMENT_PROMPT,
MQ_PROMPT, AQ_PROMPT and HIERARCHICAL_PROMPT.
Remove a certain custom style from the repository. The change will be saved to metadata immediately.
| promptType | The type of prompt this style is for. This is a
value of CONSTANT_PROMPT, OBJECT_PROMPT, ELEMENT_PROMPT,
MQ_PROMPT, AQ_PROMPT and HIERARCHICAL_PROMPT. |
|---|---|
| baseStyle | TODO |
| name | The name of the custom style to be removed. |
| WebObjectsException | Exception thrown when error happens during the operation. |
|---|