java.lang.Object | |
↳ | com.microstrategy.web.objects.WebSubscriptionDeliveryModeEmailPropertiesImpl |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebSubscriptionDeliveryModeEmailPropertiesImpl() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Object | clone() | ||||||||||
String |
getContactSecurity()
Returns whether use Contact Security for each contact group member
| ||||||||||
String | getEmailSubject() | ||||||||||
int |
getExecutionFlags()
Gets the execution flags that have been set to be used when the history list subscription
is run.
| ||||||||||
String |
getExpiration()
Returns the expiration date of the subscription
| ||||||||||
String |
getFileName()
Returns the name of the file that will be delivered when the subscription is executed
| ||||||||||
int | getMode() | ||||||||||
String |
getSpaceDelimiter()
Returns the space delimiter
| ||||||||||
String |
getZipFileName()
Sets the name of the compressed file associated with this subscription
| ||||||||||
String |
getZipFilePassword()
Returns the password of the compressed file.
| ||||||||||
boolean |
isCompressed()
Returns whether the content that is delivered is compressed or not
| ||||||||||
boolean |
isDataIncluded()
Returns whether the subscription is configured to include 'data'
| ||||||||||
boolean |
isLinkIncluded()
Returns whether the subscription is configured to return a link to the message in the history list
| ||||||||||
boolean |
isOverwriteOlderVersion()
Returns whether the current subscription will overwrite earlier versions of the
same report or document in the history list
| ||||||||||
boolean |
isSendToInbox()
Returns whether the subscription is configured to add the delivered message to history list as well.
| ||||||||||
boolean |
isZipFileProtected()
Returns whether the compressed file is password protected
| ||||||||||
boolean |
restoreState(String state)
Restores a component based on its saved state.
| ||||||||||
boolean |
restoreState(SAXSupport parser, String uri, String localName, String qName, Attributes attrs)
Restores a component from an embedded XML during a SAX parsing.
| ||||||||||
String |
saveState()
Returns a
java.lang.String representaion of a component. | ||||||||||
void |
saveState(StringBuffer buf, int howMuchState)
Saves and stores a component's state into a
StringBuffer . | ||||||||||
String |
saveState(int howMuchState)
Returns a
java.lang.String representaion of a component. | ||||||||||
void |
saveState(StringBuffer buf, int howMuchState, int stateFlag)
Saves and stores a component's state into a
StringBuffer . | ||||||||||
void |
setCompression(boolean isCompressed)
Sets whether the content that is delivered is compressed or not
| ||||||||||
void |
setContactSecurity(String useContSec)
Sets whether use Contact Security for each contact group member
| ||||||||||
void |
setEmailSubject(String subject)
Sets the email subject associated with this subscription
| ||||||||||
void |
setExecutionFlags(int execFlags)
Sets the execution flags to be used when the history list subscription is run.
| ||||||||||
void |
setExpiration(String expiration)
Sets the expiration date of the subscription
| ||||||||||
void |
setFileName(String fileName)
Sets the name of the file that will be delivered when the subscription is executed
| ||||||||||
void |
setHistoryLinkURL(String url)
Sets the URL for the link to history list.
| ||||||||||
void |
setHistoryLinkWebServer(String webserver)
This property stores the default web-server location when the user creates a subscription.
| ||||||||||
void |
setIncludeData(boolean value)
Configures whether the subscription should include data in the delivered email.
| ||||||||||
void |
setIncludeLink(boolean value)
Configures whether a link to the history list is included in the delivered subscription
| ||||||||||
void |
setOverwriteOlderVersion(boolean overwrite)
Sets whether the subscription will overwrite earlier versions of the same report
or document in the history list
| ||||||||||
void |
setProtectZipFile(boolean isProtected)
Sets whether the compressed file is password protected.
| ||||||||||
void |
setSendToInbox(boolean value)
Configures whether the subscription adds the message to history list when it is executed
| ||||||||||
void |
setSpaceDelimiter(String spaceDelimiter)
Sets the space delimiter
| ||||||||||
void |
setZipFileName(String fileName)
Returns the name of the compressed file saved in the subscrription
| ||||||||||
void |
setZipFilePassword(String pwd)
Sets the password of the compressed file.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns whether use Contact Security for each contact group member
Gets the execution flags that have been set to be used when the history list subscription
is run. Please see setExecutionFlags(int)
for mode details.
Returns the expiration date of the subscription
Returns the name of the file that will be delivered when the subscription is executed
Returns the space delimiter
Sets the name of the compressed file associated with this subscription
Returns the password of the compressed file.
Returns whether the content that is delivered is compressed or not
Returns whether the subscription is configured to include 'data'
Returns whether the subscription is configured to return a link to the message in the history list
Returns whether the current subscription will overwrite earlier versions of the same report or document in the history list
Returns whether the subscription is configured to add the delivered message to history list as well.
Returns whether the compressed file is password protected
Restores a component based on its saved state.
state | the state of a component |
---|
Restores a component from an embedded XML during a SAX parsing.
parser | a SAX parser processing the XML representation of a state |
---|---|
uri | The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed |
localName | The local name (without prefix), or the empty string if Namespace processing is not being performed |
qName | The qualified name (with prefix), or the empty string if qualified names are not available |
attrs | The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object |
true
to indicate a successful restoration.
Otherwise, false
will be returned.
Returns a java.lang.String
representaion of a component.
The returned state should be HTML friendly. This method call
is equivalent to call
saveState(EnumWebPersistableState.TYPICAL_STATE_INFO)
.
Saves and stores a component's state into a StringBuffer
.
The returned state should be HTML friendly.
There are generally two formats of the saved state: flat state and XML representation. The minimum state is saved in flat state format, while the typical and maximum states are saved in XML string representation.
buf | a StringBuffer to store the saved state. |
---|---|
howMuchState | how much state information to save (EnumWebPersistableState). |
UnsupportedOperationException |
---|
Returns a java.lang.String
representaion of a component.
The returned state should be HTML friendly. This method call is
equivalent to call
saveState(new StringBuffer(), howMuchState)
.
howMuchState | how much state information to save (EnumWebPersistableState). |
---|
Saves and stores a component's state into a StringBuffer
.
The returned state should be HTML friendly.
There are generally two formats of the saved state: flat state and XML representation. The minimum state is saved in flat state format, while the typical and maximum states are saved in XML string representation.
buf | a StringBuffer to store the saved state. |
---|---|
howMuchState | how much state information to save (EnumWebPersistableState). |
stateFlag | bit-wise flag to indicate additional information about the state (EnumWebStateFlags). |
UnsupportedOperationException |
---|
Sets whether the content that is delivered is compressed or not
Sets whether use Contact Security for each contact group member
Sets the email subject associated with this subscription
subject | The string that should be used as the subject |
---|
Sets the execution flags to be used when the history list subscription is run.
If the subscription is to a report object, then use the execution flags from EnumDSSXMLExecutionFlags
.
If the subscription is to a document, then use the execution flags from EnumDSSXMLDocExecutionFlags
.
Sets the expiration date of the subscription
Sets the name of the file that will be delivered when the subscription is executed
Sets the URL for the link to history list. This URL should contain macros like {&WEBSERVER}, {&SERVERNAME} etc which are replaced at run-time when the subscription or the delivery notification is sent to the recipient.
This property stores the default web-server location when the user creates a subscription. In a normal execution flow, the web-server location is obtained from a property in the DefaultProjectProperties property set. However if this property is not set, then the default web-server location that is saved along with each subscription is used.
Configures whether the subscription should include data in the delivered email.
Configures whether a link to the history list is included in the delivered subscription
Sets whether the subscription will overwrite earlier versions of the same report or document in the history list
Sets whether the compressed file is password protected.
Configures whether the subscription adds the message to history list when it is executed
Sets the space delimiter
Returns the name of the compressed file saved in the subscrription
Sets the password of the compressed file.