| 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 | ||||
| ↳ | com.microstrategy.web.app.transforms.SubscriptionEditTransform | ||||
Known Direct Subclasses
|
Known Indirect Subclasses
|
This class renders the output to create/edit an email subscription.
It supports creating email subscriptions for prompted and non-prompted reports. It uses
a SubscriptionBean for this.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | SubscriptionEditTransform.NCSRecipientContext | ||||||||||
| class | SubscriptionEditTransform.RecipientContext | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | FP_SUBSCRIBE_GRAPH_AS_GRIDGRAPH | Name for the formal parameter FP_SUBSCRIBE_GRAPH_AS_GRIDGRAPH
|
|||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractSubscriptionEditTransform
| |||||||||||
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected WebEvent | _addEvent | The event for the creating the subscription | |||||||||
| protected boolean | _allowSubscription | ||||||||||
| protected WebEvent | _cancelEvent | The event for the canceling the current action | |||||||||
| protected boolean | _isUserAllowedToSubscribe | ||||||||||
| protected WebEvent | _personalizationLinkEvent | ||||||||||
| protected WebEvent | _returnEvent | The event for the returning to the previous state | |||||||||
| protected String | _subscribeGraphAsGridGraph | The boolean value to indicate if graphs are to be subscribed as grid-graph. | |||||||||
| protected SubscriptionBean | _subscriptionBean | ||||||||||
| protected WebEvent | _updatePropertiesEvent | ||||||||||
| public FormalParameter | subscribeGraphAsGridGraph | Indicates if graphs are to be subscribed as grid-graph. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractSubscriptionEditTransform
| |||||||||||
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
SubscriptionEditTransform()
Default no argument constructor, initialize formal parameters.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WebEvent |
getAddEvent()
The event to create a new subscription.
| ||||||||||
| WebEvent |
getAddressEvent()
The event to go to the address page.
| ||||||||||
| SimpleList |
getAvailableTriggers()
Return the list of available triggers for subscription.
| ||||||||||
| WebEvent |
getCancelEvent()
The event to cancel the subscription.
| ||||||||||
| WebSubscriptionContentFormat |
getCurrentFormat()
Returns the current format for this subscription used when creating the subscription.
| ||||||||||
| String |
getDescription()
Returns the description of this transform.
| ||||||||||
| PromptsBean |
getPromptsBean()
Return the PromptsBean associated with the SubscriptionBean.
| ||||||||||
| WebEvent |
getReturnEvent()
The event to trigger after the subscription is saved correctly.
| ||||||||||
| SubscriptionWidget |
getSubscriptionWidget()
The subscription widget used to render the subscription pane.
| ||||||||||
| Class |
getSupportedBeanType()
Returns the supported bean type for the transform.
| ||||||||||
| int |
getViewMode()
The subscription view mode.
| ||||||||||
| void |
initializeTransform(Transformable data)
Extends
initializeTransform by keeping its own copy of the data. | ||||||||||
| void |
renderJobExpiredSection(MarkupOutput out)
Renders the job expired section, including an error message and an reexecute button
| ||||||||||
| void |
renderSchedulePane(MarkupOutput out)
Renders the schedule pane for the user to subscribe to a report or document.
| ||||||||||
| void |
renderShell(MarkupOutput out)
Generates the shell for this Transform. | ||||||||||
| boolean |
supports(Class type)
Overrrides
supports by only supporting SubscriptionBean. | ||||||||||
| void |
transformForRequestInError(MarkupOutput out)
Transform when the status is
In Error. | ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WebEvent | getPersonalizationLinkEvent() | ||||||||||
| SubscriptionBean |
getSubscriptionBean()
Return the the SubscriptionBean that this transform is going to transform.
| ||||||||||
| WebEvent | getUpdatePropertiesEvent() | ||||||||||
| void | initWidget(DefaultSubscriptionWidget widget, WebEvent addEvent) | ||||||||||
| void | setExpandLayoutProperties(DefaultSubscriptionWidget widget, WebEvent addEvent) | ||||||||||
| void |
setExpandPageByProperties(DefaultSubscriptionWidget widget, WebEvent addEvent)
setExpandPageByProperties
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractSubscriptionEditTransform
| |||||||||||
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_SUBSCRIBE_GRAPH_AS_GRIDGRAPH
The boolean value to indicate if graphs are to be subscribed as grid-graph.
Indicates if graphs are to be subscribed as grid-graph.
If we are subscribing to a graph and this proerty is set to true, then we will create a subscription
for a grid-grah rather than a graph. This property is usually mapped to a graph preference which
indicates if we want to run all graphs as grid-graphs.
If this formal parameter is set to "1", it will be treated as true.
Default no argument constructor, initialize formal parameters.
The event to create a new subscription.
EnumSubscriptionBeanEvents.SUBSCRIPTION_EVENT_SAVE event
The event to go to the address page.
EnumServletEvents.WebEventNCAddresses event
Return the list of available triggers for subscription.
The event to cancel the subscription.
EnumSubscriptionBeanEvents.SUBSCRIPTION_EVENT_CANCEL event.
Returns the current format for this subscription used when creating the subscription. This could be HTML or EXCEL or PDF or any other such format.
Returns the description of this transform. This is used in the style catalog editor.
Return the PromptsBean associated with the SubscriptionBean.
PromptsBean associated with the SubscriptionBean.
The event to trigger after the subscription is saved correctly.
EnumServletEvents.WebEventCancel event, however
if coming from the SaveAs page, it returns the EnumServletEvents.WebEventOpenObjectSubscriptions,
to go to the list of subscriptions.
The subscription widget used to render the subscription pane.
Returns the supported bean type for the transform.
SubscriptionBean bean for this transform.
The subscription view mode.
Possible values are VIEW_MODE_GRID, VIEW_MODE_GRAPH, VIEW_MODE_GRID_GRAPH or VIEW_MODE_DOCUMENT.
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. |
|---|
Renders the job expired section, including an error message and an reexecute button
| out | Output by this transform |
|---|
Renders the schedule pane for the user to subscribe to a report or document. It uses an instance of the com.microstrategy.web.app.transforms.SubscriptionWidget for this purpose.
| out | Output by this transform. |
|---|
Generates the shell for this Transform.
The shell is a <div> tag that automatically surrounds the content generated
by the Transform. It's used among other things by the javascript to identify the HTML
associated with a bone, and by the iFrame update technology to identify a component
in the page.
<div> are obtained from
the getAttributesShellDiv method; the style from the getStyleShellDiv
method.renderCssLink and checkStatus to
generate the Transform's content.| out | output by this transform |
|---|
Overrrides supports by only supporting SubscriptionBean.
| type | The bean type. |
|---|
Transform when the status is In Error.
Overwrites transformForRequestInError by showing a "The email subscription feature is currently unavailable" message.
| out | Output by this transform |
|---|
Return the the SubscriptionBean that this transform is going to transform.
SubscriptionBean instance| WebBeanException |
|---|
setExpandPageByProperties
| widget | SubscriptionWidget |
|---|---|
| addEvent | WebEvent |