Package com.microstrategy.web.app.gui
Class SubscriptionPrintWidgetImpl
- java.lang.Object
-
- com.microstrategy.web.app.gui.AbstractGuiElement
-
- com.microstrategy.web.app.gui.SubscriptionFileWidgetImpl
-
- com.microstrategy.web.app.gui.SubscriptionPrintWidgetImpl
-
- All Implemented Interfaces:
DefaultSubscriptionWidget
,GuiElement
,SubscriptionFileWidget
,SubscriptionPrintWidget
,SubscriptionWidget
public class SubscriptionPrintWidgetImpl extends SubscriptionFileWidgetImpl implements SubscriptionPrintWidget
Title: SubscriptionPrintWidgetImpl.
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
- MicroStrategy Web 7.5.1
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CONTACTS_PANE
protected static java.lang.String
EXISTING_ADDRESSES_PANE
protected boolean
isDHTML
protected static java.lang.String
NEW_ADDRESSES_PANE
-
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent
-
Fields inherited from interface com.microstrategy.web.app.gui.SubscriptionWidget
ADDRESS_CONTACT, ADDRESS_EXISTING, ADDRESS_NEW
-
-
Constructor Summary
Constructors Constructor Description SubscriptionPrintWidgetImpl()
Default no arguments constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getAddressArg()
SimpleList
getAddresses()
java.lang.String
getAddressId()
java.lang.String
getAddressTypeArg()
java.lang.String
getAllowChangeDeliverySettingsArg()
java.lang.String
getAllowChangePersonalizationArg()
java.lang.String
getAllowUnsubscribeArg()
SimpleList
getAvailableFormats()
Returns all the available formats for subscription in this system.SimpleList
getAvailableLocations()
int
getChangeableMask()
value fromEnumDSSXMLNCSAllowChangeMaskType
java.lang.String
getChangeableMaskArg()
java.lang.String
getCollatedArg()
boolean
getCompressed()
Returns true if the current subscription is supposed to be delivered in the compressed(zipped) format.java.lang.String
getCompressedArg()
java.lang.String
getCompressedFileName()
java.lang.String
getCompressedFileNameArg()
java.lang.String
getCopiesArg()
WebSubscriptionContentFormat
getCurrentFormat()
Returns the current format for this subscription used when creating the subscription.java.lang.String
getCustomMessage()
java.lang.String
getCustomMessageArg()
java.lang.String
getDeviceArg()
java.lang.String
getDeviceId()
SimpleList
getDevices()
int
getExpandPageBy()
java.lang.String
getExpandPageByArg()
int
getExpandUseSeparateSheets()
java.lang.String
getExpandUseSeparateSheetsArg()
java.lang.String
getExpirationDate()
java.lang.String
getExpirationDateArg()
java.lang.String
getFormatArg()
java.lang.String
getImageBasePath()
java.lang.String
getIncludeDataArg()
java.lang.String
getIncludeLinkArg()
int
getInitialiIndent()
boolean
getIsCollated()
boolean
getIsCreateEmailAvailable()
boolean
getIsCustomMessageAvailable()
boolean
getIsDeliveryNotificationAvailable()
boolean
getIsExpandPageByAvailable()
boolean
getIsPortrait()
boolean
getIsRWD()
boolean
getIsSendNowAvailable()
java.lang.String
getLocationArg()
java.lang.String
getLocationID()
java.lang.String
getNewAddressArg()
java.lang.String
getNewAddressValue()
java.lang.String
getNotificationAddressArg()
SimpleList
getNotificationAddresses()
java.lang.String
getNotificationAddressId()
java.lang.String
getNotificationAddressTypeArg()
java.lang.String
getNotificationDeviceArg()
java.lang.String
getNotificationDeviceId()
SimpleList
getNotificationDevices()
java.lang.String
getNotificationNewAddressArg()
java.lang.String
getNotificationNewAddressValue()
java.lang.String
getObjectName()
WebEvent
getOpenAddressesEvent()
java.lang.String
getPortraitArg()
int
getPrintCopies()
Returns the number of print copiesjava.lang.String
getProtectZipFileArg()
java.lang.String
getRangeAllArg()
int
getRangeEnd()
Returns the end range for printjava.lang.String
getRangeEndArg()
int
getRangeStart()
Returns the start range for printjava.lang.String
getRangeStartArg()
java.lang.String
getSendNowArg()
java.lang.String
getSendToInboxArg()
java.lang.String
getSubject()
java.lang.String
getSubjectArg()
int
getSubscriptionObjectType()
Returns if the current subscription is for a report or for a document.int
getSubscriptionObjectViewType()
Returns the view mode for the object.java.lang.String
getTriggerArg()
java.lang.String
getTriggerId()
SimpleList
getTriggers()
boolean
getUseDeliveryNotification()
java.lang.String
getUseDeliveryNotificationArg()
java.lang.String
getZipPassword()
java.lang.String
getZipPasswordArg()
boolean
isIncludeDataSet()
boolean
isIncludeLinkSet()
boolean
isProtectZipFile()
boolean
isSendNowSet()
boolean
isSendToInboxSet()
void
renderAddressList(MarkupOutput out, SimpleList addresses, java.lang.String addressId, java.lang.String addressArg, java.lang.String addressTypeArg, java.lang.String newAddressValue, java.lang.String newAddressArg, SimpleList devices, java.lang.String deviceId, java.lang.String deviceArg)
Renders the list of addresses for the Subscription.protected GGCalendar
renderCalendar(MarkupOutput out)
void
renderCustomMessageField(MarkupOutput out, java.lang.String message, java.lang.String argMessage)
Renders a field for the Custom Message which can be sent along with the e-mail sent with the given addresses.void
renderDeliveryFormats(MarkupOutput out)
Renders all the available formats that we can subscribe to.void
renderDeliveryFormats(MarkupOutput out, SimpleList availableFormats, WebSubscriptionContentFormat currentFormat, boolean compressed, java.lang.String formatArg, java.lang.String compressedArg)
Deprecated.MarkupOutput
renderElement()
Renders the element using the global arguments.void
renderFileNameField(MarkupOutput out, java.lang.String fileName, java.lang.String argFileName)
Renders a field for the Subject's of the e-mail sent with the given subscriptions.void
renderNotificationAddressList(MarkupOutput out, SimpleList addresses, java.lang.String addressId, java.lang.String addressArg, java.lang.String addressTypeArg, java.lang.String newAddressValue, java.lang.String newAddressArg, SimpleList devices, java.lang.String deviceId, java.lang.String deviceArg, boolean bUseNotification)
Renders the list of Notification addresses for the Subscription.void
renderObjectName(MarkupOutput out, java.lang.String name)
Renders the name of the object for which the subscription is being created.void
renderSubjectField(MarkupOutput out, java.lang.String subject, java.lang.String argSubject)
Renders a field for the Subject's of the e-mail sent with the given subscriptions.void
renderTriggerList(MarkupOutput out, SimpleList triggers, java.lang.String triggerId, java.lang.String argTrigger)
Renders the list of triggers for the Subscriptions.void
renderTriggerList(MarkupOutput out, SimpleList triggers, java.lang.String triggerId, java.lang.String argTrigger, boolean selectSendNow)
Renders the list of triggers for the Subscriptions.void
setAddressArg(java.lang.String value)
The name of the adressId argumentvoid
setAddresses(SimpleList value)
The global list of addresses to use for this subscriptionvoid
setAddressId(java.lang.String value)
Sets the value of the current addressId used when creating subscriptions to existing addressesvoid
setAddressTypeArg(java.lang.String value)
The name of the adressType argument.void
setAllowChangeDeliverySettingsArg(java.lang.String arg)
void
setAllowChangePersonalizationArg(java.lang.String allowChangePersonalizationArg)
void
setAllowUnsubscribeArg(java.lang.String allowUnsubscribeArg)
void
setAvailableFormats(SimpleList availableFormats)
Sets all the available formats for subscription in this system.void
setAvailableLocations(SimpleList value)
Sets the list of available locations for the file subscription.void
setChangeableMask(int changeableMask)
value fromEnumDSSXMLNCSAllowChangeMaskType
void
setCollatedArg(java.lang.String value)
The name of the collated argument for printvoid
setCompressed(boolean compressed)
Sets if the current subscription is supposed to be delivered in the compressed(zipped) format.void
setCompressedArg(java.lang.String value)
The argument name to for the Compressed value.void
setCompressedFileName(java.lang.String compressedFileName)
void
setCompressedFileNameArg(java.lang.String compressedFileNameArg)
void
setCopiesArg(java.lang.String value)
The name of the number of copies argumentvoid
setCurrentFormat(WebSubscriptionContentFormat currentFormat)
Sets the current format for this subscription used when creating the subscription.void
setCustomMessage(java.lang.String value)
Sets the text to use as the message line of the email subscriptions sent.void
setCustomMessageArg(java.lang.String value)
The Message's argument name.void
setDeviceArg(java.lang.String value)
The name of the deviceId argument.void
setDeviceId(java.lang.String value)
The current deviceId.void
setDevices(SimpleList value)
Sets the global list of devices to use for new addressesvoid
setExpandPageBy(int value)
The value for the expand pageBy.void
setExpandPageByArg(java.lang.String value)
The argument name for the expand pageBy.void
setExpandUseSeparateSheets(int value)
The value for the expand use separate sheets.void
setExpandUseSeparateSheetsArg(java.lang.String value)
The argument name for the expand use separate sheets.void
setExpirationDate(java.lang.String expirationDate)
void
setExpirationDateArg(java.lang.String expirationDateArg)
void
setFormatArg(java.lang.String value)
The Format's argument name.void
setImageBasePath(java.lang.String value)
The name of the base path for imagesvoid
setIncludeData(boolean includeData)
void
setIncludeDataArg(java.lang.String includeDataArg)
void
setIncludeLink(boolean includeLink)
void
setIncludeLinkArg(java.lang.String includeLinkArg)
void
setInitialiIndent(int value)
Defines the initial indent the widget uses to render the contentvoid
setIsCollated(boolean value)
Indicated whether to print collated or not.void
setIsCreateEmailAvailable(boolean value)
Set to true if the feature for creating new email addresses is available.void
setIsCustomMessageAvailable(boolean value)
Set to true if the the feature for Custom Message is availablevoid
setIsDeliveryNotificationAvailable(boolean value)
Set to true if delivery notification is available.void
setIServerAsNCSSource()
used to convey to the widget that IServer is hosting the ncs functionality.void
setIsExpandPageByAvailable(boolean value)
Set to true if the expand pageby option is available.void
setIsPortrait(boolean value)
Indicated whether to print in portrait mode or not.void
setIsRWD(boolean value)
Indicated whether it is an RWD or not.void
setIsSendNowAvailable(boolean value)
Set to true if the the feature for Send Now is availablevoid
setLocationArg(java.lang.String value)
The name of the location argument.void
setLocationID(java.lang.String value)
Sets the id of the current location.void
setNewAddressArg(java.lang.String value)
The name of the newAddress argument.void
setNewAddressValue(java.lang.String value)
The value of the address list used when creating subscriptions to new addressesvoid
setNotificationAddressArg(java.lang.String value)
The name of the notification adressId argumentvoid
setNotificationAddresses(SimpleList value)
The global list of notification addresses to use for this subscriptionvoid
setNotificationAddressId(java.lang.String value)
Sets the value of the current notification addressId used when creating subscriptions to existing addressesvoid
setNotificationAddressTypeArg(java.lang.String value)
The name of the notification adressType argument.void
setNotificationDeviceArg(java.lang.String value)
The name of the notification deviceId argument.void
setNotificationDeviceId(java.lang.String value)
The current notification deviceId.void
setNotificationDevices(SimpleList value)
Sets the global list of notification devices to use for new addressesvoid
setNotificationNewAddressArg(java.lang.String value)
The name of the notification newAddress argument.void
setNotificationNewAddressValue(java.lang.String value)
The value of the notification address list used when creating subscriptions to new addressesvoid
setObjectName(java.lang.String value)
Sets the name of the object for which the subscription is created.void
setOpenAddressesEvent(WebEvent event)
Sets the openAddress event.void
setOpenContactsBrowser(boolean openContactsBrowser)
void
setOpenContactsBrowserEvent(WebEvent openContactsEditorEvent)
void
setPortraitArg(java.lang.String value)
The name of the portrait argument for printvoid
setPrintCopies(int value)
Sets the number of copies for printvoid
setProtectZipFile(boolean protectZipFile)
void
setProtectZipFileArg(java.lang.String protectZipFileArg)
void
setRangeAllArg(java.lang.String value)
The name of the range all argument for printvoid
setRangeEnd(int value)
Sets the end range for printvoid
setRangeEndArg(java.lang.String value)
The name of the range end argument for printvoid
setRangeStart(int value)
Sets the start range for printvoid
setRangeStartArg(java.lang.String value)
The name of the range start argument for printvoid
setSendNow(boolean value)
Indicated whether to send a preview of the subscription now.void
setSendNowArg(java.lang.String value)
The sendNow's argument name.void
setSendToInbox(boolean sendToInbox)
void
setSendToInboxArg(java.lang.String sendToInboxArg)
void
setSubject(java.lang.String value)
Sets the text to use as the subject of the email subscriptions sent.void
setSubjectArg(java.lang.String value)
The Subject's argument name.void
setSubscriptionObjectType(int subscriptionObjectType)
Sets if the current subscription is for a report or for a document.void
setSubscriptionObjectViewType(int subscriptionObjectViewType)
Sets the view mode for the object.void
setTriggerArg(java.lang.String value)
The name of the triggerId argumentvoid
setTriggerId(java.lang.String value)
Sets the id of the current triggervoid
setTriggers(SimpleList value)
Sets the id of the current triggervoid
setUseDeliveryNotification(boolean value)
Set to true if delivery notification is currently used.void
setUseDeliveryNotificationArg(java.lang.String value)
The name of the useDeliveryNotification argument.void
setZipPassword(java.lang.String zipP)
void
setZipPasswordArg(java.lang.String zipPArg)
void
showCollateOption(boolean value)
To show or not show the collate option-
Methods inherited from class com.microstrategy.web.app.gui.SubscriptionFileWidgetImpl
getAddressDivStyle, getFileName, getFileNameArg, getSendNowDivStyle, getToolTipforMacro, renderAvailableLocations, setFileName, setFileNameArg, setIsBulkExport
-
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, setWebComponent
-
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.DefaultSubscriptionWidget
getAddressArg, getAddresses, getAddressId, getAddressTypeArg, getAvailableFormats, getAvailableLocations, getChangeableMask, getCompressed, getCompressedArg, getCompressedFileName, getCompressedFileNameArg, getCurrentFormat, getCustomMessage, getCustomMessageArg, getDeviceArg, getDeviceId, getDevices, getExpandPageBy, getExpandPageByArg, getExpandUseSeparateSheets, getExpandUseSeparateSheetsArg, getExpirationDate, getFormatArg, getImageBasePath, getInitialiIndent, getIsCreateEmailAvailable, getIsCustomMessageAvailable, getIsExpandPageByAvailable, getIsRWD, getLocationArg, getLocationID, getNewAddressArg, getNewAddressValue, getObjectName, getOpenAddressesEvent, getSubject, getSubjectArg, getSubscriptionObjectType, getSubscriptionObjectViewType, getZipPassword, isIncludeDataSet, isIncludeLinkSet, isProtectZipFile, isSendToInboxSet, renderAddressList, renderCustomMessageField, renderObjectName, renderSubjectField, setAddressArg, setAddresses, setAddressId, setAddressTypeArg, setAllowChangeDeliverySettingsArg, setAllowChangePersonalizationArg, setAllowUnsubscribeArg, setAvailableFormats, setAvailableLocations, setChangeableMask, setCompressed, setCompressedArg, setCompressedFileName, setCompressedFileNameArg, setCurrentFormat, setCustomMessage, setCustomMessageArg, setDeviceArg, setDeviceId, setDevices, setExpandPageBy, setExpandPageByArg, setExpandUseSeparateSheets, setExpandUseSeparateSheetsArg, setExpirationDate, setExpirationDateArg, setFormatArg, setImageBasePath, setIncludeData, setIncludeDataArg, setIncludeLink, setIncludeLinkArg, setInitialiIndent, setIsCreateEmailAvailable, setIsCustomMessageAvailable, setIServerAsNCSSource, setIsExpandPageByAvailable, setIsRWD, setLocationArg, setLocationID, setNewAddressArg, setNewAddressValue, setObjectName, setOpenAddressesEvent, setOpenContactsBrowser, setOpenContactsBrowserEvent, setProtectZipFile, setProtectZipFileArg, setSendToInbox, setSendToInboxArg, setSubject, setSubjectArg, setSubscriptionObjectType, setSubscriptionObjectViewType, setZipPassword, setZipPasswordArg
-
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
-
Methods inherited from interface com.microstrategy.web.app.gui.SubscriptionFileWidget
getFileName, getFileNameArg, getIsDeliveryNotificationAvailable, getNotificationAddressArg, getNotificationAddresses, getNotificationAddressId, getNotificationAddressTypeArg, getNotificationDeviceArg, getNotificationDeviceId, getNotificationDevices, getNotificationNewAddressArg, getNotificationNewAddressValue, getUseDeliveryNotification, getUseDeliveryNotificationArg, renderAvailableLocations, renderNotificationAddressList, setFileName, setFileNameArg, setIsBulkExport, setIsDeliveryNotificationAvailable, setNotificationAddressArg, setNotificationAddresses, setNotificationAddressId, setNotificationAddressTypeArg, setNotificationDeviceArg, setNotificationDeviceId, setNotificationDevices, setNotificationNewAddressArg, setNotificationNewAddressValue, setUseDeliveryNotification, setUseDeliveryNotificationArg
-
Methods inherited from interface com.microstrategy.web.app.gui.SubscriptionWidget
getIsSendNowAvailable, getSendNowArg, getTriggerArg, getTriggerId, getTriggers, isSendNowSet, renderTriggerList, setIsSendNowAvailable, setSendNow, setSendNowArg, setTriggerArg, setTriggerId, setTriggers
-
-
-
-
Method Detail
-
renderElement
public MarkupOutput renderElement()
Renders the element using the global arguments.- Specified by:
renderElement
in interfaceGuiElement
- Overrides:
renderElement
in classSubscriptionFileWidgetImpl
- Returns:
- a
MarkupOutput
with the Subscription Widget.
-
setPrintCopies
public void setPrintCopies(int value)
Sets the number of copies for print- Specified by:
setPrintCopies
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the number of copies for print
-
getPrintCopies
public int getPrintCopies()
Returns the number of print copies- Specified by:
getPrintCopies
in interfaceSubscriptionPrintWidget
- Returns:
- the number of print copies
-
setCopiesArg
public void setCopiesArg(java.lang.String value)
The name of the number of copies argument- Specified by:
setCopiesArg
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the name of the number of copies argument
-
getCopiesArg
public java.lang.String getCopiesArg()
- Specified by:
getCopiesArg
in interfaceSubscriptionPrintWidget
- Returns:
- name of the number of copies argument.
-
setRangeStart
public void setRangeStart(int value)
Sets the start range for print- Specified by:
setRangeStart
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the start range for print
-
getRangeStart
public int getRangeStart()
Returns the start range for print- Specified by:
getRangeStart
in interfaceSubscriptionPrintWidget
- Returns:
- the start range for print
-
setRangeStartArg
public void setRangeStartArg(java.lang.String value)
The name of the range start argument for print- Specified by:
setRangeStartArg
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the name of the range start argument for print
-
getRangeStartArg
public java.lang.String getRangeStartArg()
- Specified by:
getRangeStartArg
in interfaceSubscriptionPrintWidget
- Returns:
- name of the range start argument for print
-
setRangeEnd
public void setRangeEnd(int value)
Sets the end range for print- Specified by:
setRangeEnd
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the end range for print
-
getRangeEnd
public int getRangeEnd()
Returns the end range for print- Specified by:
getRangeEnd
in interfaceSubscriptionPrintWidget
- Returns:
- the end range for print
-
setRangeEndArg
public void setRangeEndArg(java.lang.String value)
The name of the range end argument for print- Specified by:
setRangeEndArg
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the name of the range end argument for print
-
getRangeEndArg
public java.lang.String getRangeEndArg()
- Specified by:
getRangeEndArg
in interfaceSubscriptionPrintWidget
- Returns:
- name of the range end argument for print
-
setRangeAllArg
public void setRangeAllArg(java.lang.String value)
The name of the range all argument for print- Specified by:
setRangeAllArg
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the name of the range end argument for print- Since:
- MicroStrategy Web 8.0.0
-
getRangeAllArg
public java.lang.String getRangeAllArg()
- Specified by:
getRangeAllArg
in interfaceSubscriptionPrintWidget
- Returns:
- name of the range all argument for print
- Since:
- MicroStrategy Web 8.0.0
-
setIsPortrait
public void setIsPortrait(boolean value)
Indicated whether to print in portrait mode or not.- Specified by:
setIsPortrait
in interfaceSubscriptionPrintWidget
- Parameters:
value
- true if the print is to be in portrait mode.
-
getIsPortrait
public boolean getIsPortrait()
- Specified by:
getIsPortrait
in interfaceSubscriptionPrintWidget
- Returns:
- true if the print is to be in portrait mode.
-
setPortraitArg
public void setPortraitArg(java.lang.String value)
The name of the portrait argument for print- Specified by:
setPortraitArg
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the name of the portrait argument for print
-
getPortraitArg
public java.lang.String getPortraitArg()
- Specified by:
getPortraitArg
in interfaceSubscriptionPrintWidget
- Returns:
- name of the portrait argument for print
-
setIsCollated
public void setIsCollated(boolean value)
Indicated whether to print collated or not.- Specified by:
setIsCollated
in interfaceSubscriptionPrintWidget
- Parameters:
value
- true if the print is to be collated.
-
getIsCollated
public boolean getIsCollated()
- Specified by:
getIsCollated
in interfaceSubscriptionPrintWidget
- Returns:
- true if the print is to be collated.
-
setCollatedArg
public void setCollatedArg(java.lang.String value)
The name of the collated argument for print- Specified by:
setCollatedArg
in interfaceSubscriptionPrintWidget
- Parameters:
value
- the name of the collated argument for print
-
showCollateOption
public void showCollateOption(boolean value)
To show or not show the collate option- Specified by:
showCollateOption
in interfaceSubscriptionPrintWidget
- Parameters:
value
- true to show the collate option
-
getCollatedArg
public java.lang.String getCollatedArg()
- Specified by:
getCollatedArg
in interfaceSubscriptionPrintWidget
- Returns:
- name of the collated argument for print
-
renderTriggerList
public void renderTriggerList(MarkupOutput out, SimpleList triggers, java.lang.String triggerId, java.lang.String argTrigger)
Renders the list of triggers for the Subscriptions. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Specified by:
renderTriggerList
in interfaceSubscriptionWidget
- Parameters:
out
- Where to write the widget's outputtriggers
- the list of triggerstriggerId
- the current triggerIdargTrigger
- the name of the triggerId argument
-
renderTriggerList
public void renderTriggerList(MarkupOutput out, SimpleList triggers, java.lang.String triggerId, java.lang.String argTrigger, boolean selectSendNow)
Renders the list of triggers for the Subscriptions. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Parameters:
out
- Where to write the widget's outputtriggers
- the list of triggerstriggerId
- the current triggerIdargTrigger
- the name of the triggerId argumentselectSendNow
- boolean to indicate if the send now schedule is to be pre selected in case of creating a new subscrtiption (Does not apply for edit case)- Since:
- MicroStrategy Web 8.0.0
-
setTriggers
public void setTriggers(SimpleList value)
Sets the id of the current trigger- Specified by:
setTriggers
in interfaceSubscriptionWidget
- Parameters:
value
- the new value for the current trigger
-
getTriggers
public SimpleList getTriggers()
- Specified by:
getTriggers
in interfaceSubscriptionWidget
- Returns:
- the current triggerId value
-
setTriggerArg
public void setTriggerArg(java.lang.String value)
The name of the triggerId argument- Specified by:
setTriggerArg
in interfaceSubscriptionWidget
- Parameters:
value
- the new name for the triggerId argument
-
getTriggerArg
public java.lang.String getTriggerArg()
- Specified by:
getTriggerArg
in interfaceSubscriptionWidget
- Returns:
- The name of the triggerId argument
-
setTriggerId
public void setTriggerId(java.lang.String value)
Sets the id of the current trigger- Specified by:
setTriggerId
in interfaceSubscriptionWidget
- Parameters:
value
- the new value for the current trigger
-
getTriggerId
public java.lang.String getTriggerId()
- Specified by:
getTriggerId
in interfaceSubscriptionWidget
- Returns:
- the current triggerId value
-
setSendNow
public void setSendNow(boolean value)
Indicated whether to send a preview of the subscription now.- Specified by:
setSendNow
in interfaceSubscriptionWidget
- Parameters:
value
- true if a preview will be sent immediatly after creating the subscription.
-
isSendNowSet
public boolean isSendNowSet()
- Specified by:
isSendNowSet
in interfaceSubscriptionWidget
- Returns:
- true if a preview will be sent immediatly after creating the subscription.
-
setSendNowArg
public void setSendNowArg(java.lang.String value)
The sendNow's argument name.- Specified by:
setSendNowArg
in interfaceSubscriptionWidget
- Parameters:
value
- The new sendNow argument name.
-
getSendNowArg
public java.lang.String getSendNowArg()
- Specified by:
getSendNowArg
in interfaceSubscriptionWidget
- Returns:
- The sendNow argument name.
-
setIsSendNowAvailable
public void setIsSendNowAvailable(boolean value)
Set to true if the the feature for Send Now is available- Specified by:
setIsSendNowAvailable
in interfaceSubscriptionWidget
- Parameters:
value
- true if the send now feature is available
-
getIsSendNowAvailable
public boolean getIsSendNowAvailable()
- Specified by:
getIsSendNowAvailable
in interfaceSubscriptionWidget
- Returns:
- true if the send now feature is available.
-
renderAddressList
public void renderAddressList(MarkupOutput out, SimpleList addresses, java.lang.String addressId, java.lang.String addressArg, java.lang.String addressTypeArg, java.lang.String newAddressValue, java.lang.String newAddressArg, SimpleList devices, java.lang.String deviceId, java.lang.String deviceArg)
Renders the list of addresses for the Subscription. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Specified by:
renderAddressList
in interfaceDefaultSubscriptionWidget
- Parameters:
out
- Where to write the widget's outputaddresses
- the list of addressesaddressId
- the id of the current addressaddressArg
- the name of the addressId argaddressTypeArg
- the name of the addressType argnewAddressValue
- the value for the new address listnewAddressArg
- the name of the new address list argumentdevices
- the list of devicesdeviceId
- the current deviceIddeviceArg
- the name of the deviceId argument
-
renderSubjectField
public void renderSubjectField(MarkupOutput out, java.lang.String subject, java.lang.String argSubject)
Renders a field for the Subject's of the e-mail sent with the given subscriptions. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Specified by:
renderSubjectField
in interfaceDefaultSubscriptionWidget
- Parameters:
out
- Where to write the widget's outputsubject
- The e-mails subjects textargSubject
- the name of the subject's argument
-
renderFileNameField
public void renderFileNameField(MarkupOutput out, java.lang.String fileName, java.lang.String argFileName)
Renders a field for the Subject's of the e-mail sent with the given subscriptions. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Parameters:
out
- Where to write the widget's outputfileName
- The e-mails subjects textargFileName
- the name of the subject's argument
-
renderObjectName
public void renderObjectName(MarkupOutput out, java.lang.String name)
Renders the name of the object for which the subscription is being created. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Specified by:
renderObjectName
in interfaceDefaultSubscriptionWidget
- Parameters:
out
- Where to write the widget's outputname
- The name of the object- Since:
- MicroStrategy Web 8.0.0
-
renderCustomMessageField
public void renderCustomMessageField(MarkupOutput out, java.lang.String message, java.lang.String argMessage)
Renders a field for the Custom Message which can be sent along with the e-mail sent with the given addresses. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments. This message will be sent along with the report or document which is being subscribed. It would be the first line in the email.- Specified by:
renderCustomMessageField
in interfaceDefaultSubscriptionWidget
- Parameters:
out
- Where to write the widget's outputmessage
- The e-mails message textargMessage
- the name of the message's argument
-
renderDeliveryFormats
public void renderDeliveryFormats(MarkupOutput out)
Renders all the available formats that we can subscribe to. This could be HTML or EXCEL or PDF or any other format supported by the system. It also renders a check box which indicates if we want to compress the contents of the subscription for delivery. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments. This message will be sent along with the report or document which is being subscribed.- Parameters:
out
- Where to write the widget's output
-
renderDeliveryFormats
public void renderDeliveryFormats(MarkupOutput out, SimpleList availableFormats, WebSubscriptionContentFormat currentFormat, boolean compressed, java.lang.String formatArg, java.lang.String compressedArg)
Deprecated.Renders all the available formats that we can subscribe to. This could be HTML or EXCEL or PDF or any other format supported by the system. It also renders a check box which indicates if we want to compress the contents of the subscription for delivery. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments. This message will be sent along with the report or document which is being subscribed.- Parameters:
out
- Where to write the widget's outputavailableFormats
- All the available delivery formatscurrentFormat
- The current delivery formatcompressed
- Indicates if the contents of the subscription need to be compressed (zipped)formatArg
- The name of the format's argumentcompressedArg
- The name of the compression argument
-
setDevices
public void setDevices(SimpleList value)
Sets the global list of devices to use for new addresses- Specified by:
setDevices
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new list of devices.
-
getDevices
public SimpleList getDevices()
- Specified by:
getDevices
in interfaceDefaultSubscriptionWidget
- Returns:
- the current global list of devices.
-
setAddresses
public void setAddresses(SimpleList value)
The global list of addresses to use for this subscription- Specified by:
setAddresses
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new global list of addresses
-
getAddresses
public SimpleList getAddresses()
- Specified by:
getAddresses
in interfaceDefaultSubscriptionWidget
- Returns:
- the current global list of addresses
-
setAddressId
public void setAddressId(java.lang.String value)
Sets the value of the current addressId used when creating subscriptions to existing addresses- Specified by:
setAddressId
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new addressId
-
getAddressId
public java.lang.String getAddressId()
- Specified by:
getAddressId
in interfaceDefaultSubscriptionWidget
- Returns:
- the value of the current addressId used when creating subscriptions to existing addresses
-
setNewAddressValue
public void setNewAddressValue(java.lang.String value)
The value of the address list used when creating subscriptions to new addresses- Specified by:
setNewAddressValue
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- a comma separated list of addresses
-
getNewAddressValue
public java.lang.String getNewAddressValue()
- Specified by:
getNewAddressValue
in interfaceDefaultSubscriptionWidget
- Returns:
- a comma separated list of addresses used when creating subscriptions to new addresses
-
setDeviceId
public void setDeviceId(java.lang.String value)
The current deviceId. This is the device used for new addresses- Specified by:
setDeviceId
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new current deviceId
-
getDeviceId
public java.lang.String getDeviceId()
- Specified by:
getDeviceId
in interfaceDefaultSubscriptionWidget
- Returns:
- The current deviceId. This is the device used for new addresses
-
setSubject
public void setSubject(java.lang.String value)
Sets the text to use as the subject of the email subscriptions sent.- Specified by:
setSubject
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new subject text to use
-
getSubject
public java.lang.String getSubject()
- Specified by:
getSubject
in interfaceDefaultSubscriptionWidget
- Returns:
- the subject text of new subscriptions created.
-
setObjectName
public void setObjectName(java.lang.String value)
Sets the name of the object for which the subscription is created.- Specified by:
setObjectName
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the name of the object for which the subscription is created- Since:
- MicroStrategy Web 8.0.0
-
getObjectName
public java.lang.String getObjectName()
- Specified by:
getObjectName
in interfaceDefaultSubscriptionWidget
- Returns:
- the name of the object for which the subscription is created.
- Since:
- MicroStrategy Web 8.0.0
-
setCustomMessage
public void setCustomMessage(java.lang.String value)
Sets the text to use as the message line of the email subscriptions sent.- Specified by:
setCustomMessage
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new message text to use
-
getCustomMessage
public java.lang.String getCustomMessage()
- Specified by:
getCustomMessage
in interfaceDefaultSubscriptionWidget
- Returns:
- the message text of new subscriptions created.
-
setIsCustomMessageAvailable
public void setIsCustomMessageAvailable(boolean value)
Set to true if the the feature for Custom Message is available- Specified by:
setIsCustomMessageAvailable
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- true if the custom message feature is available
-
getIsCustomMessageAvailable
public boolean getIsCustomMessageAvailable()
- Specified by:
getIsCustomMessageAvailable
in interfaceDefaultSubscriptionWidget
- Returns:
- true if the custom message feature is available.
-
setDeviceArg
public void setDeviceArg(java.lang.String value)
The name of the deviceId argument.- Specified by:
setDeviceArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new deviceId argument name.
-
getDeviceArg
public java.lang.String getDeviceArg()
- Specified by:
getDeviceArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The deviceId argument name.
-
setAddressArg
public void setAddressArg(java.lang.String value)
The name of the adressId argument- Specified by:
setAddressArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new name for the addressId argument
-
getAddressArg
public java.lang.String getAddressArg()
- Specified by:
getAddressArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The name of the addressId argument
-
setAddressTypeArg
public void setAddressTypeArg(java.lang.String value)
The name of the adressType argument. The addressType indicates whether to use an existing addresses or a new address list- Specified by:
setAddressTypeArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new name for the addressType argument.
-
getAddressTypeArg
public java.lang.String getAddressTypeArg()
- Specified by:
getAddressTypeArg
in interfaceDefaultSubscriptionWidget
- Returns:
- the name for the addressType argument.
-
setNewAddressArg
public void setNewAddressArg(java.lang.String value)
The name of the newAddress argument.- Specified by:
setNewAddressArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new newAddress argument name
-
getNewAddressArg
public java.lang.String getNewAddressArg()
- Specified by:
getNewAddressArg
in interfaceDefaultSubscriptionWidget
- Returns:
- the newAddress argument name
-
setSubjectArg
public void setSubjectArg(java.lang.String value)
The Subject's argument name.- Specified by:
setSubjectArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The new Subject's argument name.
-
getSubjectArg
public java.lang.String getSubjectArg()
- Specified by:
getSubjectArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The Subject's argument name.
-
setCustomMessageArg
public void setCustomMessageArg(java.lang.String value)
The Message's argument name.- Specified by:
setCustomMessageArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The new Message's argument name.
-
getCustomMessageArg
public java.lang.String getCustomMessageArg()
- Specified by:
getCustomMessageArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The Message's argument name.
-
setOpenAddressesEvent
public void setOpenAddressesEvent(WebEvent event)
Sets the openAddress event. This event is the one used to by the application to open the address list page.- Specified by:
setOpenAddressesEvent
in interfaceDefaultSubscriptionWidget
- Parameters:
event
- the new openAddress event
-
getOpenAddressesEvent
public WebEvent getOpenAddressesEvent()
- Specified by:
getOpenAddressesEvent
in interfaceDefaultSubscriptionWidget
- Returns:
- the current openAddress event
-
setInitialiIndent
public void setInitialiIndent(int value)
Defines the initial indent the widget uses to render the content- Specified by:
setInitialiIndent
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new base indent to use
-
getInitialiIndent
public int getInitialiIndent()
- Specified by:
getInitialiIndent
in interfaceDefaultSubscriptionWidget
- Returns:
- The current base indent use by the widget to render its content.
-
setSubscriptionObjectType
public void setSubscriptionObjectType(int subscriptionObjectType)
Sets if the current subscription is for a report or for a document. The value is specified by the enumeration REPORT_SUBSCRIPTION or DOCUMENT_SUBSCRIPTION- Specified by:
setSubscriptionObjectType
in interfaceDefaultSubscriptionWidget
- Parameters:
subscriptionObjectType
- The type of object for which we are creating the subscription
-
getSubscriptionObjectType
public int getSubscriptionObjectType()
Returns if the current subscription is for a report or for a document. The value is specified by the enumeration REPORT_SUBSCRIPTION or DOCUMENT_SUBSCRIPTION- Specified by:
getSubscriptionObjectType
in interfaceDefaultSubscriptionWidget
- Returns:
- The type of object (report or document) for which we are creating the subscription
-
setSubscriptionObjectViewType
public void setSubscriptionObjectViewType(int subscriptionObjectViewType)
Sets the view mode for the object. This can be grid/graph/grid-graph. This applies only to subscriptions to reports. The value is specified by the enumerationEnumWebReportViewMode
- Specified by:
setSubscriptionObjectViewType
in interfaceDefaultSubscriptionWidget
- Parameters:
subscriptionObjectViewType
- The view mode for the object we are subscribing to.
-
getSubscriptionObjectViewType
public int getSubscriptionObjectViewType()
Returns the view mode for the object. This can be grid/graph/grid-graph. This applies only to subscriptions to reports. The value is specified by the enumerationEnumWebReportViewMode
- Specified by:
getSubscriptionObjectViewType
in interfaceDefaultSubscriptionWidget
- Returns:
- The view mode for the object we are subscribing to.
-
setAvailableFormats
public void setAvailableFormats(SimpleList availableFormats)
Sets all the available formats for subscription in this system. This could be HTML or EXCEL or PDF or any other such format.- Specified by:
setAvailableFormats
in interfaceDefaultSubscriptionWidget
- Parameters:
availableFormats
- The available formats for subscription.
-
getAvailableFormats
public SimpleList getAvailableFormats()
Returns all the available formats for subscription in this system. This could be HTML or EXCEL or PDF or any other such format.- Specified by:
getAvailableFormats
in interfaceDefaultSubscriptionWidget
- Returns:
- The available formats for subscription.
-
setCurrentFormat
public void setCurrentFormat(WebSubscriptionContentFormat currentFormat)
Sets the current format for this subscription used when creating the subscription. This could be HTML or EXCEL or PDF or any other such format.- Specified by:
setCurrentFormat
in interfaceDefaultSubscriptionWidget
- Parameters:
currentFormat
- The current subscription format.
-
getCurrentFormat
public WebSubscriptionContentFormat getCurrentFormat()
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.- Specified by:
getCurrentFormat
in interfaceDefaultSubscriptionWidget
- Returns:
- The current subscription format.
-
setCompressed
public void setCompressed(boolean compressed)
Sets if the current subscription is supposed to be delivered in the compressed(zipped) format.- Specified by:
setCompressed
in interfaceDefaultSubscriptionWidget
- Parameters:
compressed
- Set to true if the subscription is to be delivered in compressed form.
-
getCompressed
public boolean getCompressed()
Returns true if the current subscription is supposed to be delivered in the compressed(zipped) format.- Specified by:
getCompressed
in interfaceDefaultSubscriptionWidget
- Returns:
- true if the subscription is to be delivered in the compressed form.
-
setFormatArg
public void setFormatArg(java.lang.String value)
The Format's argument name.- Specified by:
setFormatArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The argument name for the subscription format.
-
getFormatArg
public java.lang.String getFormatArg()
- Specified by:
getFormatArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The Format's argument name.
-
setCompressedArg
public void setCompressedArg(java.lang.String value)
The argument name to for the Compressed value.- Specified by:
setCompressedArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The argument name for the Compressed value.
-
getCompressedArg
public java.lang.String getCompressedArg()
- Specified by:
getCompressedArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The Compressed argument name.
-
setImageBasePath
public void setImageBasePath(java.lang.String value)
The name of the base path for images- Specified by:
setImageBasePath
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- name of the base path for images- Since:
- MicroStrategy Web 7.5.1
-
getImageBasePath
public java.lang.String getImageBasePath()
- Specified by:
getImageBasePath
in interfaceDefaultSubscriptionWidget
- Returns:
- The name of the image basepath
- Since:
- MicroStrategy Web 7.5.1
-
setIsRWD
public void setIsRWD(boolean value)
Indicated whether it is an RWD or not.- Specified by:
setIsRWD
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- true if it is an RWD.- Since:
- MicroStrategy Web 7.5.1
-
getIsRWD
public boolean getIsRWD()
- Specified by:
getIsRWD
in interfaceDefaultSubscriptionWidget
- Returns:
- true if it is an RWD.
- Since:
- MicroStrategy Web 7.5.1
-
setIsCreateEmailAvailable
public void setIsCreateEmailAvailable(boolean value)
Set to true if the feature for creating new email addresses is available.- Specified by:
setIsCreateEmailAvailable
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- true if the feature for creating new email addresses is available.- Since:
- MicroStrategy Web 7.5.1
-
getIsCreateEmailAvailable
public boolean getIsCreateEmailAvailable()
- Specified by:
getIsCreateEmailAvailable
in interfaceDefaultSubscriptionWidget
- Returns:
- true if the feature for creating new email addresses is available.
- Since:
- MicroStrategy Web 7.5.1
-
renderNotificationAddressList
public void renderNotificationAddressList(MarkupOutput out, SimpleList addresses, java.lang.String addressId, java.lang.String addressArg, java.lang.String addressTypeArg, java.lang.String newAddressValue, java.lang.String newAddressArg, SimpleList devices, java.lang.String deviceId, java.lang.String deviceArg, boolean bUseNotification)
Renders the list of Notification addresses for the Subscription. This method can be called stand alone by passing the required arguments. It's also part of therenderElement()
method that passes the global widget values properties as the arguments.- Parameters:
out
- Where to write the widget's outputaddresses
- the list of addressesaddressId
- the id of the current addressaddressArg
- the name of the addressId argaddressTypeArg
- the name of the addressType argnewAddressValue
- the value for the new address listnewAddressArg
- the name of the new address list argumentdevices
- the list of devicesdeviceId
- the current deviceIddeviceArg
- the name of the deviceId argumentbUseNotification
- the boolean argument to denote whether the subscription uses notification- Since:
- MicroStrategy Web 8.0.0
-
setNotificationDevices
public void setNotificationDevices(SimpleList value)
Sets the global list of notification devices to use for new addresses- Parameters:
value
- the new list of notification devices.- Since:
- MicroStrategy Web 8.0.0
-
getNotificationDevices
public SimpleList getNotificationDevices()
- Returns:
- the current global list of Notification devices.
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationAddresses
public void setNotificationAddresses(SimpleList value)
The global list of notification addresses to use for this subscription- Parameters:
value
- the new global list of notification addresses- Since:
- MicroStrategy Web 8.0.0
-
getNotificationAddresses
public SimpleList getNotificationAddresses()
- Returns:
- the current global list of notification addresses
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationAddressId
public void setNotificationAddressId(java.lang.String value)
Sets the value of the current notification addressId used when creating subscriptions to existing addresses- Parameters:
value
- the new notification addressId- Since:
- MicroStrategy Web 8.0.0
-
getNotificationAddressId
public java.lang.String getNotificationAddressId()
- Returns:
- the value of the current Notification addressId used when creating subscriptions to existing addresses
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationNewAddressValue
public void setNotificationNewAddressValue(java.lang.String value)
The value of the notification address list used when creating subscriptions to new addresses- Parameters:
value
- a comma separated list of notification addresses- Since:
- MicroStrategy Web 8.0.0
-
getNotificationNewAddressValue
public java.lang.String getNotificationNewAddressValue()
- Returns:
- a comma separated list of notification addresses used when creating subscriptions to new addresses
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationDeviceId
public void setNotificationDeviceId(java.lang.String value)
The current notification deviceId. This is the device used for new addresses- Parameters:
value
- the new current notification deviceId- Since:
- MicroStrategy Web 8.0.0
-
getNotificationDeviceId
public java.lang.String getNotificationDeviceId()
- Returns:
- The current notification deviceId. This is the device used for new addresses
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationAddressArg
public void setNotificationAddressArg(java.lang.String value)
The name of the notification adressId argument- Parameters:
value
- the new name for the notification addressId argument- Since:
- MicroStrategy Web 8.0.0
-
getNotificationAddressArg
public java.lang.String getNotificationAddressArg()
- Returns:
- The name of the notification addressId argument
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationAddressTypeArg
public void setNotificationAddressTypeArg(java.lang.String value)
The name of the notification adressType argument. The addressType indicates whether to use an existing addresses or a new address list- Parameters:
value
- the new name for the notification addressType argument.- Since:
- MicroStrategy Web 8.0.0
-
getNotificationAddressTypeArg
public java.lang.String getNotificationAddressTypeArg()
- Returns:
- the name for the notification addressType argument.
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationDeviceArg
public void setNotificationDeviceArg(java.lang.String value)
The name of the notification deviceId argument.- Parameters:
value
- the new notification deviceId argument name.- Since:
- MicroStrategy Web 8.0.0
-
getNotificationDeviceArg
public java.lang.String getNotificationDeviceArg()
- Returns:
- The notification deviceId argument name.
- Since:
- MicroStrategy Web 8.0.0
-
setNotificationNewAddressArg
public void setNotificationNewAddressArg(java.lang.String value)
The name of the notification newAddress argument.- Parameters:
value
- the new notification newAddress argument name- Since:
- MicroStrategy Web 8.0.0
-
getNotificationNewAddressArg
public java.lang.String getNotificationNewAddressArg()
- Returns:
- the notification newAddress argument name
- Since:
- MicroStrategy Web 8.0.0
-
setUseDeliveryNotification
public void setUseDeliveryNotification(boolean value)
Set to true if delivery notification is currently used.- Parameters:
value
- true if delivery notification is currently used.- Since:
- MicroStrategy Web 8.0.0
-
getUseDeliveryNotification
public boolean getUseDeliveryNotification()
- Returns:
- true if delivery notification is currently used.
- Since:
- MicroStrategy Web 8.0.0
-
setUseDeliveryNotificationArg
public void setUseDeliveryNotificationArg(java.lang.String value)
The name of the useDeliveryNotification argument.- Parameters:
value
- the new useDeliveryNotification argument name.- Since:
- MicroStrategy Web 8.0.0
-
getUseDeliveryNotificationArg
public java.lang.String getUseDeliveryNotificationArg()
- Returns:
- The useDeliveryNotification argument name.
- Since:
- MicroStrategy Web 8.0.0
-
setIsDeliveryNotificationAvailable
public void setIsDeliveryNotificationAvailable(boolean value)
Set to true if delivery notification is available.- Parameters:
value
- true if delivery notification is available.- Since:
- MicroStrategy Web 8.0.0
-
getIsDeliveryNotificationAvailable
public boolean getIsDeliveryNotificationAvailable()
- Returns:
- true if delivery notification is available.
- Since:
- MicroStrategy Web 8.0.0
-
setIsExpandPageByAvailable
public void setIsExpandPageByAvailable(boolean value)
Set to true if the expand pageby option is available.- Specified by:
setIsExpandPageByAvailable
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- true if the expand pageby option is available.- Since:
- MicroStrategy Web 8.0.0
-
getIsExpandPageByAvailable
public boolean getIsExpandPageByAvailable()
- Specified by:
getIsExpandPageByAvailable
in interfaceDefaultSubscriptionWidget
- Returns:
- true if the expand page by option is available.
- Since:
- MicroStrategy Web 8.0.0
-
setExpandPageByArg
public void setExpandPageByArg(java.lang.String value)
The argument name for the expand pageBy.- Specified by:
setExpandPageByArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The argument name for the Compressed value.- Since:
- MicroStrategy Web 8.0.0
-
getExpandPageByArg
public java.lang.String getExpandPageByArg()
- Specified by:
getExpandPageByArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The expand pageby argument name.
- Since:
- MicroStrategy Web 8.0.0
-
setExpandPageBy
public void setExpandPageBy(int value)
The value for the expand pageBy.- Specified by:
setExpandPageBy
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The new value for the expand pageBy.- Since:
- MicroStrategy Web 8.0.0
-
getExpandPageBy
public int getExpandPageBy()
- Specified by:
getExpandPageBy
in interfaceDefaultSubscriptionWidget
- Returns:
- The expand pageby value for the subscription.
- Since:
- MicroStrategy Web 8.0.0
-
setExpandUseSeparateSheetsArg
public void setExpandUseSeparateSheetsArg(java.lang.String value)
The argument name for the expand use separate sheets.- Specified by:
setExpandUseSeparateSheetsArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The argument name for the Compressed value.- Since:
- MicroStrategy Web 8.0.1
-
getExpandUseSeparateSheetsArg
public java.lang.String getExpandUseSeparateSheetsArg()
- Specified by:
getExpandUseSeparateSheetsArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The expand use separate sheets argument name.
- Since:
- MicroStrategy Web 8.0.1
-
setExpandUseSeparateSheets
public void setExpandUseSeparateSheets(int value)
The value for the expand use separate sheets.- Specified by:
setExpandUseSeparateSheets
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- The new value for the expand use separate sheets.- Since:
- MicroStrategy Web 8.0.1
-
getExpandUseSeparateSheets
public int getExpandUseSeparateSheets()
- Specified by:
getExpandUseSeparateSheets
in interfaceDefaultSubscriptionWidget
- Returns:
- The expand use separate sheets value for the subscription.
- Since:
- MicroStrategy Web 8.0.1
-
setAvailableLocations
public void setAvailableLocations(SimpleList value)
Description copied from interface:DefaultSubscriptionWidget
Sets the list of available locations for the file subscription.- Specified by:
setAvailableLocations
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- list of available locations for the file subscription.- Since:
- MicroStrategy Web 8.1.0
-
getAvailableLocations
public SimpleList getAvailableLocations()
- Specified by:
getAvailableLocations
in interfaceDefaultSubscriptionWidget
- Returns:
- list of available locations for the file subscription.
- Since:
- MicroStrategy Web 8.1.0
-
getLocationID
public java.lang.String getLocationID()
- Specified by:
getLocationID
in interfaceDefaultSubscriptionWidget
- Returns:
- the current locationID value
- Since:
- MicroStrategy Web 8.1.0
-
setLocationID
public void setLocationID(java.lang.String value)
Description copied from interface:DefaultSubscriptionWidget
Sets the id of the current location. A location is an address-device tuple.- Specified by:
setLocationID
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new value for the current location- Since:
- MicroStrategy Web 8.1.0
-
setLocationArg
public void setLocationArg(java.lang.String value)
Description copied from interface:DefaultSubscriptionWidget
The name of the location argument. A location is an address-device tuple.- Specified by:
setLocationArg
in interfaceDefaultSubscriptionWidget
- Parameters:
value
- the new name for the location argument- Since:
- MicroStrategy Web 8.1.0
-
getLocationArg
public java.lang.String getLocationArg()
- Specified by:
getLocationArg
in interfaceDefaultSubscriptionWidget
- Returns:
- the name for the location argument.
- Since:
- MicroStrategy Web 8.1.0
-
setCompressedFileName
public void setCompressedFileName(java.lang.String compressedFileName)
- Specified by:
setCompressedFileName
in interfaceDefaultSubscriptionWidget
- Parameters:
compressedFileName
- The compressed file name .
-
getCompressedFileName
public java.lang.String getCompressedFileName()
- Specified by:
getCompressedFileName
in interfaceDefaultSubscriptionWidget
- Returns:
- The file name.
-
setCompressedFileNameArg
public void setCompressedFileNameArg(java.lang.String compressedFileNameArg)
- Specified by:
setCompressedFileNameArg
in interfaceDefaultSubscriptionWidget
- Parameters:
compressedFileNameArg
- The compressed file name arg.
-
getCompressedFileNameArg
public java.lang.String getCompressedFileNameArg()
- Specified by:
getCompressedFileNameArg
in interfaceDefaultSubscriptionWidget
- Returns:
- The compressed file name arg.
-
setIServerAsNCSSource
public void setIServerAsNCSSource()
Description copied from interface:DefaultSubscriptionWidget
used to convey to the widget that IServer is hosting the ncs functionality. If this is not called, widget assumes NCS Engine (old NCS) to be the backend. and disables old functionalities- Specified by:
setIServerAsNCSSource
in interfaceDefaultSubscriptionWidget
-
setIncludeLink
public void setIncludeLink(boolean includeLink)
- Specified by:
setIncludeLink
in interfaceDefaultSubscriptionWidget
-
isIncludeLinkSet
public boolean isIncludeLinkSet()
- Specified by:
isIncludeLinkSet
in interfaceDefaultSubscriptionWidget
-
setSendToInbox
public void setSendToInbox(boolean sendToInbox)
- Specified by:
setSendToInbox
in interfaceDefaultSubscriptionWidget
-
isSendToInboxSet
public boolean isSendToInboxSet()
- Specified by:
isSendToInboxSet
in interfaceDefaultSubscriptionWidget
-
setIncludeData
public void setIncludeData(boolean includeData)
- Specified by:
setIncludeData
in interfaceDefaultSubscriptionWidget
-
isIncludeDataSet
public boolean isIncludeDataSet()
- Specified by:
isIncludeDataSet
in interfaceDefaultSubscriptionWidget
-
setZipPassword
public void setZipPassword(java.lang.String zipP)
- Specified by:
setZipPassword
in interfaceDefaultSubscriptionWidget
-
getZipPassword
public java.lang.String getZipPassword()
- Specified by:
getZipPassword
in interfaceDefaultSubscriptionWidget
-
setExpirationDate
public void setExpirationDate(java.lang.String expirationDate)
- Specified by:
setExpirationDate
in interfaceDefaultSubscriptionWidget
-
getExpirationDate
public java.lang.String getExpirationDate()
- Specified by:
getExpirationDate
in interfaceDefaultSubscriptionWidget
-
setIncludeLinkArg
public void setIncludeLinkArg(java.lang.String includeLinkArg)
- Specified by:
setIncludeLinkArg
in interfaceDefaultSubscriptionWidget
-
getIncludeLinkArg
public java.lang.String getIncludeLinkArg()
-
setSendToInboxArg
public void setSendToInboxArg(java.lang.String sendToInboxArg)
- Specified by:
setSendToInboxArg
in interfaceDefaultSubscriptionWidget
-
getSendToInboxArg
public java.lang.String getSendToInboxArg()
-
setIncludeDataArg
public void setIncludeDataArg(java.lang.String includeDataArg)
- Specified by:
setIncludeDataArg
in interfaceDefaultSubscriptionWidget
-
getIncludeDataArg
public java.lang.String getIncludeDataArg()
-
setZipPasswordArg
public void setZipPasswordArg(java.lang.String zipPArg)
- Specified by:
setZipPasswordArg
in interfaceDefaultSubscriptionWidget
-
getZipPasswordArg
public java.lang.String getZipPasswordArg()
-
setExpirationDateArg
public void setExpirationDateArg(java.lang.String expirationDateArg)
- Specified by:
setExpirationDateArg
in interfaceDefaultSubscriptionWidget
-
getExpirationDateArg
public java.lang.String getExpirationDateArg()
-
renderCalendar
protected GGCalendar renderCalendar(MarkupOutput out)
-
setAllowChangeDeliverySettingsArg
public void setAllowChangeDeliverySettingsArg(java.lang.String arg)
- Specified by:
setAllowChangeDeliverySettingsArg
in interfaceDefaultSubscriptionWidget
-
getChangeableMaskArg
public java.lang.String getChangeableMaskArg()
-
setChangeableMask
public void setChangeableMask(int changeableMask)
Description copied from interface:DefaultSubscriptionWidget
value fromEnumDSSXMLNCSAllowChangeMaskType
- Specified by:
setChangeableMask
in interfaceDefaultSubscriptionWidget
-
getChangeableMask
public int getChangeableMask()
Description copied from interface:DefaultSubscriptionWidget
value fromEnumDSSXMLNCSAllowChangeMaskType
- Specified by:
getChangeableMask
in interfaceDefaultSubscriptionWidget
-
setProtectZipFile
public void setProtectZipFile(boolean protectZipFile)
- Specified by:
setProtectZipFile
in interfaceDefaultSubscriptionWidget
-
isProtectZipFile
public boolean isProtectZipFile()
- Specified by:
isProtectZipFile
in interfaceDefaultSubscriptionWidget
-
setProtectZipFileArg
public void setProtectZipFileArg(java.lang.String protectZipFileArg)
- Specified by:
setProtectZipFileArg
in interfaceDefaultSubscriptionWidget
-
getProtectZipFileArg
public java.lang.String getProtectZipFileArg()
-
setAllowChangePersonalizationArg
public void setAllowChangePersonalizationArg(java.lang.String allowChangePersonalizationArg)
- Specified by:
setAllowChangePersonalizationArg
in interfaceDefaultSubscriptionWidget
-
getAllowChangePersonalizationArg
public java.lang.String getAllowChangePersonalizationArg()
-
getAllowChangeDeliverySettingsArg
public java.lang.String getAllowChangeDeliverySettingsArg()
-
setAllowUnsubscribeArg
public void setAllowUnsubscribeArg(java.lang.String allowUnsubscribeArg)
- Specified by:
setAllowUnsubscribeArg
in interfaceDefaultSubscriptionWidget
-
getAllowUnsubscribeArg
public java.lang.String getAllowUnsubscribeArg()
-
setOpenContactsBrowserEvent
public void setOpenContactsBrowserEvent(WebEvent openContactsEditorEvent)
- Specified by:
setOpenContactsBrowserEvent
in interfaceDefaultSubscriptionWidget
-
setOpenContactsBrowser
public void setOpenContactsBrowser(boolean openContactsBrowser)
- Specified by:
setOpenContactsBrowser
in interfaceDefaultSubscriptionWidget
-
-