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 HashListpropsMap- 
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.Objectclone()protected booleangetBooleanValue(java.lang.String propName)java.lang.StringgetContactSecurity()intgetExecutionFlags()java.lang.StringgetExpiration()java.lang.StringgetExpirationTimeZone()java.lang.StringgetFileName()protected intgetIntValue(java.lang.String propName)java.lang.StringgetMessageTitle()Get the message title for the mobile alertsjava.lang.StringgetMobileAppDeviceId()Get the mobile target application for the mobile subscription.java.lang.StringgetMobileAppId()Get the mobile application ID for the mobile subscription.intgetMobileClientType()Get the mobile client type for the mobile subscriptionintgetMode()protected java.lang.StringgetStringValue(java.lang.String propName)java.lang.StringgetZipFileName()java.lang.StringgetZipFilePassword()booleanisCompressed()booleanisDoNotCreateUpdateCaches()Returns whether the subscription will use a existing cachebooleanisOverwriteOlderVersion()Returns whether the current subscription will overwrite earlier versions of the same report or document in the history listbooleanisReRunHL()Returns whether the subscription will re-run against warehousebooleanisZipFileProtected()protected voidsaveXMLState(WebXMLBuilder builder, int howMuchState)protected voidsaveXMLState(java.lang.StringBuffer buf, int howMuchState)protected voidsetBooleanValue(java.lang.String propName, boolean propValue)voidsetCompression(boolean isCompressed)voidsetContactSecurity(java.lang.String useContSec)voidsetDoNotCreateUpdateCaches(boolean notCreateUpdateCache)Sets whether the subscription will use a existing cachevoidsetExecutionFlags(int flags)voidsetExpiration(java.lang.String expiration)voidsetExpirationTimeZone(java.lang.String expirationTimeZone, java.lang.String offset)voidsetFileName(java.lang.String name)protected voidsetIntValue(java.lang.String prop, int value)voidsetMessageTitle(java.lang.String title)Set the message title for mobile alertsvoidsetMobileAppDeviceId(java.lang.String mobileAppDeviceId)Set the mobile target application for the mobile subscription.voidsetMobileAppId(java.lang.String mobileAppId)Set the mobile application ID for the mobile subscription.voidsetMobileClientType(int mobileClientType)Set the mobile client type for the mobile subscriptionvoidsetOverwriteOlderVersion(boolean overwrite)Sets whether the subscription will overwrite earlier versions of the same report or document in the history listvoidsetProtectZipFile(boolean protect)voidsetReRunHL(boolean ReRunHL)Sets whether the subscription will re-run against warehouseprotected voidsetStringValue(java.lang.String prop, java.lang.String value)voidsetZipFileName(java.lang.String fileName)voidsetZipFilePassword(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, getExpirationTimeZone, setContactSecurity, setExecutionFlags, setExpiration, setExpirationTimeZone 
 - 
 
 - 
 
- 
- 
Field Detail
- 
propsMap
protected HashList propsMap
 
 - 
 
- 
Method Detail
- 
setOverwriteOlderVersion
public void setOverwriteOlderVersion(boolean overwrite)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSets whether the subscription will overwrite earlier versions of the same report or document in the history list- Specified by:
 setOverwriteOlderVersionin interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
isOverwriteOlderVersion
public boolean isOverwriteOlderVersion()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesReturns whether the current subscription will overwrite earlier versions of the same report or document in the history list- Specified by:
 isOverwriteOlderVersionin interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
setDoNotCreateUpdateCaches
public void setDoNotCreateUpdateCaches(boolean notCreateUpdateCache)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSets whether the subscription will use a existing cache- Specified by:
 setDoNotCreateUpdateCachesin interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
isDoNotCreateUpdateCaches
public boolean isDoNotCreateUpdateCaches()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesReturns whether the subscription will use a existing cache- Specified by:
 isDoNotCreateUpdateCachesin interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
setReRunHL
public void setReRunHL(boolean ReRunHL)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSets whether the subscription will re-run against warehouse- Specified by:
 setReRunHLin interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
isReRunHL
public boolean isReRunHL()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesReturns whether the subscription will re-run against warehouse- Specified by:
 isReRunHLin interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
getMode
public int getMode()
- Specified by:
 getModein interfaceWebSubscriptionDeliveryModeProperties- Returns:
 - the associated enumeration from 
EnumWebSubscriptionDeliveryMode 
 
- 
clone
public java.lang.Object clone()
- Specified by:
 clonein interfaceWebSubscriptionDeliveryModeProperties
 
- 
getMobileClientType
public int getMobileClientType()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesGet the mobile client type for the mobile subscription- Specified by:
 getMobileClientTypein interfaceWebSubscriptionDeliveryModeMobileProperties- Returns:
 - int from 
com.microstrategy.webapi.EnumDSSXMLMobileSubscriptionClientType 
 
- 
setMobileClientType
public void setMobileClientType(int mobileClientType)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSet the mobile client type for the mobile subscription- Specified by:
 setMobileClientTypein interfaceWebSubscriptionDeliveryModeMobileProperties- Parameters:
 mobileClientType- int fromcom.microstrategy.webapi.EnumDSSXMLMobileSubscriptionClientType
 
- 
getMessageTitle
public java.lang.String getMessageTitle()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesGet the message title for the mobile alerts- Specified by:
 getMessageTitlein interfaceWebSubscriptionDeliveryModeMobileProperties- Returns:
 - String
 
 
- 
setMessageTitle
public void setMessageTitle(java.lang.String title)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSet the message title for mobile alerts- Specified by:
 setMessageTitlein interfaceWebSubscriptionDeliveryModeMobileProperties
 
- 
getMobileAppDeviceId
public java.lang.String getMobileAppDeviceId()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesGet the mobile target application for the mobile subscription.
This is a device ID from the list of mobile devices- Specified by:
 getMobileAppDeviceIdin interfaceWebSubscriptionDeliveryModeMobileProperties- Returns:
 - the mobile target application for the mobile subscription
 
 
- 
setMobileAppDeviceId
public void setMobileAppDeviceId(java.lang.String mobileAppDeviceId)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSet the mobile target application for the mobile subscription.
This is a device ID from the list of mobile devices- Specified by:
 setMobileAppDeviceIdin interfaceWebSubscriptionDeliveryModeMobileProperties- Parameters:
 mobileAppDeviceId- the mobile target application for the mobile subscription
 
- 
getMobileAppId
public java.lang.String getMobileAppId()
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesGet the mobile application ID for the mobile subscription.- Specified by:
 getMobileAppIdin interfaceWebSubscriptionDeliveryModeMobileProperties- Returns:
 - the mobile application ID for the mobile subscription
 
 
- 
setMobileAppId
public void setMobileAppId(java.lang.String mobileAppId)
Description copied from interface:WebSubscriptionDeliveryModeMobilePropertiesSet the mobile application ID for the mobile subscription.- Specified by:
 setMobileAppIdin 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)
 
- 
getExpirationTimeZone
public java.lang.String getExpirationTimeZone()
 
- 
setExpirationTimeZone
public void setExpirationTimeZone(java.lang.String expirationTimeZone, java.lang.String offset) 
- 
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:
 saveXMLStatein classAbstractPersistable
 
 - 
 
 -