com.microstrategy.web.objects.WebObjectInfo |
![]() |
The WebObjectInfo interface represents the fields on any first class object which resides in metadata. All Web Objects classes which represent first class objects implement this interface.
Note that most of these objects are read-only, some of these objects are editable and can be saved back to metadata,
Some of them are editable but cannot be saved back to metadata. Refer to WebObjectSource
for more detail information.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void | buildShortObjectAttributes(WebXMLBuilder builder) | ||||||||||
abstract void | buildShortXML(WebXMLBuilder builder) | ||||||||||
abstract String |
getAbbreviation()
Returns the abbreviation of this object.
| ||||||||||
abstract int |
getAccessGranted()
Returns the current access granted on this object, if available.
| ||||||||||
abstract SimpleList |
getAncestors()
Returns a
SimpleList containing the ancestors of this object, if they exist
in the object XML. | ||||||||||
abstract String[] |
getComments()
Returns an array of strings, each of which represent a 'comment', that is saved as the long description
of the object.
| ||||||||||
abstract String | getContainerDid() | ||||||||||
abstract String | getContainerType() | ||||||||||
abstract String |
getCreationTime()
Returns the creation time of this object, if that information is available.
| ||||||||||
abstract String | getDataSources() | ||||||||||
abstract String |
getDescription()
Returns the description of the object.
| ||||||||||
abstract int |
getExtendedType()
The current extended type
| ||||||||||
abstract WebObjectsFactory |
getFactory()
Returns WebObjectsFactory
| ||||||||||
abstract int |
getFlags()
Returns the flags which determine what data to populate upon calling populate.
| ||||||||||
abstract String |
getID()
Returns the DSS ID of the object, if one exists.
| ||||||||||
abstract String |
getIconPath()
Return the icon path for the object
| ||||||||||
abstract String |
getModificationTime()
Returns the last modification time of the object, if that information is available.
| ||||||||||
abstract long | getModificationTimeStamp() | ||||||||||
abstract String |
getName()
Returns the name of this object.
| ||||||||||
abstract boolean |
getNonSchedulable()
Get flag of whether the object is not schedulable
| ||||||||||
abstract int |
getOtherNameTransCount()
Returns the count of name translations for locales other than the current effective locale.
| ||||||||||
abstract WebObjectInfo |
getOwner()
Returns a WebObjectInfo object which corresponds to the owner of this object.
| ||||||||||
abstract WebFolder |
getParent()
Returns the parent folder of the current object, if it exists.
| ||||||||||
abstract int |
getPropertyFlags()
Retrieve the current property flags
| ||||||||||
abstract SimpleList |
getPropertySetFilter()
Returns an editable
SimpleList where 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. | ||||||||||
abstract WebPropertyGroup |
getPropertySets()
Returns the property sets associated with this object.
| ||||||||||
abstract WebObjectSecurity |
getSecurity()
Returns the
WebObjectSecurity object associated with this WebObjectInfo object. | ||||||||||
abstract int |
getState()
Returns the state of the object.
| ||||||||||
abstract int |
getSubType()
Returns the subtype of the object.
| ||||||||||
abstract int |
getType()
Returns the type of this object.
| ||||||||||
abstract String |
getVersionID()
Returns the Version ID of the object, if one exists.
| ||||||||||
abstract WebViewMediaSettings | getViewMediaSettings() | ||||||||||
abstract int | getVisualizationViewMode() | ||||||||||
abstract String |
getXML(boolean encode)
Returns the XML representation of this object.
| ||||||||||
abstract String |
getXML()
Returns the XML representation of this object.
| ||||||||||
abstract boolean | hasOwner() | ||||||||||
abstract boolean |
isAncestorNamedFolder(int folderName)
Returns whether the named folder is this object's ancestor.
| ||||||||||
abstract boolean |
isDirty()
Returns whether this object has been modified to be different from the object in metadata.
| ||||||||||
abstract boolean | isEmbedded() | ||||||||||
abstract boolean |
isHidden()
Returns whether the object is a hidden object.
| ||||||||||
abstract boolean |
isNew()
Returns whether this object is newly created at client side, which is not in the metadata.
| ||||||||||
abstract boolean |
isPopulated()
Returns true if this object has been populated with its' definition from the Intelligence
Server, false if it has not been populated.
| ||||||||||
abstract void |
populate()
Populates the fields on this object by asking the Intelligence Server for
the object definition.
| ||||||||||
abstract void |
populate(String xml)
Populates the fields on this object by loading the given object definition XML.
| ||||||||||
abstract void | setAbbreviation(String abbreviation) | ||||||||||
abstract void |
setComments(String[] comments)
Set the long description of the object as an array of strings.
| ||||||||||
abstract void | setDataSources(String dataSourcesXML) | ||||||||||
abstract void |
setDescription(String description)
Sets the description of the object.
| ||||||||||
abstract void |
setExtendedType(int extendedType)
Set the current extended type
| ||||||||||
abstract void |
setFlags(int flags)
Sets the flags which determine what data to populate upon calling populate.
| ||||||||||
abstract void |
setHidden(boolean hidden)
Sets whether the object is a hidden object.
| ||||||||||
abstract void |
setIconPath(String iconPath)
Set the icon path for the object
| ||||||||||
abstract void | setName(String _name) | ||||||||||
abstract void |
setNonSchedulable(boolean nonSchedulable)
Set flag of whether the object is not schedulable
| ||||||||||
abstract void |
setPropertyFlags(int flags)
Set the current property flags
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the abbreviation of this object.
Returns the current access granted on this object, if available. This comes from
the bitwise or(|) of values from EnumDSSXMLAccessRightFlags
.
Returns a SimpleList
containing 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).
SimpleList
containing the ancestors of the object.UnsupportedOperationException | Thrown if the ancestors could not be found or retrieved for the object. |
---|
Returns 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.
Returns the creation time of this object, if that information is available.
Returns the description of the object.
The current extended type
EnumDSSXMLExtendedType
)
Returns the flags which determine what data to populate upon calling populate.
This value is the bitwise or(|) of values from EnumDSSXMLObjectFlags
.
Returns the DSS ID of the object, if one exists.
Return the icon path for the object
Returns the last modification time of the object, if that information is available.
Returns 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,
setDisplayName(String)
should be used along with the getDisplayName()
call. Please also note
that while only first-class objects (i.e. WebObjectInfo) has a "name" property, many object types
(WebElements
, and WebDimtyUnit
) can have their respective "names" accessed or changed
on the screen via getDisplayName()
and setDisplayName(String)
.
If you want to change the object's actual metadata name, it can be done via the appropriate
save(WebObjectInfo, String)
or save(WebObjectInfo, String, WebFolder)
calls.
Get flag of whether the object is not schedulable
Returns the count of name translations for locales other than the current effective locale.
Returns a WebObjectInfo object which corresponds to the owner of this object.
WebObjectsException | Thrown if the owner of this object is not available. |
---|
Returns the parent folder of the current object, if it exists. Note that the WebFolder
object returned will not be automatically populated.
UnsupportedOperationException | Thrown if the parent could not be found or retrieved for the object. |
---|
Retrieve the current property flags
EnumDSSXMLPropertyXmlFlags
Returns an editable SimpleList
where 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
Returns the property sets associated with this object. Note that this will generally only work with a non-embedded (i.e. standalone) object.
WebPropertyGroup
object, which contains the property sets associated
with this object.WebObjectsException | Thrown if the property sets could not be retrieved. |
---|
Returns the WebObjectSecurity
object associated with this WebObjectInfo object.
The WebObjectSecurity
interfaces allows viewing and modification of the ACL of
this object, and the ability to take ownership of the object.
WebObjectSecurity
object associated with this WebObjectInfo object.Returns the state of the object. This value comes from EnumDSSXMLObjectState
.
Returns the subtype of the object. This will be a value from EnumDSSXMLObjectSubTypes
.
Returns the type of this object. This will be a value from EnumDSSXMLObjectTypes
.
Returns the Version ID of the object, if one exists.
Returns 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.
encode | If this is true, then the returned string will have all special characters HTML-encoded. |
---|
Returns the XML representation of this object. Note that if this object has not been populated, this method will return an XML shell.
Returns whether the named folder is this object's ancestor.
folderName | An Enumeration in EnumDSSXMLFolderNames |
---|
WebObjectsException | Thrown if an error occurs in obtaining the DSSID for the named folder. |
---|---|
UnsupportedOperationException | Thrown if the ancestors could not be found or retrieved for the object. |
Returns 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.
true
returned when this object has been modified at client side. false
returned when this object is the same as in metadata.Returns whether the object is a hidden object.
Returns 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.
true
returned when this is a newly created object at client side. false
returned when this object is persisted in metadata.Returns true if this object has been populated with its' definition from the Intelligence Server, false if it has not been populated.
Populates the fields on this object by asking the Intelligence Server for the object definition.
WebObjectsException | Signals an error while trying to populate this object. |
---|
Populates the fields on this object by loading the given object definition XML.
xml | The XML String to use to populate this object. |
---|
WebObjectsException | Thrown if the XML string could not be loaded into this object. |
---|
Set the long description of the object as an array of strings. The long description is also known as the comments.
comments | String array of comments |
---|
Sets 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.
description | The description for the object. |
---|
Set the current extended type
Sets the flags which determine what data to populate upon calling populate.
This value should be the bitwise or(|) of values from EnumDSSXMLObjectFlags
.
flags | The flags value to use for object definition retrieval. |
---|
Sets whether the object is a hidden object. To save the change of this property to metadata,
DssXmlObjectBrowser
flag need to be set on WebObjectSource
before
calling save(WebObjectInfo)
with this object as input parameter.
hidden | boolean true to set this object to hidden. |
---|
Set the icon path for the object
Set flag of whether the object is not schedulable
Set the current property flags
flags | int binary OR of EnumDSSXMLPropertyXmlFlags
|
---|