Package com.microstrategy.web.objects
Class WebIServerSubscriptionDeliveryModeMobilePropertiesImpl
- java.lang.Object
-
- com.microstrategy.utils.serialization.AbstractPersistable
-
- com.microstrategy.web.objects.WebIServerSubscriptionDeliveryModeMobilePropertiesImpl
-
- All Implemented Interfaces:
EnumWebPersistableState
,Persistable
,EnumWebSubscriptionDeliveryMode
,WebSubscriptionDeliveryModeMobileProperties
,WebSubscriptionDeliveryModeProperties
,java.lang.Cloneable
- Direct Known Subclasses:
WebIServerSubscriptionDeliveryModePersonalViewPropertiesImpl
public class WebIServerSubscriptionDeliveryModeMobilePropertiesImpl extends AbstractPersistable implements WebSubscriptionDeliveryModeMobileProperties, java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description protected HashList
propsMap
-
Fields inherited from class com.microstrategy.utils.serialization.AbstractPersistable
scriptEndTagEncoder
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
Fields inherited from interface com.microstrategy.web.objects.EnumWebSubscriptionDeliveryMode
SUBSCRIPTION_DELIVERY_MODE_EMAIL, SUBSCRIPTION_DELIVERY_MODE_FILE, SUBSCRIPTION_DELIVERY_MODE_INBOX, SUBSCRIPTION_DELIVERY_MODE_PRINT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
protected boolean
getBooleanValue(java.lang.String propName)
java.lang.String
getContactSecurity()
int
getExecutionFlags()
java.lang.String
getExpiration()
java.lang.String
getFileName()
protected int
getIntValue(java.lang.String propName)
java.lang.String
getMessageTitle()
Get the message title for the mobile alertsjava.lang.String
getMobileAppDeviceId()
Get the mobile target application for the mobile subscription.java.lang.String
getMobileAppId()
Get the mobile application ID for the mobile subscription.int
getMobileClientType()
Get the mobile client type for the mobile subscriptionint
getMode()
protected java.lang.String
getStringValue(java.lang.String propName)
java.lang.String
getZipFileName()
java.lang.String
getZipFilePassword()
boolean
isCompressed()
boolean
isDoNotCreateUpdateCaches()
Returns whether the subscription will use a existing cacheboolean
isOverwriteOlderVersion()
Returns whether the current subscription will overwrite earlier versions of the same report or document in the history listboolean
isReRunHL()
Returns whether the subscription will re-run against warehouseboolean
isZipFileProtected()
protected void
saveXMLState(WebXMLBuilder builder, int howMuchState)
protected void
saveXMLState(java.lang.StringBuffer buf, int howMuchState)
protected void
setBooleanValue(java.lang.String propName, boolean propValue)
void
setCompression(boolean isCompressed)
void
setContactSecurity(java.lang.String useContSec)
void
setDoNotCreateUpdateCaches(boolean notCreateUpdateCache)
Sets whether the subscription will use a existing cachevoid
setExecutionFlags(int flags)
void
setExpiration(java.lang.String expiration)
void
setFileName(java.lang.String name)
protected void
setIntValue(java.lang.String prop, int value)
void
setMessageTitle(java.lang.String title)
Set the message title for mobile alertsvoid
setMobileAppDeviceId(java.lang.String mobileAppDeviceId)
Set the mobile target application for the mobile subscription.void
setMobileAppId(java.lang.String mobileAppId)
Set the mobile application ID for the mobile subscription.void
setMobileClientType(int mobileClientType)
Set the mobile client type for the mobile subscriptionvoid
setOverwriteOlderVersion(boolean overwrite)
Sets whether the subscription will overwrite earlier versions of the same report or document in the history listvoid
setProtectZipFile(boolean protect)
void
setReRunHL(boolean ReRunHL)
Sets whether the subscription will re-run against warehouseprotected void
setStringValue(java.lang.String prop, java.lang.String value)
void
setZipFileName(java.lang.String fileName)
void
setZipFilePassword(java.lang.String _p)
-
Methods inherited from class com.microstrategy.utils.serialization.AbstractPersistable
doFlatState, doFlatState, getStateHandler, isXMLStateZipped, restoreState, restoreState, restoreXMLState, saveState, saveState, saveState, saveState, saveXMLState
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.utils.serialization.Persistable
restoreState, restoreState, saveState, saveState, saveState, saveState
-
Methods inherited from interface com.microstrategy.web.objects.WebSubscriptionDeliveryModeProperties
getContactSecurity, getExecutionFlags, getExpiration, setContactSecurity, setExecutionFlags, setExpiration
-
-
-
-
Field Detail
-
propsMap
protected HashList propsMap
-
-
Method Detail
-
setOverwriteOlderVersion
public void setOverwriteOlderVersion(boolean overwrite)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Sets whether the subscription will overwrite earlier versions of the same report or document in the history list- Specified by:
setOverwriteOlderVersion
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
isOverwriteOlderVersion
public boolean isOverwriteOlderVersion()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Returns whether the current subscription will overwrite earlier versions of the same report or document in the history list- Specified by:
isOverwriteOlderVersion
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
setDoNotCreateUpdateCaches
public void setDoNotCreateUpdateCaches(boolean notCreateUpdateCache)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Sets whether the subscription will use a existing cache- Specified by:
setDoNotCreateUpdateCaches
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
isDoNotCreateUpdateCaches
public boolean isDoNotCreateUpdateCaches()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Returns whether the subscription will use a existing cache- Specified by:
isDoNotCreateUpdateCaches
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
setReRunHL
public void setReRunHL(boolean ReRunHL)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Sets whether the subscription will re-run against warehouse- Specified by:
setReRunHL
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
isReRunHL
public boolean isReRunHL()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Returns whether the subscription will re-run against warehouse- Specified by:
isReRunHL
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
getMode
public int getMode()
- Specified by:
getMode
in interfaceWebSubscriptionDeliveryModeProperties
- Returns:
- the associated enumeration from
EnumWebSubscriptionDeliveryMode
-
clone
public java.lang.Object clone()
- Specified by:
clone
in interfaceWebSubscriptionDeliveryModeProperties
-
getMobileClientType
public int getMobileClientType()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Get the mobile client type for the mobile subscription- Specified by:
getMobileClientType
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Returns:
- int from
com.microstrategy.webapi.EnumDSSXMLMobileSubscriptionClientType
-
setMobileClientType
public void setMobileClientType(int mobileClientType)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Set the mobile client type for the mobile subscription- Specified by:
setMobileClientType
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Parameters:
mobileClientType
- int fromcom.microstrategy.webapi.EnumDSSXMLMobileSubscriptionClientType
-
getMessageTitle
public java.lang.String getMessageTitle()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Get the message title for the mobile alerts- Specified by:
getMessageTitle
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Returns:
- String
-
setMessageTitle
public void setMessageTitle(java.lang.String title)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Set the message title for mobile alerts- Specified by:
setMessageTitle
in interfaceWebSubscriptionDeliveryModeMobileProperties
-
getMobileAppDeviceId
public java.lang.String getMobileAppDeviceId()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Get the mobile target application for the mobile subscription.
This is a device ID from the list of mobile devices- Specified by:
getMobileAppDeviceId
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Returns:
- the mobile target application for the mobile subscription
-
setMobileAppDeviceId
public void setMobileAppDeviceId(java.lang.String mobileAppDeviceId)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Set the mobile target application for the mobile subscription.
This is a device ID from the list of mobile devices- Specified by:
setMobileAppDeviceId
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Parameters:
mobileAppDeviceId
- the mobile target application for the mobile subscription
-
getMobileAppId
public java.lang.String getMobileAppId()
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Get the mobile application ID for the mobile subscription.- Specified by:
getMobileAppId
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Returns:
- the mobile application ID for the mobile subscription
-
setMobileAppId
public void setMobileAppId(java.lang.String mobileAppId)
Description copied from interface:WebSubscriptionDeliveryModeMobileProperties
Set the mobile application ID for the mobile subscription.- Specified by:
setMobileAppId
in interfaceWebSubscriptionDeliveryModeMobileProperties
- Parameters:
mobileAppId
- the mobile application ID for the mobile subscription
-
getStringValue
protected java.lang.String getStringValue(java.lang.String propName)
-
getBooleanValue
protected boolean getBooleanValue(java.lang.String propName)
-
getIntValue
protected int getIntValue(java.lang.String propName)
-
setBooleanValue
protected void setBooleanValue(java.lang.String propName, boolean propValue)
-
setStringValue
protected void setStringValue(java.lang.String prop, java.lang.String value)
-
setIntValue
protected void setIntValue(java.lang.String prop, int value)
-
saveXMLState
protected void saveXMLState(WebXMLBuilder builder, int howMuchState)
-
isCompressed
public boolean isCompressed()
-
setCompression
public void setCompression(boolean isCompressed)
-
getExpiration
public java.lang.String getExpiration()
-
setExpiration
public void setExpiration(java.lang.String expiration)
-
setExecutionFlags
public void setExecutionFlags(int flags)
-
setContactSecurity
public void setContactSecurity(java.lang.String useContSec)
-
getContactSecurity
public java.lang.String getContactSecurity()
-
getExecutionFlags
public int getExecutionFlags()
-
getFileName
public java.lang.String getFileName()
-
setFileName
public void setFileName(java.lang.String name)
-
setZipFilePassword
public void setZipFilePassword(java.lang.String _p)
-
getZipFileName
public java.lang.String getZipFileName()
-
setZipFileName
public void setZipFileName(java.lang.String fileName)
-
getZipFilePassword
public java.lang.String getZipFilePassword()
-
isZipFileProtected
public boolean isZipFileProtected()
-
setProtectZipFile
public void setProtectZipFile(boolean protect)
-
saveXMLState
protected void saveXMLState(java.lang.StringBuffer buf, int howMuchState)
- Overrides:
saveXMLState
in classAbstractPersistable
-
-