Package com.microstrategy.web.objects
Class WebPrinterDeviceImpl
- java.lang.Object
-
- com.microstrategy.utils.serialization.AbstractPersistable
-
- com.microstrategy.web.objects.WebPrinterDeviceImpl
-
- All Implemented Interfaces:
KeyedObject,EnumWebPersistableState,Persistable,EnumWebObjectsFeatures,WebDevice,WebDisplayUnit,WebFeatures,WebObjectInfo,WebPromptSite,EnumDSSXMLAccessRightFlags
public class WebPrinterDeviceImpl extends AbstractPersistable
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringDELIMITERprotected java.lang.StringdeliverySettingsprotected static java.lang.StringPROPERTY_SEPERATORprotected static java.lang.StringPROPERTY_VALUE_SEPERATORprotected static java.lang.StringSUPPORTED_FORMAT_TYPESprotected WebTransmittertransmitter-
Fields inherited from class com.microstrategy.utils.serialization.AbstractPersistable
scriptEndTagEncoder
-
Fields inherited from interface com.microstrategy.webapi.EnumDSSXMLAccessRightFlags
DssXmlAccessRightBrowse, DssXmlAccessRightControl, DssXmlAccessRightDelete, DssXmlAccessRightExecute, DssXmlAccessRightFullControl, DssXmlAccessRightInheritable, DssXmlAccessRightRead, DssXmlAccessRightUse, DssXmlAccessRightUseExecute, DssXmlAccessRightWrite
-
Fields inherited from interface com.microstrategy.web.objects.EnumWebObjectsFeatures
FolderFeatureAddChild, FolderFeatureRemoveChild, ObjectFeatureBrowse, ObjectFeatureCopy, ObjectFeatureCreateShortcut, ObjectFeatureDelete, ObjectFeatureMove, ObjectFeatureUpdate, WebObjectsSubscriptionBulkExport, WebObjectsSubscriptionCustMsg, WebObjectsSubscriptionDeliveryEmail, WebObjectsSubscriptionDeliveryFile, WebObjectsSubscriptionDeliveryFtp, WebObjectsSubscriptionDeliveryPrint, WebObjectsSubscriptionHTMLDocument, WebObjectsSubscriptionNotification, WebObjectsSubscriptionRWDocument, WebObjectsSubscriptionSendNowEmail
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Constructor Summary
Constructors Constructor Description WebPrinterDeviceImpl(WebObjectsFactory _factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object_getObKey()voidaddDetails(boolean details)This method will add or remove details from the display unit.protected java.lang.StringaddProperty(java.lang.String property, boolean value)protected java.lang.StringaddProperty(java.lang.String property, int value)protected java.lang.StringaddProperty(java.lang.String property, java.lang.String value)voidapplyVisitor(DisplayUnitsVisitor visitor, boolean deep)voidbuildShortObjectAttributes(WebXMLBuilder builder)voidbuildShortXML(WebXMLBuilder builder)booleancanHighlight()protected booleancheckAccessFlags(int flags)protected booleancheckAccessRights(java.lang.String feature)protected booleancheckPrivilege(java.lang.String feature)protected com.microstrategy.web.objects.WebOIDisplayXMLHandlercreateDisplayXMLHandler()protected com.microstrategy.web.objects.WebOIDOMHandlercreateDOMHandler()protected com.microstrategy.web.objects.WebOISAXParsercreateSAXParser()protected com.microstrategy.web.objects.WebOIXMLBuildercreateXMLBuilder()voiddelete()To delete a existing device.protected voiddoFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)booleanequals(WebObjectInfo otherOI)booleanequals(java.lang.Object otherObject)protected java.lang.StringgenerateTransformationSettings()java.lang.StringgetAbbreviation()Returns the abbreviation of this object.intgetAccessGranted()Returns the current access granted on this object, if available.SimpleListgetAncestors()Returns aSimpleListcontaining the ancestors of this object, if they exist in the object XML.intgetApplicationPriority()java.lang.StringgetBackUpFileLocation()intgetBackUpLocationType()java.lang.StringgetBackUpPrinterLocation()intgetCardStatus()Returns the status of the hyper card.WebCertifiedInfogetCertifiedInfo()WebDisplayUnitsgetChildUnits()Returns the collection of child display units, or null if the object is not a collection.java.lang.String[]getComments()Returns an array of strings, each of which represent a 'comment', that is saved as the long description of the object.java.lang.StringgetContainerDid()java.lang.StringgetContainerType()java.lang.StringgetCreationTime()Returns the creation time of this object, if that information is available.longgetCreationTimeStamp()Get the object creation timestamp in millisecond.java.lang.StringgetDataSources()intgetDeliveryTimeout()java.util.Map<java.lang.String,java.lang.String>getDescMap()java.lang.StringgetDescription()Returns the description of the object.intgetDeviceEncryptionLevel()java.lang.StringgetDisplayName()Returns the display name associated with this object.intgetDisplayUnitType()Returns the type of display unit that this object represents.java.lang.StringgetDisplayXML()intgetExtendedType()The current extended typeprotected java.lang.StringgetExtParams()WebObjectsFactorygetFactory()Returns WebObjectsFactoryintgetFlags()Returns the flags which determine what data to populate upon calling populate.java.lang.StringgetIconPath()Return the icon path for the objectjava.lang.StringgetID()Returns the DSS ID of the object, if one exists.java.lang.StringgetModificationTime()Returns the last modification time of the object, if that information is available.longgetModificationTimeStamp()Get the object modification timestamp in millisecond.java.lang.StringgetName()Returns the name of this object.java.util.Map<java.lang.String,java.lang.String>getNameMap()booleangetNonSchedulable()Get flag of whether the object is not schedulableintgetNumberOfRetries()intgetOtherNameTransCount()Returns the count of name translations for locales other than the current effective locale.WebObjectInfogetOwner()Returns a WebObjectInfo object which corresponds to the owner of this object.java.lang.StringgetPaperSize()java.lang.StringgetPaperSource()WebFoldergetParent()Returns the parent folder of the current object, if it exists.intgetPdfPropertyOddEven()intgetPdfPropertyPostScriptLevel()intgetPreferredEncryptionLevel()intgetPreSaveAsFlags()Returns the flags which determine the previous save as prompt flag.java.lang.StringgetPrinterLocation()java.lang.StringgetPrintQuality()java.lang.StringgetProjectId()java.lang.StringgetProjectName()WebPromptInstancesgetPromptInstances()Returns a collection of prompt instances from this prompt site.intgetPropertyFlags()Retrieve the current property flagsSimpleListgetPropertySetFilter()Returns an editableSimpleListwhere you can specify the list of propertySets that the getPropertySets call should be limited to Note that this filter is not retained in the state.WebPropertyGroupgetPropertySets()Returns the property sets associated with this object.WebRecommendationInfogetRecommendationInfo()This contains all the information related to a recommendation searchintgetScaling()WebObjectSecuritygetSecurity()Returns theWebObjectSecurityobject associated with this WebObjectInfo object.intgetSelectedCount()intgetState()Returns the state of the object.intgetSubType()Returns the subtype of the object.java.lang.StringgetTempFileLocation()intgetTimeBetweenRetries()intgetTransmissionType()To get the transmission type of the deviceWebTransmittergetTransmitter()To get the transmitter refered by this deviceintgetType()Returns the type of this object.java.lang.StringgetVersionID()Returns the Version ID of the object, if one exists.WebViewMediaSettingsgetViewMediaSettings()intgetVisualizationViewMode()java.lang.StringgetXML()Returns the XML representation of this object.java.lang.StringgetXML(boolean encode)Returns the XML representation of this object.protected java.lang.StringgetXMLForSave()protected voidhandleOiBody(SAXSupport parser, java.lang.String local, org.xml.sax.Attributes attrs)protected voidhandleOiEnd(SAXSupport parser, java.lang.String local, java.lang.String buf)booleanhasDetails()Returns whether this display unit currently has details enabled.inthashCode()booleanhasOwner()voidhighlightUnit()Sets this display unit to be highlighted.voidhighlightUnit(boolean details)Sets this display unit to be highlighted.booleanisAllowLocationOverride()booleanisAncestorNamedFolder(int folderName)Returns whether the named folder is this object's ancestor.protected booleanisBodyDirty()booleanisDirty()Returns whether this object has been modified to be different from the object in metadata.booleanisEmbedded()booleanisFeatureAvailable(java.lang.String feature)Returns whether the given feature is available or not.booleanisFeatureAvailable(java.lang.String feature, java.lang.Object dependencyObject)Returns whether the given feature is available or not.booleanisHidden()Returns whether the object is a hidden object.booleanisHighlighted()Returns whether this unit is highlighted.booleanisNew()Returns whether this object is newly created at client side, which is not in the metadata.booleanisObjectInfo()Returns true if underlying Web Object can be cast toWebObjectInfo.booleanisPdfPropertyReversePages()booleanisPopulated()Returns true if this object has been populated with its' definition from the Intelligence Server, false if it has not been populated.booleanisSelected()Returns whether this display unit is selected.booleanIsSupportExcelFormat()To check if the device support excel formatbooleanIsSupportHTMLFormat()To check if the device support HTML formatbooleanIsSupportHTMLImages()To check if the device support HTML imagesbooleanIsSupportPDFFormat()To check if the device support PDF formatbooleanIsSupportPlaintextFormat()To check if the device support plain text formatbooleanisUseBackUpLocation()protected booleanperformIncrFetchLocally()Returns whether the incremental fetch for objects should be performed locally (on the web server tier) or not.voidpopulate()Populates the fields on this object by asking the Intelligence Server for the object definition.voidpopulate(java.lang.String xml)Populates the fields on this object by loading the given object definition XML.protected voidpostProcessOi(com.microstrategy.web.objects.WebObjectInfoImpl obj, SAXSupport parser, AttributesXt attrs)voidrestoreSettings()voidsave()To save a new/existing device, don't overwritevoidsave(boolean overwrite)To save a new/existing deviceprotected voidsaveXMLState(WebXMLBuilder builder, int howMuchState)protected voidsaveXMLState(java.lang.StringBuffer buf, int howMuchState)voidsetAbbreviation(java.lang.String ab)voidsetAllowLocationOverride(boolean allowLocationOverride)voidsetApplicationPriority(int applicationPriority)voidsetBackUpFileLocation(java.lang.String backUpFileLocation)voidsetBackUpLocationType(int backUpLocationType)voidsetBackUpPrinterLocation(java.lang.String backUpPrinterLocation)voidsetCardStatus(int cardStatus)voidsetCertifiedInfo(WebCertifiedInfo certifiedInfo)voidsetComments(java.lang.String[] _comments)Set the long description of the object as an array of strings.voidsetDataSources(java.lang.String dsXML)voidsetDeliverySettings(java.lang.String dlss)voidsetDeliveryTimeout(int deliveryTimeout)protected voidsetDescMap(java.util.Map<java.lang.String,java.lang.String> _descMap)voidsetDescription(java.lang.String _description)Sets the description of the object.voidsetDeviceEncryptionLevel(int deviceEncryptionLevel)voidsetDisplayName(java.lang.String _displayName)This method will set the value of the display name.voidsetExtendedType(int extendedType)Set the current extended typevoidsetFlags(int _flags)Sets the flags which determine what data to populate upon calling populate.voidsetHidden(boolean hid)Sets whether the object is a hidden object.voidsetIconPath(java.lang.String iconPath)Set the icon path for the objectvoidsetName(java.lang.String _name)protected voidsetNameMap(java.util.Map<java.lang.String,java.lang.String> _nameMap)voidsetNonSchedulable(boolean non_schedulable)Set flag of whether the object is not schedulablevoidsetNumberOfRetries(int numberOfRetries)voidsetPaperSize(java.lang.String paperSize)voidsetPaperSource(java.lang.String paperSource)voidsetPdfPropertyOddEven(int _pdfPropertyOddEven)voidsetPdfPropertyPostScriptLevel(int pdfPropertyPostScriptLevel)voidsetPdfPropertyReversePages(boolean pdfPropertyReversePages)voidsetPreferredEncryptionLevel(int preferredEncryptionLevel)voidsetPreSaveAsFlags(int flags)Sets the flags which determine the previous save as prompt flag.voidsetPrinterLocation(java.lang.String printerLocation)voidsetPrintQuality(java.lang.String printQuality)voidsetProjectId(java.lang.String projectId)voidsetPropertyFlags(int flags)Set the current property flagsvoidsetRecommendationInfo(WebRecommendationInfo recommendationInfo)voidsetScaling(int scaling)voidsetSelected(boolean selected)Sets the current unit's selection status.voidsetSupportExcelFormat(boolean flag)To set the device to support excel formatvoidsetSupportHTMLFormat(boolean flag)To set the device to support HTML formatvoidsetSupportHTMLImages(boolean flag)To set the device to support HTML imagesvoidsetSupportPDFFormat(boolean flag)To set the device support PDF formatvoidsetSupportPlaintextFormat(boolean flag)To set the device to support plain text formatvoidsetTempFileLocation(java.lang.String tempFileLocation)voidsetTimeBetweenRetries(int timeBetweenRetries)voidsetTransformationSettings(java.lang.String tfss)voidsetTransmissionType(int type)To set the transmission type of the devicevoidsetTransmitter(WebTransmitter transmitter)To set the transmitter refered by this devicevoidsetTransmitter(java.lang.String transmitterID)voidsetTransmitterName(java.lang.String name)voidsetUseBackUpLocation(boolean useBackUpLocation)java.lang.StringtoString()-
Methods inherited from class com.microstrategy.utils.serialization.AbstractPersistable
doFlatState, getStateHandler, isXMLStateZipped, restoreState, restoreState, restoreXMLState, saveState, saveState, saveState, saveState, saveXMLState
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.microstrategy.utils.KeyedObject
_getObKey
-
Methods inherited from interface com.microstrategy.web.objects.WebDisplayUnit
addDetails, applyVisitor, canHighlight, getChildUnits, getDisplayName, getDisplayUnitType, hasDetails, highlightUnit, highlightUnit, isHighlighted, isObjectInfo, isSelected, setDisplayName, setSelected
-
Methods inherited from interface com.microstrategy.web.objects.WebFeatures
isFeatureAvailable, isFeatureAvailable
-
Methods inherited from interface com.microstrategy.web.objects.WebObjectInfo
buildShortObjectAttributes, buildShortXML, getAbbreviation, getAccessGranted, getAncestors, getCardStatus, getCertifiedInfo, getComments, getContainerDid, getContainerType, getCreationTime, getCreationTimeStamp, getDataSources, getExtendedType, getFactory, getFlags, getIconPath, getID, getModificationTime, getModificationTimeStamp, getNonSchedulable, getOtherNameTransCount, getOwner, getParent, getPreSaveAsFlags, getProjectId, getProjectName, getPropertyFlags, getPropertySetFilter, getPropertySets, getRecommendationInfo, getSecurity, getState, getSubType, getType, getVersionID, getViewMediaSettings, getVisualizationViewMode, getXML, hasOwner, isAncestorNamedFolder, isDirty, isEmbedded, isHidden, isNew, isPopulated, populate, populate, setAbbreviation, setComments, setDataSources, setExtendedType, setFlags, setHidden, setIconPath, setNonSchedulable, setPreSaveAsFlags, setPropertyFlags
-
Methods inherited from interface com.microstrategy.web.objects.WebPromptSite
getPromptInstances
-
-
-
-
Field Detail
-
transmitter
protected WebTransmitter transmitter
-
deliverySettings
protected java.lang.String deliverySettings
-
SUPPORTED_FORMAT_TYPES
protected static final java.lang.String SUPPORTED_FORMAT_TYPES
- See Also:
- Constant Field Values
-
PROPERTY_SEPERATOR
protected static final java.lang.String PROPERTY_SEPERATOR
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_SEPERATOR
protected static final java.lang.String PROPERTY_VALUE_SEPERATOR
- See Also:
- Constant Field Values
-
DELIMITER
protected static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebPrinterDeviceImpl
public WebPrinterDeviceImpl(WebObjectsFactory _factory)
-
-
Method Detail
-
isAllowLocationOverride
public boolean isAllowLocationOverride()
-
setAllowLocationOverride
public void setAllowLocationOverride(boolean allowLocationOverride)
-
isUseBackUpLocation
public boolean isUseBackUpLocation()
-
setUseBackUpLocation
public void setUseBackUpLocation(boolean useBackUpLocation)
-
getApplicationPriority
public int getApplicationPriority()
-
setApplicationPriority
public void setApplicationPriority(int applicationPriority)
-
getBackUpLocationType
public int getBackUpLocationType()
-
setBackUpLocationType
public void setBackUpLocationType(int backUpLocationType)
-
getBackUpFileLocation
public java.lang.String getBackUpFileLocation()
-
setBackUpFileLocation
public void setBackUpFileLocation(java.lang.String backUpFileLocation)
-
getPdfPropertyPostScriptLevel
public int getPdfPropertyPostScriptLevel()
-
setPdfPropertyPostScriptLevel
public void setPdfPropertyPostScriptLevel(int pdfPropertyPostScriptLevel)
-
getPdfPropertyOddEven
public int getPdfPropertyOddEven()
-
setPdfPropertyOddEven
public void setPdfPropertyOddEven(int _pdfPropertyOddEven)
-
isPdfPropertyReversePages
public boolean isPdfPropertyReversePages()
-
setPdfPropertyReversePages
public void setPdfPropertyReversePages(boolean pdfPropertyReversePages)
-
getPrinterLocation
public java.lang.String getPrinterLocation()
-
setPrinterLocation
public void setPrinterLocation(java.lang.String printerLocation)
-
getTempFileLocation
public java.lang.String getTempFileLocation()
-
setTempFileLocation
public void setTempFileLocation(java.lang.String tempFileLocation)
-
getBackUpPrinterLocation
public java.lang.String getBackUpPrinterLocation()
-
setBackUpPrinterLocation
public void setBackUpPrinterLocation(java.lang.String backUpPrinterLocation)
-
getPaperSize
public java.lang.String getPaperSize()
-
setPaperSize
public void setPaperSize(java.lang.String paperSize)
-
getPaperSource
public java.lang.String getPaperSource()
-
setPaperSource
public void setPaperSource(java.lang.String paperSource)
-
getPrintQuality
public java.lang.String getPrintQuality()
-
setPrintQuality
public void setPrintQuality(java.lang.String printQuality)
-
getDeliveryTimeout
public int getDeliveryTimeout()
-
setDeliveryTimeout
public void setDeliveryTimeout(int deliveryTimeout)
-
getNumberOfRetries
public int getNumberOfRetries()
-
setNumberOfRetries
public void setNumberOfRetries(int numberOfRetries)
-
getScaling
public int getScaling()
-
setScaling
public void setScaling(int scaling)
-
getTimeBetweenRetries
public int getTimeBetweenRetries()
-
setTimeBetweenRetries
public void setTimeBetweenRetries(int timeBetweenRetries)
-
getDeviceEncryptionLevel
public int getDeviceEncryptionLevel()
-
setDeviceEncryptionLevel
public void setDeviceEncryptionLevel(int deviceEncryptionLevel)
-
getPreferredEncryptionLevel
public int getPreferredEncryptionLevel()
-
setPreferredEncryptionLevel
public void setPreferredEncryptionLevel(int preferredEncryptionLevel)
-
addProperty
protected java.lang.String addProperty(java.lang.String property, java.lang.String value)
-
addProperty
protected java.lang.String addProperty(java.lang.String property, boolean value)
-
addProperty
protected java.lang.String addProperty(java.lang.String property, int value)
-
setName
public void setName(java.lang.String _name)
- Specified by:
setNamein interfaceWebObjectInfo
-
getName
public java.lang.String getName()
Description copied from interface:WebObjectInfoReturns the name of this object. the name retrieved with this method is read-only on this interface, comes from the MetaData name of a first-class object. If you wish to change the name displayed to the screen,WebDisplayUnit.setDisplayName(java.lang.String)should be used along with theWebDisplayUnit.getDisplayName()call. Please also note that while only first-class objects (i.e. WebObjectInfo) has a "name" property, many object types (WebElements, andWebDimtyUnit) can have their respective "names" accessed or changed on the screen viaWebDisplayUnit.getDisplayName()andWebDisplayUnit.setDisplayName(java.lang.String). If you want to change the object's actual metadata name, it can be done via the appropriateWebObjectSource.save(WebObjectInfo, String)orWebObjectSource.save(WebObjectInfo, String, WebFolder)calls.- Specified by:
getNamein interfaceWebObjectInfo- Returns:
- The name of the object.
-
setDescription
public void setDescription(java.lang.String _description)
Description copied from interface:WebObjectInfoSets the description of the object. The object must be saved by the save or copy methods on the WebObjectSource object to cause a change to this object to be saved.- Specified by:
setDescriptionin interfaceWebObjectInfo- Parameters:
_description- The description for the object.
-
getDescription
public java.lang.String getDescription()
Description copied from interface:WebObjectInfoReturns the description of the object.- Specified by:
getDescriptionin interfaceWebObjectInfo- Returns:
- The current description of this object.
-
setNameMap
protected void setNameMap(java.util.Map<java.lang.String,java.lang.String> _nameMap)
-
getNameMap
public java.util.Map<java.lang.String,java.lang.String> getNameMap()
-
setDescMap
protected void setDescMap(java.util.Map<java.lang.String,java.lang.String> _descMap)
-
getDescMap
public java.util.Map<java.lang.String,java.lang.String> getDescMap()
-
setDeliverySettings
public void setDeliverySettings(java.lang.String dlss)
-
setTransformationSettings
public void setTransformationSettings(java.lang.String tfss)
-
getTransmissionType
public int getTransmissionType()
Description copied from interface:WebDeviceTo get the transmission type of the device- Specified by:
getTransmissionTypein interfaceWebDevice
-
setTransmissionType
public void setTransmissionType(int type)
Description copied from interface:WebDeviceTo set the transmission type of the device- Specified by:
setTransmissionTypein interfaceWebDevice- Parameters:
type- . Type of transmission, This value comes fromEnumDSSXMLSubscriptionDeliveryType
-
IsSupportPlaintextFormat
public boolean IsSupportPlaintextFormat()
Description copied from interface:WebDeviceTo check if the device support plain text format- Specified by:
IsSupportPlaintextFormatin interfaceWebDevice
-
setSupportPlaintextFormat
public void setSupportPlaintextFormat(boolean flag)
Description copied from interface:WebDeviceTo set the device to support plain text format- Specified by:
setSupportPlaintextFormatin interfaceWebDevice- Parameters:
flag- . True to support, false to not.
-
IsSupportHTMLFormat
public boolean IsSupportHTMLFormat()
Description copied from interface:WebDeviceTo check if the device support HTML format- Specified by:
IsSupportHTMLFormatin interfaceWebDevice
-
setSupportHTMLFormat
public void setSupportHTMLFormat(boolean flag)
Description copied from interface:WebDeviceTo set the device to support HTML format- Specified by:
setSupportHTMLFormatin interfaceWebDevice- Parameters:
flag- . True to support, false to not.
-
IsSupportHTMLImages
public boolean IsSupportHTMLImages()
Description copied from interface:WebDeviceTo check if the device support HTML images- Specified by:
IsSupportHTMLImagesin interfaceWebDevice
-
setSupportHTMLImages
public void setSupportHTMLImages(boolean flag)
Description copied from interface:WebDeviceTo set the device to support HTML images- Specified by:
setSupportHTMLImagesin interfaceWebDevice- Parameters:
flag- . True to support, false to not.
-
IsSupportExcelFormat
public boolean IsSupportExcelFormat()
Description copied from interface:WebDeviceTo check if the device support excel format- Specified by:
IsSupportExcelFormatin interfaceWebDevice
-
setSupportExcelFormat
public void setSupportExcelFormat(boolean flag)
Description copied from interface:WebDeviceTo set the device to support excel format- Specified by:
setSupportExcelFormatin interfaceWebDevice- Parameters:
flag- . True to support, false to not.
-
IsSupportPDFFormat
public boolean IsSupportPDFFormat()
Description copied from interface:WebDeviceTo check if the device support PDF format- Specified by:
IsSupportPDFFormatin interfaceWebDevice
-
setSupportPDFFormat
public void setSupportPDFFormat(boolean flag)
Description copied from interface:WebDeviceTo set the device support PDF format- Specified by:
setSupportPDFFormatin interfaceWebDevice- Parameters:
flag- . True to support, false to not.
-
getTransmitter
public WebTransmitter getTransmitter()
Description copied from interface:WebDeviceTo get the transmitter refered by this device- Specified by:
getTransmitterin interfaceWebDevice- Returns:
- the refered transmitter.
-
setTransmitter
public void setTransmitter(java.lang.String transmitterID)
-
setTransmitterName
public void setTransmitterName(java.lang.String name)
-
setTransmitter
public void setTransmitter(WebTransmitter transmitter)
Description copied from interface:WebDeviceTo set the transmitter refered by this device- Specified by:
setTransmitterin interfaceWebDevice- Parameters:
transmitter- . An instance of transmitter refered transmitter.
-
generateTransformationSettings
protected java.lang.String generateTransformationSettings()
-
getXML
public java.lang.String getXML()
Description copied from interface:WebObjectInfoReturns the XML representation of this object. Note that if this object has not been populated, this method will return an XML shell.- Specified by:
getXMLin interfaceWebObjectInfo- Returns:
- The XML representation of the current state of this object.
-
restoreSettings
public void restoreSettings()
-
save
public void save() throws WebObjectsExceptionDescription copied from interface:WebDeviceTo save a new/existing device, don't overwrite- Specified by:
savein interfaceWebDevice- Throws:
WebObjectsException
-
save
public void save(boolean overwrite) throws WebObjectsExceptionDescription copied from interface:WebDeviceTo save a new/existing device- Specified by:
savein interfaceWebDevice- Throws:
WebObjectsException
-
delete
public void delete() throws WebObjectsExceptionDescription copied from interface:WebDeviceTo delete a existing device.- Specified by:
deletein interfaceWebDevice- Throws:
WebObjectsException
-
doFlatState
protected void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
- Overrides:
doFlatStatein classAbstractPersistable
-
getID
public java.lang.String getID()
Description copied from interface:WebObjectInfoReturns the DSS ID of the object, if one exists.- Specified by:
getIDin interfaceWebDisplayUnit- Specified by:
getIDin interfaceWebObjectInfo- Returns:
- A String representing the ID of the object.
-
getType
public int getType()
Description copied from interface:WebObjectInfoReturns the type of this object. This will be a value fromEnumDSSXMLObjectTypes.- Specified by:
getTypein interfaceWebObjectInfo- Returns:
- The type of the object.
-
getSubType
public int getSubType()
Description copied from interface:WebObjectInfoReturns the subtype of the object. This will be a value fromEnumDSSXMLObjectSubTypes.- Specified by:
getSubTypein interfaceWebObjectInfo- Returns:
- The subtype of the object.
-
getOtherNameTransCount
public int getOtherNameTransCount()
Description copied from interface:WebObjectInfoReturns the count of name translations for locales other than the current effective locale.- Specified by:
getOtherNameTransCountin interfaceWebObjectInfo- Returns:
- The count of name translations for locales other than the current effective locale.
-
getAbbreviation
public java.lang.String getAbbreviation()
Description copied from interface:WebObjectInfoReturns the abbreviation of this object.- Specified by:
getAbbreviationin interfaceWebObjectInfo- Returns:
- The object's abbreviation, if one exists.
-
getVersionID
public java.lang.String getVersionID()
Description copied from interface:WebObjectInfoReturns the Version ID of the object, if one exists.- Specified by:
getVersionIDin interfaceWebObjectInfo- Returns:
- A String representing the ID of the object version.
-
getCreationTime
public java.lang.String getCreationTime()
Description copied from interface:WebObjectInfoReturns the creation time of this object, if that information is available.- Specified by:
getCreationTimein interfaceWebObjectInfo- Returns:
- A string representing the creation time of this object.
-
getModificationTime
public java.lang.String getModificationTime()
Description copied from interface:WebObjectInfoReturns the last modification time of the object, if that information is available.- Specified by:
getModificationTimein interfaceWebObjectInfo- Returns:
- A string representing the last modification time of the object.
-
getModificationTimeStamp
public long getModificationTimeStamp()
Description copied from interface:WebObjectInfoGet the object modification timestamp in millisecond.- Specified by:
getModificationTimeStampin interfaceWebObjectInfo
-
getCreationTimeStamp
public long getCreationTimeStamp()
Description copied from interface:WebObjectInfoGet the object creation timestamp in millisecond.- Specified by:
getCreationTimeStampin interfaceWebObjectInfo
-
isHidden
public boolean isHidden()
Description copied from interface:WebObjectInfoReturns whether the object is a hidden object.- Specified by:
isHiddenin interfaceWebObjectInfo- Returns:
- True if the object is a hidden object in metadata, false if it is not.
-
setComments
public void setComments(java.lang.String[] _comments)
Description copied from interface:WebObjectInfoSet the long description of the object as an array of strings. The long description is also known as the comments.- Specified by:
setCommentsin interfaceWebObjectInfo- Parameters:
_comments- String array of comments- Since:
- MicroStrategy Web 8.0.1
-
getComments
public java.lang.String[] getComments()
Description copied from interface:WebObjectInfoReturns an array of strings, each of which represent a 'comment', that is saved as the long description of the object. These comments can be set programmatically or using MicroStrategy Desktop (Properties editor -> Long description tab) and are separated by a carriage return.- Specified by:
getCommentsin interfaceWebObjectInfo- Returns:
- String array of comments
- Since:
- MicroStrategy Web 8.0.1
-
setHidden
public void setHidden(boolean hid)
Description copied from interface:WebObjectInfoSets whether the object is a hidden object. To save the change of this property to metadata,EnumDSSXMLObjectFlags.DssXmlObjectBrowserflag need to be set onWebObjectSourcebefore callingWebObjectSource.save(com.microstrategy.web.objects.WebObjectInfo)with this object as input parameter.- Specified by:
setHiddenin interfaceWebObjectInfo- Parameters:
hid- boolean true to set this object to hidden.- Since:
- MicroStrategy Web 8.0.0
-
getCardStatus
public int getCardStatus()
Description copied from interface:WebObjectInfoReturns the status of the hyper card. This will be a value fromEnumDssXmlHyperCardStatus.- Specified by:
getCardStatusin interfaceWebObjectInfo- Returns:
- An int value of the status of the hyper card.
-
getAccessGranted
public int getAccessGranted()
Description copied from interface:WebObjectInfoReturns the current access granted on this object, if available. This comes from the bitwise or(|) of values fromEnumDSSXMLAccessRightFlags.- Specified by:
getAccessGrantedin interfaceWebObjectInfo- Returns:
- The numeric representation of the access this user has to the object.
-
getState
public int getState()
Description copied from interface:WebObjectInfoReturns the state of the object. This value comes fromEnumDSSXMLObjectState.- Specified by:
getStatein interfaceWebObjectInfo- Returns:
- The state of this object.
-
hasOwner
public boolean hasOwner()
- Specified by:
hasOwnerin interfaceWebObjectInfo- Returns:
- whether there is an owner object available.
-
getOwner
public WebObjectInfo getOwner() throws WebObjectsException
Description copied from interface:WebObjectInfoReturns a WebObjectInfo object which corresponds to the owner of this object.- Specified by:
getOwnerin interfaceWebObjectInfo- Returns:
- A WebObjectInfo object, representing the owner of this object
- Throws:
WebObjectsException- Thrown if the owner of this object is not available.
-
getPropertySetFilter
public SimpleList getPropertySetFilter()
Description copied from interface:WebObjectInfoReturns an editableSimpleListwhere you can specify the list of propertySets that the getPropertySets call should be limited to Note that this filter is not retained in the state. Also, once the filter is defined and propertySets are retrieved for an instance, there is no way to retrieve a different set of propertySets- Specified by:
getPropertySetFilterin interfaceWebObjectInfo- Since:
- MicroStrategy Web 8.0.3
-
getPropertySets
public WebPropertyGroup getPropertySets() throws WebObjectsException
Description copied from interface:WebObjectInfoReturns the property sets associated with this object. Note that this will generally only work with a non-embedded (i.e. standalone) object.- Specified by:
getPropertySetsin interfaceWebObjectInfo- Returns:
- A
WebPropertyGroupobject, which contains the property sets associated with this object. - Throws:
WebObjectsException- Thrown if the property sets could not be retrieved.
-
getFlags
public int getFlags()
Description copied from interface:WebObjectInfoReturns the flags which determine what data to populate upon calling populate. This value is the bitwise or(|) of values fromEnumDSSXMLObjectFlags.- Specified by:
getFlagsin interfaceWebObjectInfo- Returns:
- The currently set flags value.
- See Also:
WebObjectInfo.setFlags(int)
-
setFlags
public void setFlags(int _flags)
Description copied from interface:WebObjectInfoSets the flags which determine what data to populate upon calling populate. This value should be the bitwise or(|) of values fromEnumDSSXMLObjectFlags.- Specified by:
setFlagsin interfaceWebObjectInfo- Parameters:
_flags- The flags value to use for object definition retrieval.- See Also:
WebObjectInfo.getFlags()
-
getParent
public WebFolder getParent() throws java.lang.UnsupportedOperationException
Description copied from interface:WebObjectInfoReturns the parent folder of the current object, if it exists. Note that theWebFolderobject returned will not be automatically populated.- Specified by:
getParentin interfaceWebObjectInfo- Returns:
- The parent folder of the current object. If this is the root folder, then this method will return null.
- Throws:
java.lang.UnsupportedOperationException- Thrown if the parent could not be found or retrieved for the object.
-
getDisplayName
public java.lang.String getDisplayName()
Description copied from interface:WebDisplayUnitReturns the display name associated with this object. If this was not set by the user or found in the object XML, then this will be equivalent to the name property of the underlying object.- Specified by:
getDisplayNamein interfaceWebDisplayUnit- Returns:
- The display name associated with the display unit object.
- See Also:
WebDisplayUnit.setDisplayName(java.lang.String),WebObjectInfo.getName()
-
setDisplayName
public void setDisplayName(java.lang.String _displayName)
Description copied from interface:WebDisplayUnitThis method will set the value of the display name. This name will be used to identify the object in display XML. Setting this value will have no affect on the actual name of the object.- Specified by:
setDisplayNamein interfaceWebDisplayUnit- Parameters:
_displayName- The display name to associate with the object.- See Also:
WebDisplayUnit.getDisplayName(),WebObjectInfo.getName()
-
getNonSchedulable
public boolean getNonSchedulable()
Description copied from interface:WebObjectInfoGet flag of whether the object is not schedulable- Specified by:
getNonSchedulablein interfaceWebObjectInfo- Returns:
- whether the object is not schedulable
-
setNonSchedulable
public void setNonSchedulable(boolean non_schedulable)
Description copied from interface:WebObjectInfoSet flag of whether the object is not schedulable- Specified by:
setNonSchedulablein interfaceWebObjectInfo
-
isAncestorNamedFolder
public boolean isAncestorNamedFolder(int folderName) throws WebObjectsException, java.lang.UnsupportedOperationExceptionDescription copied from interface:WebObjectInfoReturns whether the named folder is this object's ancestor.- Specified by:
isAncestorNamedFolderin interfaceWebObjectInfo- Parameters:
folderName- An Enumeration inEnumDSSXMLFolderNames- Returns:
- true if the named folder in the ancestor list, false otherwise.
- Throws:
WebObjectsException- Thrown if an error occurs in obtaining the DSSID for the named folder.java.lang.UnsupportedOperationException- Thrown if the ancestors could not be found or retrieved for the object.
-
isFeatureAvailable
public boolean isFeatureAvailable(java.lang.String feature)
Description copied from interface:WebFeaturesReturns whether the given feature is available or not.- Specified by:
isFeatureAvailablein interfaceWebFeatures- Parameters:
feature- The feature to check for, fromEnumWebObjectsFeatures.- Returns:
- Whether the given feature is available.
- Since:
- MicroStrategy Web 8.0.0
-
isFeatureAvailable
public boolean isFeatureAvailable(java.lang.String feature, java.lang.Object dependencyObject)Description copied from interface:WebFeaturesReturns whether the given feature is available or not.- Specified by:
isFeatureAvailablein interfaceWebFeatures- Parameters:
feature- The feature to check for, fromEnumWebObjectsFeatures.dependencyObject- A dependency object which can be used as an additional parameter for certain feature types.- Returns:
- Whether the given feature is available.
- Since:
- MicroStrategy Web 8.0.0
-
getXMLForSave
protected java.lang.String getXMLForSave()
-
getXML
public java.lang.String getXML(boolean encode)
Description copied from interface:WebObjectInfoReturns the XML representation of this object. Note that if this object has not been populated, this method will return an XML shell. The encoding parameter will tell whether the XML generated should have special characters HTML encoded.- Specified by:
getXMLin interfaceWebObjectInfo- Parameters:
encode- If this is true, then the returned string will have all special characters HTML-encoded.- Returns:
- The XML representation of the current state of this object.
-
populate
public void populate() throws WebObjectsExceptionDescription copied from interface:WebObjectInfoPopulates the fields on this object by asking the Intelligence Server for the object definition.- Specified by:
populatein interfaceWebObjectInfo- Throws:
WebObjectsException- Signals an error while trying to populate this object.
-
getExtParams
protected java.lang.String getExtParams()
-
performIncrFetchLocally
protected boolean performIncrFetchLocally()
Returns whether the incremental fetch for objects should be performed locally (on the web server tier) or not.- Returns:
- True if the incremental fetch should be performed on the Web Server Tier; otherwise, false.
- Since:
- MicroStrategy Web 8.0.2
-
populate
public void populate(java.lang.String xml) throws WebObjectsExceptionDescription copied from interface:WebObjectInfoPopulates the fields on this object by loading the given object definition XML.- Specified by:
populatein interfaceWebObjectInfo- Parameters:
xml- The XML String to use to populate this object.- Throws:
WebObjectsException- Thrown if the XML string could not be loaded into this object.
-
isPopulated
public boolean isPopulated()
Description copied from interface:WebObjectInfoReturns true if this object has been populated with its' definition from the Intelligence Server, false if it has not been populated.- Specified by:
isPopulatedin interfaceWebObjectInfo- Returns:
- The current population status of this object.
-
getAncestors
public SimpleList getAncestors() throws java.lang.UnsupportedOperationException
Description copied from interface:WebObjectInfoReturns aSimpleListcontaining the ancestors of this object, if they exist in the object XML. If they do not exist in object XML, and this is object has a valid DSSID, a request will be sent back to Intelligence Server to retrieve the ancestors information. These objects will be in order from highest ancestor (usually the root folder) to lowest ancestor (the parent folder).- Specified by:
getAncestorsin interfaceWebObjectInfo- Returns:
- A
SimpleListcontaining the ancestors of the object. - Throws:
java.lang.UnsupportedOperationException- Thrown if the ancestors could not be found or retrieved for the object.
-
getSecurity
public WebObjectSecurity getSecurity()
Description copied from interface:WebObjectInfoReturns theWebObjectSecurityobject associated with this WebObjectInfo object. TheWebObjectSecurityinterfaces allows viewing and modification of the ACL of this object, and the ability to take ownership of the object.- Specified by:
getSecurityin interfaceWebObjectInfo- Returns:
- The
WebObjectSecurityobject associated with this WebObjectInfo object. - Since:
- MicroStrategy Web 7.5.2
-
getDisplayUnitType
public int getDisplayUnitType()
Description copied from interface:WebDisplayUnitReturns the type of display unit that this object represents. If this display unit represents a first-class object, then this method will return a value fromEnumDSSXMLObjectTypes; otherwise, it will return a value fromEnumWebDependentObjectType.- Specified by:
getDisplayUnitTypein interfaceWebDisplayUnit- Returns:
- The display unit type, from
EnumDSSXMLObjectTypesorEnumWebDependentObjectType.
-
addDetails
public void addDetails(boolean details) throws WebObjectsExceptionDescription copied from interface:WebDisplayUnitThis method will add or remove details from the display unit. Note that this call may generate a call to the Intelligence Server if the details are not already present for the display unit.- Specified by:
addDetailsin interfaceWebDisplayUnit- Parameters:
details- The desired state of details for the display unit.- Throws:
WebObjectsException- Thrown if the details cannot be retrieved from the Intelligence Server.
-
getDisplayXML
public java.lang.String getDisplayXML() throws WebObjectsException- Throws:
WebObjectsException
-
equals
public boolean equals(WebObjectInfo otherOI)
-
postProcessOi
protected void postProcessOi(com.microstrategy.web.objects.WebObjectInfoImpl obj, SAXSupport parser, AttributesXt attrs) throws org.xml.sax.SAXException- Throws:
org.xml.sax.SAXException- Since:
- MicroStrategy Web 8.0.0
-
handleOiBody
protected void handleOiBody(SAXSupport parser, java.lang.String local, org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
-
handleOiEnd
protected void handleOiEnd(SAXSupport parser, java.lang.String local, java.lang.String buf)
-
isObjectInfo
public boolean isObjectInfo()
Description copied from interface:WebDisplayUnitReturns true if underlying Web Object can be cast toWebObjectInfo. If an object can be cast toWebObjectInfo, then it is a first class object.- Specified by:
isObjectInfoin interfaceWebDisplayUnit- Returns:
- true if underlying Web Object can be cast to
WebObjectInfo.
-
buildShortXML
public void buildShortXML(WebXMLBuilder builder)
- Specified by:
buildShortXMLin interfaceWebObjectInfo
-
buildShortObjectAttributes
public void buildShortObjectAttributes(WebXMLBuilder builder)
- Specified by:
buildShortObjectAttributesin interfaceWebObjectInfo
-
equals
public boolean equals(java.lang.Object otherObject)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setAbbreviation
public void setAbbreviation(java.lang.String ab)
- Specified by:
setAbbreviationin interfaceWebObjectInfo- Since:
- MicroStrategy Web 7.5.2
-
getFactory
public WebObjectsFactory getFactory()
Description copied from interface:WebObjectInfoReturns WebObjectsFactory- Specified by:
getFactoryin interfaceWebObjectInfo- Returns:
- WebObjectsFactory
-
checkPrivilege
protected boolean checkPrivilege(java.lang.String feature) throws WebObjectsException- Throws:
WebObjectsException- Since:
- MicroStrategy Web 8.0.0
-
checkAccessRights
protected boolean checkAccessRights(java.lang.String feature)
- Since:
- MicroStrategy Web 8.0.0
-
checkAccessFlags
protected boolean checkAccessFlags(int flags)
- Since:
- MicroStrategy Web 8.0.0
-
isDirty
public boolean isDirty()
Description copied from interface:WebObjectInfoReturns whether this object has been modified to be different from the object in metadata. Any changes to this object self or the objects it contains will make this flag to be true. For a modified object, after saving it back to metadata will make this flag to be false.- Specified by:
isDirtyin interfaceWebObjectInfo- Returns:
- boolean
truereturned when this object has been modified at client side.falsereturned when this object is the same as in metadata. - Since:
- MicroStrategy Web 8.0.0
-
isNew
public boolean isNew()
Description copied from interface:WebObjectInfoReturns whether this object is newly created at client side, which is not in the metadata. For a new object, after saving it back to metadata will turn this flag to false.- Specified by:
isNewin interfaceWebObjectInfo- Returns:
- boolean
truereturned when this is a newly created object at client side.falsereturned when this object is persisted in metadata. - Since:
- MicroStrategy Web 8.0.0
-
isBodyDirty
protected boolean isBodyDirty()
- Since:
- MicroStrategy Web 8.0.0
-
createSAXParser
protected com.microstrategy.web.objects.WebOISAXParser createSAXParser()
- Since:
- MicroStrategy Web 8.0.0
-
createDOMHandler
protected com.microstrategy.web.objects.WebOIDOMHandler createDOMHandler()
- Since:
- MicroStrategy Web 8.0.0
-
createDisplayXMLHandler
protected com.microstrategy.web.objects.WebOIDisplayXMLHandler createDisplayXMLHandler()
- Since:
- MicroStrategy Web 8.0.0
-
createXMLBuilder
protected com.microstrategy.web.objects.WebOIXMLBuilder createXMLBuilder()
- Since:
- MicroStrategy Web 8.0.0
-
getPromptInstances
public WebPromptInstances getPromptInstances()
Description copied from interface:WebPromptSiteReturns a collection of prompt instances from this prompt site.- Specified by:
getPromptInstancesin interfaceWebPromptSite- Returns:
- a collection of prompt instances.
-
isEmbedded
public boolean isEmbedded()
- Specified by:
isEmbeddedin interfaceWebObjectInfo
-
getContainerType
public java.lang.String getContainerType()
- Specified by:
getContainerTypein interfaceWebObjectInfo
-
getContainerDid
public java.lang.String getContainerDid()
- Specified by:
getContainerDidin interfaceWebObjectInfo
-
setDataSources
public void setDataSources(java.lang.String dsXML)
- Specified by:
setDataSourcesin interfaceWebObjectInfo
-
getDataSources
public java.lang.String getDataSources()
- Specified by:
getDataSourcesin interfaceWebObjectInfo
-
getViewMediaSettings
public WebViewMediaSettings getViewMediaSettings()
- Specified by:
getViewMediaSettingsin interfaceWebObjectInfo
-
getIconPath
public java.lang.String getIconPath()
Description copied from interface:WebObjectInfoReturn the icon path for the object- Specified by:
getIconPathin interfaceWebObjectInfo- Returns:
Stringcontaining the icon path for the object
-
setIconPath
public void setIconPath(java.lang.String iconPath)
Description copied from interface:WebObjectInfoSet the icon path for the object- Specified by:
setIconPathin interfaceWebObjectInfo
-
setCardStatus
public void setCardStatus(int cardStatus)
-
getVisualizationViewMode
public int getVisualizationViewMode()
- Specified by:
getVisualizationViewModein interfaceWebObjectInfo
-
getPropertyFlags
public int getPropertyFlags()
Description copied from interface:WebObjectInfoRetrieve the current property flags- Specified by:
getPropertyFlagsin interfaceWebObjectInfo- Returns:
- int binary OR of
EnumDSSXMLPropertyXmlFlags
-
setPropertyFlags
public void setPropertyFlags(int flags)
Description copied from interface:WebObjectInfoSet the current property flags- Specified by:
setPropertyFlagsin interfaceWebObjectInfo- Parameters:
flags- int binary OR ofEnumDSSXMLPropertyXmlFlags
-
setExtendedType
public void setExtendedType(int extendedType)
Description copied from interface:WebObjectInfoSet the current extended type- Specified by:
setExtendedTypein interfaceWebObjectInfo
-
getExtendedType
public int getExtendedType()
Description copied from interface:WebObjectInfoThe current extended type- Specified by:
getExtendedTypein interfaceWebObjectInfo- Returns:
- the current extended type (a value from
EnumDSSXMLExtendedType)
-
getCertifiedInfo
public WebCertifiedInfo getCertifiedInfo()
- Specified by:
getCertifiedInfoin interfaceWebObjectInfo
-
setCertifiedInfo
public void setCertifiedInfo(WebCertifiedInfo certifiedInfo)
-
getProjectId
public java.lang.String getProjectId()
- Specified by:
getProjectIdin interfaceWebObjectInfo- Returns:
- project id of the object
-
getProjectName
public java.lang.String getProjectName()
- Specified by:
getProjectNamein interfaceWebObjectInfo- Returns:
- project name of the object
-
getRecommendationInfo
public WebRecommendationInfo getRecommendationInfo()
Description copied from interface:WebObjectInfoThis contains all the information related to a recommendation search- Specified by:
getRecommendationInfoin interfaceWebObjectInfo- Returns:
- recommendation info
-
setRecommendationInfo
public void setRecommendationInfo(WebRecommendationInfo recommendationInfo)
-
setProjectId
public void setProjectId(java.lang.String projectId)
-
getPreSaveAsFlags
public int getPreSaveAsFlags()
Description copied from interface:WebObjectInfoReturns the flags which determine the previous save as prompt flag. This value is the integer or(|) of values fromEnumDSSXMLDocSaveAsFlags.- Specified by:
getPreSaveAsFlagsin interfaceWebObjectInfo- Returns:
- The previous set flags value.
- See Also:
WebObjectInfo.setPreSaveAsFlags(int)
-
setPreSaveAsFlags
public void setPreSaveAsFlags(int flags)
Description copied from interface:WebObjectInfoSets the flags which determine the previous save as prompt flag. This value should be the integer or(|) of values fromEnumDSSXMLDocSaveAsFlags.- Specified by:
setPreSaveAsFlagsin interfaceWebObjectInfo- Parameters:
flags- The flags value to use for object definition retrieval.- See Also:
WebObjectInfo.getPreSaveAsFlags()
-
isHighlighted
public boolean isHighlighted()
Description copied from interface:WebDisplayUnitReturns whether this unit is highlighted.- Specified by:
isHighlightedin interfaceWebDisplayUnit- Returns:
- True if the display unit is highlighted, false otherwise.
-
highlightUnit
public void highlightUnit()
Description copied from interface:WebDisplayUnitSets this display unit to be highlighted. This call will ensure that details are not present for the highlighted unit.- Specified by:
highlightUnitin interfaceWebDisplayUnit
-
highlightUnit
public void highlightUnit(boolean details) throws WebObjectsExceptionDescription copied from interface:WebDisplayUnitSets this display unit to be highlighted. The details value will determine whether it should include details as well.- Specified by:
highlightUnitin interfaceWebDisplayUnit- Parameters:
details- Whether the highlighted unit should include details.- Throws:
WebObjectsException- Thrown if the details for a highlighted unit cannot be retrieved from the Intelligence Server.
-
isSelected
public boolean isSelected()
Description copied from interface:WebDisplayUnitReturns whether this display unit is selected.- Specified by:
isSelectedin interfaceWebDisplayUnit- Returns:
- True if the unit is selected, false otherwise.
-
setSelected
public void setSelected(boolean selected)
Description copied from interface:WebDisplayUnitSets the current unit's selection status.- Specified by:
setSelectedin interfaceWebDisplayUnit- Parameters:
selected- Whether the unit should be set to be selected or not.
-
_getObKey
public java.lang.Object _getObKey()
- Specified by:
_getObKeyin interfaceKeyedObject- Since:
- MicroStrategy Web 8.0.0
-
getChildUnits
public WebDisplayUnits getChildUnits() throws WebObjectsException
Description copied from interface:WebDisplayUnitReturns the collection of child display units, or null if the object is not a collection. Note that several display units are actually collections of display units as well.- Specified by:
getChildUnitsin interfaceWebDisplayUnit- Returns:
- The collection of child display units of this instance, or null if this object is not a collection.
- Throws:
WebObjectsException
-
getSelectedCount
public int getSelectedCount() throws WebObjectsException- Throws:
WebObjectsException
-
hasDetails
public boolean hasDetails()
Description copied from interface:WebDisplayUnitReturns whether this display unit currently has details enabled.- Specified by:
hasDetailsin interfaceWebDisplayUnit- Returns:
- True if details are enabled, false otherwise.
-
applyVisitor
public void applyVisitor(DisplayUnitsVisitor visitor, boolean deep) throws WebObjectsException
- Specified by:
applyVisitorin interfaceWebDisplayUnit- Throws:
WebObjectsException
-
canHighlight
public boolean canHighlight()
- Specified by:
canHighlightin interfaceWebDisplayUnit- Since:
- MicroStrategy Web 8.0.0
-
saveXMLState
protected void saveXMLState(java.lang.StringBuffer buf, int howMuchState)- Overrides:
saveXMLStatein classAbstractPersistable
-
saveXMLState
protected void saveXMLState(WebXMLBuilder builder, int howMuchState)
-
-