Class AbstractSubscriptionsEditorTransform
- java.lang.Object
 - 
- com.microstrategy.web.transform.AbstractTransform
 - 
- com.microstrategy.web.transform.AbstractLayoutTransform
 - 
- com.microstrategy.web.app.transforms.AbstractAppTransform
 - 
- com.microstrategy.web.app.transforms.AbstractEditorTransform
 - 
- com.microstrategy.web.app.transforms.AbstractSubscriptionsEditorTransform
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 AppTransform,Transform
- Direct Known Subclasses:
 SubscriptionsEditorMobileTransform,SubscriptionsEditorNCCacheTransform,SubscriptionsEditorNCFileTransform,SubscriptionsEditorNCFTPTransform,SubscriptionsEditorNCPrintTransform,SubscriptionsEditorNCSendNowTransform,SubscriptionsEditorNCTransform,SubscriptionsEditorPersonalViewTransform,SubscriptionsEditorTransform
public abstract class AbstractSubscriptionsEditorTransform extends AbstractEditorTransform
This class is the base class for the Editors used for subscription.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description classAbstractSubscriptionsEditorTransform.RecipientContext- 
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFP_OBJECT_INFO_STYLEName for the formal parameter:objectInfoStyleFormalParameterobjectInfoStyleFormal parameter: Indicate which style should be used for rendering the object information- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractEditorTransform
_helpTopic, _helpType, applyJS, applyLabel, applyLabelID, canAutoSize, cancelJS, cancelLabel, cancelLabelID, closeEvent, closeImage, closeJS, closeLabel, closeLabelID, dhtmlClose, disableOKButton, editorContentsStyle, editorElements, editorLayoutFile, editorSubType, FP_APPLY_JS, FP_APPLY_LABEL, FP_APPLY_LABEL_ID, FP_CAN_AUTO_SIZE, FP_CANCEL_JS, FP_CANCEL_LABEL, FP_CANCEL_LABEL_ID, FP_CLOSE_EVENT, FP_CLOSE_IMAGE, FP_CLOSE_JS, FP_CLOSE_LABEL, FP_CLOSE_LABEL_ID, FP_DHTML_CLOSE, FP_DISABLE_OK_BUTTON, FP_EDITOR_CONTENTS_STYLE, FP_EDITOR_ELEMENTS, FP_EDITOR_LAYOUT_FILE, FP_EDITOR_SUBTYPE, FP_HELP_PAGE, FP_HELP_TOPIC, FP_HELP_TYPE, FP_INCLUDE_DYNAMIC_SCRIPT, FP_NAVIGATE_ON_SUBMIT, FP_OK_JS, FP_OK_LABEL, FP_OK_LABEL_ID, FP_RENDER_FORM, FP_TITLE_LABEL, FP_TITLE_LABEL_ID, FP_USE_JS_IN_BONE, helpPage, helpTopic, helpType, includeDynamicScript, navigateOnSubmit, okJS, okLabel, okLabelID, renderForm, titleLabel, titleLabelID 
- 
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AbstractSubscriptionsEditorTransform()Default no-args constructor, initialize formal parameters. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected AnchorTaggenerateAnchor(WebEvent event)Overwrites the parent method by setting a default css class and to include the typical information regardless of its DHTML environment (thus disabling any default onclick definition)protected TaggenerateForm()protected WebEventgetCancelEvent()Returns the Save As event after setting a couple of arguments specific to the transform.java.lang.StringgetDescription()Returns the textual description of current transform class.protected WebEventgetOverwriteEvent()Returns the event for overwrite dialog after setting a couple of arguments specific to the transform.protected WebEventgetSaveEvent()Returns the Save As event after setting a couple of arguments specific to the transform.abstract java.lang.StringgetSaveMessage()Returns a string containing an error messageabstract java.lang.StringgetSubscriptionCountMessage()Get the message for the Subscriptions count.SubscriptionEditorBeangetSubscriptionEditorBean()Returns current instance of SubscriptionEditorBean being transformed.WebEventgetSubscriptionsEvent()Gets the subscriptions eventjava.lang.ClassgetSupportedBeanType()Returns the supported bean type.protected WebEventgetUpdatePropertiesEvent(SubscriptionBean sb)protected voidinitEditor(Editor editor)Initialize the editor with the global settings.voidinitializeCss()Initialize the CSS classes to be used by this transform.voidinitializeTransform(Transformable data)This method initialize the private and protected fields of the transform.abstract booleanisDisabled()Specifies whether or not this transform has been disabled.voidrenderAreYouSure(MarkupOutput out)voidrenderCancelButton(MarkupOutput out)Renders the Cancel button for the wait page.voidrenderDuplicateMessage(MarkupOutput out)voidrenderEditorContents(MarkupOutput out)Generates the graphical output for the Subscription Editor BeanvoidrenderEditorMessage(MarkupOutput out)Include JavaScript code needed for this component.voidrenderErrorMessage(MarkupOutput out)protected voidrenderHiddenInputs(MarkupOutput out)protected voidrenderJavascript(MarkupOutput out)This method should be used by the Editor transforms to generate any javascript necessary.voidrenderMobileMessage(MarkupOutput out)voidrenderOverwriteMessage(MarkupOutput out)Renders the Overwrite message text in the dialog.voidrenderOverwriteObjectInfo(MarkupOutput out)Renders the Object information for the overwrite dialog.voidrenderOverwriteTitle(MarkupOutput out)Renders the message that appears to display as a title on the overwrite subscription mode.voidrenderOverwriteTriggerInfo(MarkupOutput out)The methdos renders the schedule's triggervoidrenderOverwriteWarningMessage(MarkupOutput out)Renders the overwrite warning message in a div.voidrenderSaveButton(MarkupOutput out)voidrenderSaveMessage(MarkupOutput out)voidrenderSubscriptionsCountMessage(MarkupOutput out)Renders the message "You have ## subscriptions to this report."abstract voidrenderSusbcriptionDialog(MarkupOutput out)Generates the graphical output for the content of the Subscription Editor Beanprotected voidsetWidgetCommonProperties(com.microstrategy.web.app.transforms.DefaultSubscriptionWidget widget, WebEvent event)setWidgetCommonPropertiesprotected voidsetWidgetFileAndPrintProperties(SubscriptionFileWidget widget, WebEvent event)setWidgetFileAndPrintProperties- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractEditorTransform
getDivTagAroundContents, getEditorTitle, getOnSubmitJS, getWebBeanErrorInfo, initHelp, renderEditor, renderEditorElement, setFocusFieldId, transformForRequestInError, transformForRequestSuccessful 
- 
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getClientSideHelper, getContainerServices, getContext, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, hasSubBlock, initHeightAndWidthFromPreferences, initializeImages, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout 
- 
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports 
 - 
 
 - 
 
- 
- 
Field Detail
- 
objectInfoStyle
public FormalParameter objectInfoStyle
Formal parameter: Indicate which style should be used for rendering the object information- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
FP_OBJECT_INFO_STYLE
public static final java.lang.String FP_OBJECT_INFO_STYLE
Name for the formal parameter:objectInfoStyle- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
initializeTransform
public void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.- Specified by:
 initializeTransformin interfaceAppTransform- Overrides:
 initializeTransformin classAbstractEditorTransform- Parameters:
 data- bean that will be transformed
 
- 
renderJavascript
protected void renderJavascript(MarkupOutput out)
Description copied from class:AbstractEditorTransformThis method should be used by the Editor transforms to generate any javascript necessary.
The default implementation includes a call to theClientSideHelperto render the dynamic scrips and the registerBone call.- Overrides:
 renderJavascriptin classAbstractEditorTransform- Parameters:
 out-MarkupOutputwhere the output should be rendered.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
initializeCss
public void initializeCss()
Initialize the CSS classes to be used by this transform.- Overrides:
 initializeCssin classAbstractAppTransform
 
- 
renderEditorContents
public void renderEditorContents(MarkupOutput out)
Generates the graphical output for the Subscription Editor Bean- Specified by:
 renderEditorContentsin classAbstractEditorTransform- Parameters:
 out-MarkupOutputinstance where to create the HTML output.
 
- 
renderSusbcriptionDialog
public abstract void renderSusbcriptionDialog(MarkupOutput out)
Generates the graphical output for the content of the Subscription Editor Bean- Parameters:
 out-MarkupOutputinstance where to create the HTML output.
 
- 
renderEditorMessage
public void renderEditorMessage(MarkupOutput out)
Include JavaScript code needed for this component.- Parameters:
 out- where to write output.
 
- 
renderSubscriptionsCountMessage
public void renderSubscriptionsCountMessage(MarkupOutput out)
Renders the message "You have ## subscriptions to this report."- Parameters:
 out- The HTML output
 
- 
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Overwrites the parent method by setting a default css class and to include the typical information regardless of its DHTML environment (thus disabling any default onclick definition)- Overrides:
 generateAnchorin classAbstractAppTransform- Parameters:
 event-WebEventinstance to use as base for the link- Returns:
 AnchorTaginstance initialized with the event information
 
- 
renderErrorMessage
public void renderErrorMessage(MarkupOutput out)
- Parameters:
 out- MarkupOutput
 
- 
getSaveMessage
public abstract java.lang.String getSaveMessage()
Returns a string containing an error message- Returns:
 - String
 
 
- 
renderSaveMessage
public void renderSaveMessage(MarkupOutput out)
- Parameters:
 out- MarkupOutput
 
- 
getSaveEvent
protected WebEvent getSaveEvent()
Returns the Save As event after setting a couple of arguments specific to the transform.- Returns:
 - WebEvent - corresponding to save
 
 
- 
getCancelEvent
protected WebEvent getCancelEvent()
Returns the Save As event after setting a couple of arguments specific to the transform.- Overrides:
 getCancelEventin classAbstractAppTransform- Returns:
 - the cancel event
 
 
- 
renderCancelButton
public void renderCancelButton(MarkupOutput out)
Description copied from class:AbstractAppTransformRenders the Cancel button for the wait page.
It callsAbstractAppTransform.getCancelEvent()to obtain the event for the button
The button is not rendered if:
-AbstractAppTransform.getCancelEvent()returns null
-AbstractAppTransform.processingButtonsFlagsdoes not haveAbstractAppTransform.PROCESSING_BUTTONS_CANCEL- Overrides:
 renderCancelButtonin classAbstractAppTransform- Parameters:
 out- - the MarkupOutput
 
- 
renderSaveButton
public void renderSaveButton(MarkupOutput out)
- Parameters:
 out- MarkupOutput
 
- 
renderOverwriteMessage
public void renderOverwriteMessage(MarkupOutput out)
Renders the Overwrite message text in the dialog.- Parameters:
 out- - the MarkupOutput to be used
 
- 
renderOverwriteWarningMessage
public void renderOverwriteWarningMessage(MarkupOutput out)
Renders the overwrite warning message in a div.- Parameters:
 out- - the MarkupOutput to use
 
- 
renderMobileMessage
public void renderMobileMessage(MarkupOutput out)
- Since:
 - MicroStrategy Web 8.1.1
 
 
- 
renderAreYouSure
public void renderAreYouSure(MarkupOutput out)
- Since:
 - MicroStrategy Web 8.1.1
 
 
- 
renderDuplicateMessage
public void renderDuplicateMessage(MarkupOutput out)
- Since:
 - MicroStrategy Web 8.1.1
 
 
- 
getOverwriteEvent
protected WebEvent getOverwriteEvent()
Returns the event for overwrite dialog after setting a couple of arguments specific to the transform.- Returns:
 - WebEvent corresponding to the Overwrite
 
 
- 
renderOverwriteObjectInfo
public void renderOverwriteObjectInfo(MarkupOutput out)
Renders the Object information for the overwrite dialog.- Parameters:
 out- - MarkupOutput to be used
 
- 
renderOverwriteTriggerInfo
public void renderOverwriteTriggerInfo(MarkupOutput out)
The methdos renders the schedule's trigger- Parameters:
 out- - MarkupOutput to be used
 
- 
renderOverwriteTitle
public void renderOverwriteTitle(MarkupOutput out)
Renders the message that appears to display as a title on the overwrite subscription mode.- Parameters:
 out- MarkupOutput to be used
 
- 
initEditor
protected void initEditor(Editor editor)
Initialize the editor with the global settings.- Overrides:
 initEditorin classAbstractEditorTransform- Parameters:
 editor- Editor instance, abstraction of the container where output is rendered.
 
- 
generateForm
protected Tag generateForm()
- Overrides:
 generateFormin classAbstractEditorTransform- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
isDisabled
public abstract boolean isDisabled()
Specifies whether or not this transform has been disabled.- Returns:
 - true if disabled.
 
 
- 
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Returns the supported bean type.- Specified by:
 getSupportedBeanTypein interfaceTransform- Overrides:
 getSupportedBeanTypein classAbstractAppTransform- Returns:
 - Class 
SubscriptionEditorBean.class 
 
- 
getSubscriptionEditorBean
public SubscriptionEditorBean getSubscriptionEditorBean()
Returns current instance of SubscriptionEditorBean being transformed.- Returns:
 - SubscriptionEditorBean instance.
 
 
- 
getDescription
public java.lang.String getDescription()
Returns the textual description of current transform class.- Returns:
 - String the description of the transform.
 
 
- 
getSubscriptionCountMessage
public abstract java.lang.String getSubscriptionCountMessage()
Get the message for the Subscriptions count.- Returns:
 - Message with the number of subscriptions
 
 
- 
getSubscriptionsEvent
public WebEvent getSubscriptionsEvent()
Gets the subscriptions event- Returns:
 - WebEvent - the WebEventOpenObjectSubscriptions Event
 
 
- 
setWidgetCommonProperties
protected void setWidgetCommonProperties(com.microstrategy.web.app.transforms.DefaultSubscriptionWidget widget, WebEvent event)setWidgetCommonProperties- Parameters:
 widget- DefaultSubscriptionWidgetevent- WebEvent
 
- 
setWidgetFileAndPrintProperties
protected void setWidgetFileAndPrintProperties(SubscriptionFileWidget widget, WebEvent event)
setWidgetFileAndPrintProperties- Parameters:
 widget- SubscriptionFileWidgetevent- WebEvent
 
- 
renderHiddenInputs
protected void renderHiddenInputs(MarkupOutput out)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getUpdatePropertiesEvent
protected WebEvent getUpdatePropertiesEvent(SubscriptionBean sb)
- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -