Class SubscriptionFileWidgetImpl
- java.lang.Object
-
- com.microstrategy.web.app.gui.AbstractGuiElement
-
- com.microstrategy.web.app.transforms.SubscriptionFileWidgetImpl
-
- All Implemented Interfaces:
GuiElement
,SubscriptionFileWidget
- Direct Known Subclasses:
SubscriptionCacheWidgetImpl
,SubscriptionMobileWidgetImpl
public class SubscriptionFileWidgetImpl extends AbstractGuiElement implements SubscriptionFileWidget
- Since:
- MicroStrategy Web 7.5.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CALENDAR_BUTTON
protected static java.lang.String
CONTACTS_PANE
protected static java.lang.String
EXISTING_ADDRESSES_PANE
protected static java.lang.String
NEW_ADDRESSES_PANE
-
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SubscriptionFileWidgetImpl()
Default no arguments constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addToOnLoadJSCalls(java.lang.String jsCall)
protected boolean
canBurst()
protected boolean
checkCompressionEnabled()
protected boolean
displayZipOptions()
java.lang.String
getBurstArg()
WebSubscriptionDeliveryModeProperties
getDeliveryMode()
java.lang.String
getDeviceId()
boolean
getExpandLayouts()
int
getExpandPageBy()
int
getExpandUseSeparateSheets()
java.lang.String
getFileNameArg()
java.lang.String
getFileNameSpaceDelimiterArg()
boolean
getIsDefaultFormatMode()
boolean
getIsExpandPageByAvailable()
boolean
getIsSendNowAvailable()
java.lang.String
getTriggerId()
java.lang.String
getTriggerName()
SimpleList
getTriggers()
boolean
getUseDatasetCache()
protected boolean
getUseDeliveryNotification()
boolean
getUseImmediateDelivery()
boolean
getUseSendPreviewNow()
boolean
isCompressionEnabled()
boolean
isDatasetCacheAvailable()
boolean
isNonSchedulable()
boolean
isPageByChangedorNot()
protected boolean
isRecipientInstance()
boolean
isSendNowSet()
protected void
renderAdvancedOptions(MarkupOutput out)
protected void
renderAdvancedOptionsStart(MarkupOutput out)
protected void
renderBurst(Tag containerTag)
void
renderBurstShoppingCart(MarkupOutput out)
Render schedules Shopping Cartprotected GGCalendar
renderCalendar(MarkupOutput out)
protected void
renderDelimiters(Tag fieldSetSubscription)
protected void
renderDeliveryNotification(Tag parentDiv)
MarkupOutput
renderElement()
Renders the element using the global arguments.protected void
renderFileName(Tag fieldSetSubscription)
void
renderFileNameSpaceDelimiter(Tag divFileName)
protected void
renderFileNameSpaceDelimiterInfoImage(Tag parentDiv)
protected boolean
renderHTMLFormatAsNone()
protected void
renderInfoImage(Tag parentDiv)
protected void
renderInfoImage(Tag parentDiv, boolean isSubfolder)
protected void
renderLocations(MarkupOutput out)
protected void
renderObjectName(MarkupOutput out, java.lang.String name)
protected void
renderOnLoadJavascript(MarkupOutput out)
protected void
renderSendNow(Tag fieldSetSubscription)
protected void
renderSendNowTrigger(SelectTag selectTag, boolean sendNowSelected)
protected void
renderSendPreviewCheckbox(Tag fieldSetSubscription)
protected Tag
renderSingleSelect(java.lang.String labelText, java.lang.String arg, java.util.Map<java.lang.String,java.lang.String> options, java.lang.String selected)
protected void
renderSubscriptionAndTrigger(Tag fieldSetSubscription)
protected void
renderSubscriptionName(MarkupOutput out)
protected void
renderSubscriptionType(MarkupOutput out)
protected void
setBoneProperties(JsonGenerator bone)
void
setCompressionEnabled(boolean compressionEnabled)
void
setCompressionEnabled(boolean value)
protected void
setCompressionOptions()
Iterates through all available formats and sets the displayZip variable which will be used while rendering the zip optionsvoid
setContactsBrowserbean(ContactsBrowserBean bean)
void
setContactsBrowserbean(ContactsBrowserBean bean)
void
setContextMenuManager(ContextMenuManager contextMenuManager)
void
setContextMenuManager(ContextMenuManager contextMenuManager)
void
setDatasetCacheAailable(boolean isDatasetCacheAvailable)
void
setDatasetCacheAailable(boolean isDatasetCacheAvailable)
void
setExpandLayouts(boolean val)
void
setExpandLayouts(boolean value)
void
setExpandPageBy(int value)
void
setExpandPageBy(int value)
void
setExpandUseSeparateSheets(int value)
void
setExpandUseSeparateSheets(int value)
void
setIsBulkExport(boolean value)
void
setIsCustomMessageAvailable(boolean value)
void
setIsCustomMessageAvailable(boolean value)
void
setIsDefaultFormatMode(boolean value)
void
setIsDefaultFormatMode(boolean value)
void
setIsDeliveryNotificationAvailable(boolean value)
void
setIsExpandLayoutsAvailable(boolean value)
void
setIsExpandLayoutsAvailable(boolean value)
void
setIsExpandPageByAvailable(boolean value)
void
setIsExpandPageByAvailable(boolean value)
void
setIsNonSchedulable(boolean isNonSchedulable)
void
setIsNonSchedulable(boolean isNonSchedulable)
void
setIsSendNowAvailable(boolean value)
void
setIsSendNowAvailable(boolean value)
void
setPageByChanged(boolean value)
void
setPageByChanged(boolean value)
void
setSendNow(boolean value)
void
setSendNow(boolean value)
void
setSubscriptionObjectViewType(int subscriptionObjectViewType)
void
setSubscriptionObjectViewType(int subscriptionObjectViewType)
void
setTransformContextMap(java.util.Map tcMap)
void
setTransformContextMap(java.util.Map map)
void
setTriggerId(java.lang.String value)
void
setTriggerId(java.lang.String value)
void
setTriggers(SimpleList value)
void
setTriggers(SimpleList value)
void
setUseDatasetCache(boolean isUseDatasetCache)
void
setUseDatasetCache(boolean useDatasetCache)
void
setUseImmediateDelivery(boolean immediateDelivery)
void
setUseImmediateDelivery(boolean immediateDelivery)
void
setUseSendPreviewNow(boolean sendPreviewNow)
void
setUseSendPreviewNow(boolean sendPreviewNow)
void
setWebComponent(WebComponent value)
set theWebComponent
object associated with this gui elementprotected boolean
shouldRenderHTMLFormat()
-
Methods inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
getAppContext, getDescriptor, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getTagsFactory, getUseIFrame, getWebComponent, isDhtml, isIFrameEnabled, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, renderElement, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame
-
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.app.gui.GuiElement
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getUseIFrame, getWebComponent, renderElement, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent
-
-
-
-
Method Detail
-
renderElement
public MarkupOutput renderElement()
Renders the element using the global arguments.- Specified by:
renderElement
in interfaceGuiElement
- Returns:
- a
MarkupOutput
with the Subscription Widget.
-
renderFileName
protected void renderFileName(Tag fieldSetSubscription)
-
renderSubscriptionType
protected void renderSubscriptionType(MarkupOutput out)
-
renderSubscriptionAndTrigger
protected void renderSubscriptionAndTrigger(Tag fieldSetSubscription)
-
renderSendNow
protected void renderSendNow(Tag fieldSetSubscription)
-
setIsBulkExport
public void setIsBulkExport(boolean value)
- Specified by:
setIsBulkExport
in interfaceSubscriptionFileWidget
-
getUseDeliveryNotification
protected boolean getUseDeliveryNotification()
-
setIsDeliveryNotificationAvailable
public void setIsDeliveryNotificationAvailable(boolean value)
- Specified by:
setIsDeliveryNotificationAvailable
in interfaceSubscriptionFileWidget
-
renderDeliveryNotification
protected void renderDeliveryNotification(Tag parentDiv)
-
checkCompressionEnabled
protected boolean checkCompressionEnabled()
-
renderLocations
protected void renderLocations(MarkupOutput out)
-
displayZipOptions
protected boolean displayZipOptions()
-
renderSendNowTrigger
protected void renderSendNowTrigger(SelectTag selectTag, boolean sendNowSelected)
-
setTriggers
public abstract void setTriggers(SimpleList value)
-
setTriggerId
public abstract void setTriggerId(java.lang.String value)
-
setIsSendNowAvailable
public abstract void setIsSendNowAvailable(boolean value)
-
setUseImmediateDelivery
public abstract void setUseImmediateDelivery(boolean immediateDelivery)
-
setCompressionEnabled
public abstract void setCompressionEnabled(boolean value)
-
setUseSendPreviewNow
public abstract void setUseSendPreviewNow(boolean sendPreviewNow)
-
setIsNonSchedulable
public abstract void setIsNonSchedulable(boolean isNonSchedulable)
-
setUseDatasetCache
public abstract void setUseDatasetCache(boolean isUseDatasetCache)
-
setIsCustomMessageAvailable
public abstract void setIsCustomMessageAvailable(boolean value)
-
setSubscriptionObjectViewType
public abstract void setSubscriptionObjectViewType(int subscriptionObjectViewType)
-
setIsExpandPageByAvailable
public abstract void setIsExpandPageByAvailable(boolean value)
-
setExpandPageBy
public abstract void setExpandPageBy(int value)
-
setIsDefaultFormatMode
public abstract void setIsDefaultFormatMode(boolean value)
-
setExpandUseSeparateSheets
public abstract void setExpandUseSeparateSheets(int value)
-
setTransformContextMap
public abstract void setTransformContextMap(java.util.Map map)
-
setContactsBrowserbean
public abstract void setContactsBrowserbean(ContactsBrowserBean bean)
-
setContextMenuManager
public abstract void setContextMenuManager(ContextMenuManager contextMenuManager)
-
setIsExpandLayoutsAvailable
public abstract void setIsExpandLayoutsAvailable(boolean value)
-
setExpandLayouts
public abstract void setExpandLayouts(boolean value)
-
setSendNow
public abstract void setSendNow(boolean value)
-
setPageByChanged
public abstract void setPageByChanged(boolean value)
-
setDatasetCacheAailable
public abstract void setDatasetCacheAailable(boolean isDatasetCacheAvailable)
-
renderSendPreviewCheckbox
protected void renderSendPreviewCheckbox(Tag fieldSetSubscription)
-
setTriggers
public void setTriggers(SimpleList value)
-
getTriggers
public SimpleList getTriggers()
-
setTriggerId
public void setTriggerId(java.lang.String value)
-
getTriggerId
public java.lang.String getTriggerId()
-
getTriggerName
public java.lang.String getTriggerName()
-
setSendNow
public void setSendNow(boolean value)
-
setPageByChanged
public void setPageByChanged(boolean value)
-
isSendNowSet
public boolean isSendNowSet()
-
isPageByChangedorNot
public boolean isPageByChangedorNot()
-
isDatasetCacheAvailable
public boolean isDatasetCacheAvailable()
-
setDatasetCacheAailable
public void setDatasetCacheAailable(boolean isDatasetCacheAvailable)
-
setIsSendNowAvailable
public void setIsSendNowAvailable(boolean value)
-
getIsSendNowAvailable
public boolean getIsSendNowAvailable()
-
getUseImmediateDelivery
public boolean getUseImmediateDelivery()
-
setUseImmediateDelivery
public void setUseImmediateDelivery(boolean immediateDelivery)
-
setUseSendPreviewNow
public void setUseSendPreviewNow(boolean sendPreviewNow)
-
getUseSendPreviewNow
public boolean getUseSendPreviewNow()
-
setUseDatasetCache
public void setUseDatasetCache(boolean useDatasetCache)
-
getUseDatasetCache
public boolean getUseDatasetCache()
-
setIsNonSchedulable
public void setIsNonSchedulable(boolean isNonSchedulable)
-
isNonSchedulable
public boolean isNonSchedulable()
-
renderSubscriptionName
protected void renderSubscriptionName(MarkupOutput out)
-
renderInfoImage
protected void renderInfoImage(Tag parentDiv)
-
renderInfoImage
protected void renderInfoImage(Tag parentDiv, boolean isSubfolder)
-
getDeliveryMode
public WebSubscriptionDeliveryModeProperties getDeliveryMode()
-
renderFileNameSpaceDelimiter
public void renderFileNameSpaceDelimiter(Tag divFileName)
-
renderFileNameSpaceDelimiterInfoImage
protected void renderFileNameSpaceDelimiterInfoImage(Tag parentDiv)
-
getFileNameArg
public java.lang.String getFileNameArg()
-
getFileNameSpaceDelimiterArg
public java.lang.String getFileNameSpaceDelimiterArg()
-
getBurstArg
public java.lang.String getBurstArg()
-
setBoneProperties
protected void setBoneProperties(JsonGenerator bone)
-
renderBurst
protected void renderBurst(Tag containerTag)
-
canBurst
protected boolean canBurst()
-
renderBurstShoppingCart
public void renderBurstShoppingCart(MarkupOutput out)
Render schedules Shopping Cart- Parameters:
out
-
-
renderSingleSelect
protected Tag renderSingleSelect(java.lang.String labelText, java.lang.String arg, java.util.Map<java.lang.String,java.lang.String> options, java.lang.String selected)
-
renderObjectName
protected void renderObjectName(MarkupOutput out, java.lang.String name)
-
setCompressionOptions
protected void setCompressionOptions()
Iterates through all available formats and sets the displayZip variable which will be used while rendering the zip options
-
renderDelimiters
protected void renderDelimiters(Tag fieldSetSubscription)
-
renderHTMLFormatAsNone
protected boolean renderHTMLFormatAsNone()
-
renderOnLoadJavascript
protected void renderOnLoadJavascript(MarkupOutput out)
-
addToOnLoadJSCalls
protected void addToOnLoadJSCalls(java.lang.String jsCall)
-
getDeviceId
public java.lang.String getDeviceId()
-
setIsCustomMessageAvailable
public void setIsCustomMessageAvailable(boolean value)
-
setSubscriptionObjectViewType
public void setSubscriptionObjectViewType(int subscriptionObjectViewType)
-
setIsExpandPageByAvailable
public void setIsExpandPageByAvailable(boolean value)
-
getIsExpandPageByAvailable
public boolean getIsExpandPageByAvailable()
-
setExpandPageBy
public void setExpandPageBy(int value)
-
getExpandPageBy
public int getExpandPageBy()
-
setIsDefaultFormatMode
public void setIsDefaultFormatMode(boolean value)
-
getIsDefaultFormatMode
public boolean getIsDefaultFormatMode()
-
setExpandUseSeparateSheets
public void setExpandUseSeparateSheets(int value)
-
getExpandUseSeparateSheets
public int getExpandUseSeparateSheets()
-
setExpandLayouts
public void setExpandLayouts(boolean val)
-
getExpandLayouts
public boolean getExpandLayouts()
-
setIsExpandLayoutsAvailable
public void setIsExpandLayoutsAvailable(boolean value)
-
renderAdvancedOptions
protected void renderAdvancedOptions(MarkupOutput out)
-
renderAdvancedOptionsStart
protected void renderAdvancedOptionsStart(MarkupOutput out)
-
renderCalendar
protected GGCalendar renderCalendar(MarkupOutput out)
-
setWebComponent
public void setWebComponent(WebComponent value)
Description copied from class:AbstractGuiElement
set theWebComponent
object associated with this gui element- Specified by:
setWebComponent
in interfaceGuiElement
- Overrides:
setWebComponent
in classAbstractGuiElement
- Parameters:
value
- theWebComponent
object
-
setContactsBrowserbean
public void setContactsBrowserbean(ContactsBrowserBean bean)
-
isCompressionEnabled
public boolean isCompressionEnabled()
-
setCompressionEnabled
public void setCompressionEnabled(boolean compressionEnabled)
-
isRecipientInstance
protected boolean isRecipientInstance()
-
setTransformContextMap
public void setTransformContextMap(java.util.Map tcMap)
-
setContextMenuManager
public void setContextMenuManager(ContextMenuManager contextMenuManager)
-
shouldRenderHTMLFormat
protected boolean shouldRenderHTMLFormat()
-
-