| java.lang.Object | ||||
| ↳ | com.microstrategy.web.transform.AbstractTransform | |||
| ↳ | com.microstrategy.web.transform.AbstractLayoutTransform | |||
| ↳ | com.microstrategy.web.app.transforms.AbstractAppTransform | |||
| ↳ | com.microstrategy.web.app.transforms.AbstractSubscriptionEditTransform | |||
Known Direct Subclasses
|
AbstractSubscriptionEditTransform is an abstract class which acts as a super class for all subscription and schedule transforms. Copyright: Copyright (c) 2001
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | FP_FORM_ID | Name for the Formal parameter FP_FORM_ID
|
|||||||||
| String | FP_HELP_TOPIC | Constant specifying the name of the formal parameter for specifying the help topic for the help of the editor | |||||||||
| String | FP_HELP_TYPE | Constant specifying the type of the help file this editor should point to | |||||||||
| String | FP_IMG_DATAMART | Name for the Formal parameter FP_IMG_DATAMART |
|||||||||
| String | FP_IMG_DOCUMENT | Name for the Formal parameter FP_IMG_DOCUMENT
|
|||||||||
| String | FP_IMG_GRAPH | Name for the Formal parameter FP_IMG_GRAPH
|
|||||||||
| String | FP_IMG_GRID | Name for the Formal parameter FP_IMG_GRID
|
|||||||||
| String | FP_IMG_GRID_GRAPH | Name for the Formal parameter FP_IMG_GRID_GRAPH
|
|||||||||
| String | FP_IMG_RW_DOCUMENT | Name for the Formal parameter FP_IMG_RW_DOCUMENT |
|||||||||
| String | FP_PROMPTS_TRANSFORM_STYLE | Name for the Formal parameter FP_PROMPTS_TRANSFORM_STYLE |
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public String | PROMPTS_TRANSFORM_STYLE |
This field is deprecated.
Please use the promptsTransformStyle Formal Parameter instead |
|||||||||
| public final String | SUBSCRIBE_FROM_SAVEAS | ||||||||||
| public final int | VIEW_MODE_BULK_EXPORT | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_CUBE | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_DATAMART | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_DOCUMENT | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_GRAPH | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_GRID | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_GRID_GRAPH | One of the values for the View Mode property in this transform | |||||||||
| public final int | VIEW_MODE_RW_DOCUMENT | One of the values for the View Mode property in this transform | |||||||||
| protected String | _helpTopic | ||||||||||
| protected String | _helpType | ||||||||||
| public FormalParameter | datamartImage | This field is deprecated. We no longer render the images when the user tries to edit/create a new subscription. | |||||||||
| public FormalParameter | documentImage | This field is deprecated. We no longer render the images when the user tries to edit/create a new subscription. | |||||||||
| public FormalParameter | formID | The ID and the name to use for the subscriptions's HTML FORM tag. | |||||||||
| public FormalParameter | graphImage | This field is deprecated. We no longer render the images when the user tries to edit/create a new subscription. | |||||||||
| public FormalParameter | gridGraphImage | This field is deprecated. We no longer render the images when the user tries to edit/create a new subscription. | |||||||||
| public FormalParameter | gridImage | This field is deprecated. We no longer render the images when the user tries to edit/create a new subscription. | |||||||||
| public FormalParameter | helpTopic | Indicates the help topic for the help page of the editor. | |||||||||
| public FormalParameter | helpType | Indicates the type of help topic this editor uses. | |||||||||
| public FormalParameter | promptsTransformStyle | Name of the style to apply for rendering prompts on this transform. | |||||||||
| public FormalParameter | rwDocumentImage | This field is deprecated. We no longer render the images when the user tries to edit/create a new subscription. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
AbstractSubscriptionEditTransform()
Default no argument constructor, initialize formal parameters.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract WebEvent |
getAddEvent()
Event to create a new subscription or schedule.
| ||||||||||
| WebEvent |
getAddressEvent()
The event to open the Narrowcast address page.
| ||||||||||
| abstract SimpleList |
getAvailableTriggers()
List of available triggers.
| ||||||||||
| abstract WebEvent |
getCancelEvent()
The event to cancel the subscription or schedule.
| ||||||||||
| abstract PromptsBean |
getPromptsBean()
Return the prompts bean associated with the SubscriptionBean or ScheduleBean
| ||||||||||
| WebEvent |
getPromptsEvent()
The event to answer prompts.
| ||||||||||
| abstract WebEvent |
getReturnEvent()
The event to execute if the the subscription or schedule is created successfully.
| ||||||||||
| String |
getTitle()
Title for the dialog
| ||||||||||
| abstract int |
getViewMode()
The schedule or subscription view mode.
| ||||||||||
| void |
initializeImages()
Initialize the images to be used by this transform.
| ||||||||||
| void |
initializeTransform(Transformable data)
Extends
initializeTransform by keeping its own copy of the data. | ||||||||||
| boolean |
isRWD()
Determine whether the current object is a RW Document
| ||||||||||
| boolean |
isSubscriptionFromSaveAs()
Returns whether the subscription was triggered from the Save As page.
| ||||||||||
| void |
renderExecuteButtons(MarkupOutput out)
Render the execute buttons (Ok-Cancel)
| ||||||||||
| void |
renderFormEnd(MarkupOutput out, boolean hasOpenPrompts)
Renders the FORM end tag.
| ||||||||||
| void |
renderFormStart(MarkupOutput out, boolean hasOpenPrompts)
Renders the FORM start tag.
| ||||||||||
| void |
renderIconPane(MarkupOutput out)
This method is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
| ||||||||||
| void |
renderImage(MarkupOutput out, String image)
Renders an image for this transform
| ||||||||||
| void |
renderPrompts(MarkupOutput out)
Render the prompts content.
| ||||||||||
| abstract void |
renderSchedulePane(MarkupOutput out)
Renders the pane containing the list of schedules
| ||||||||||
| void |
setSubscribeFromSaveAs(boolean subscribeFromSaveAs)
Sets the value of the SubscribeFromSaveAs from the request to a property of the transform
| ||||||||||
| boolean |
supports(Transformable data)
Overwrites
supports by only supporting Subscription and Schedule Beans. | ||||||||||
| boolean |
supports(Class type)
Overwrites
supports by only supporting Subscription and Schedule Beans. | ||||||||||
| void |
transformForRequestSuccessful(MarkupOutput out)
Transform when the bean status is "Successful".
| ||||||||||
| void |
transformForRequestWaitingForUserInput(MarkupOutput out)
Transform when the bean status is "WaitingForUserInput".
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Tag | getDivButtonBar() | ||||||||||
| abstract WebEvent | getPersonalizationLinkEvent() | ||||||||||
| TransformInstance |
getPromptsTransform(PromptsBean promptsBean)
Return the transform instance associated with the promptsBean.
| ||||||||||
| abstract WebEvent | getUpdatePropertiesEvent() | ||||||||||
| void | initHelp() | ||||||||||
| void |
renderCancelButton(MarkupOutput out)
Renders the Cancel button for the wait page.
| ||||||||||
| boolean |
shouldDisplay()
Determines whether the transform should render itself or not.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
From class
com.microstrategy.web.transform.AbstractLayoutTransform
| |||||||||||
From class
com.microstrategy.web.transform.AbstractTransform
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.app.transforms.AppTransform
| |||||||||||
From interface
com.microstrategy.web.transform.Transform
| |||||||||||
Name for the Formal parameter FP_FORM_ID
Constant specifying the name of the formal parameter for specifying the help topic for the help of the editor
Constant specifying the type of the help file this editor should point to
Name for the Formal parameter FP_IMG_DATAMART
Name for the Formal parameter FP_IMG_DOCUMENT
Name for the Formal parameter FP_IMG_GRAPH
Name for the Formal parameter FP_IMG_GRID
Name for the Formal parameter FP_IMG_GRID_GRAPH
Name for the Formal parameter FP_IMG_RW_DOCUMENT
Name for the Formal parameter FP_PROMPTS_TRANSFORM_STYLE
This field is deprecated.
Please use the promptsTransformStyle Formal Parameter instead
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
One of the values for the View Mode property in this transform
This field is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Name of the image used to depict a subscription to a datamart.
This field is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Name of the image used to depict a subscription to a document.
This field is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Name of the image used to depict a subscription to a graph.
This field is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Name of the image used to depict a subscription to a grid-graph.
This field is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Name of the image used to depict a subscription to a grid.
Name of the style to apply for rendering prompts on this transform.
This field is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Name of the image used to depict a subscription to a report writing document.
Default no argument constructor, initialize formal parameters.
Event to create a new subscription or schedule.
The event to open the Narrowcast address page.
List of available triggers.
The event to cancel the subscription or schedule.
Return the prompts bean associated with the SubscriptionBean or ScheduleBean
The event to answer prompts.
EnumPromptsBeanEvents.PROMPTS_EVENT_PROCESS_ALL_PROMPTS event.
The event to execute if the the subscription or schedule is created successfully.
Title for the dialog
The schedule or subscription view mode.
Possible values are VIEW_MODE_GRID, VIEW_MODE_GRAPH, VIEW_MODE_GRID_GRAPH or VIEW_MODE_DOCUMENT.
Initialize the images to be used by this transform.
Extends initializeTransform by keeping its own copy of the data.
This method initializes the private and protected fields of the transform.
It also invokes the initializeTransform method of the parent.
| data | the bean to transform. |
|---|
Determine whether the current object is a RW Document
Returns whether the subscription was triggered from the Save As page.
Render the execute buttons (Ok-Cancel)
| out | The transform's output. |
|---|
Renders the FORM end tag.
| out | Output by this transform |
|---|---|
| hasOpenPrompts | true if there are open prompts in this subscription. |
Renders the FORM start tag.
| out | Output by this transform. |
|---|---|
| hasOpenPrompts | true if there are open prompts in this subscription. |
This method is deprecated.
We no longer render the images when the user tries to edit/create a new subscription.
Renders The icon pane, based on the view mode
| out | the transform's output. |
|---|
Renders an image for this transform
| out | The transform's output. |
|---|---|
| image | The image name |
Render the prompts content.
It just ask the prompts bean to transform itself using the PROMPTS_TRANSFORM_STYLE style.
| out | the transform's output. |
|---|
Renders the pane containing the list of schedules
| out | The transform's output. |
|---|
Sets the value of the SubscribeFromSaveAs from the request to a property of the transform
| subscribeFromSaveAs | boolean |
|---|
Overwrites supports by only supporting Subscription and Schedule Beans.
| data | The bean to transform. |
|---|
Overwrites supports by only supporting Subscription and Schedule Beans.
| type | The bean type. |
|---|
Transform when the bean status is "Successful". Just calls transformForRequestWaitingForUserInput, which is the correct status. This transform, after collecting and saving the information, expects to go back to its previous page.
| out | Output by this transform |
|---|
Transform when the bean status is "WaitingForUserInput". This is the main state when creating a new subscrription or schedule.
| out | Output by this transform. |
|---|
Return the transform instance associated with the promptsBean.
If the Formal Parameter FP_PROMPTS_TRANSFORM_STYLE is set, it will
add that style to the bean and return the transform instance.
If not, it will return a new instance of PromptsSubscriptionTransform.
| promptsBean | the prompts bean to transform |
|---|
Renders the Cancel button for the wait page.
It calls getCancelEvent() to obtain the event for the button
The button is not rendered if:
- getCancelEvent() returns null
- processingButtonsFlags does not have PROCESSING_BUTTONS_CANCEL
| out | output for this transform |
|---|
Determines whether the transform should render itself or not. Returns the result of !isIFrameRequest() or the result
of the hasChanged() method.