IDSSObjectInfo provides methods that are used to identify and describe the object. It is the usual interface that is passed around as a reference to the object.
Public Member Functions | |
HRESULT | Abbreviation ([in] BSTR Abbreviation) |
String to be used as an abbreviation for the object. | |
HRESULT | Abbreviation ([out, retval] BSTR *pAbbreviation) |
String to be used as an abbreviation for the object. | |
HRESULT | AccessGranted ([out, retval] EnumDSSAccessRightFlags *pAccessGranted) |
The set of access rights granted to the calling user for this object. | |
HRESULT | AccessGrantedStr ([in, defaultvalue(0)] VARIANT_BOOL UseFullNames,[out, retval] BSTR *pAccessGrantedStr) |
A string representation of the AccessGranted property. | |
HRESULT | Comments ([out, retval] IDSSComments ppComments) |
Collection of comment strings associated with the object. | |
HRESULT | Copy ([in, defaultvalue(0)] IDSSFolder *pFolder,[in, defaultvalue("")] BSTR Name,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[out, retval] IDSSObjectInfo ppCopy) |
Make a copy of this object. | |
HRESULT | CreationTime ([out, retval] DATE *pCreationTime) |
The time when this object was first created. | |
HRESULT | Delete () |
Delete this object from persistent storage. | |
HRESULT | Dependents ([out, retval] IDSSDependents ppDependents) |
The collection of all ObjectIDs that appear in the object's definition. | |
HRESULT | Description ([in] BSTR Description) |
A description string associated with the object. | |
HRESULT | Description ([out, retval] BSTR *pDescription) |
A description string associated with the object. | |
HRESULT | Embedded ([out, retval] IDSSEmbeddedFolder ppEmbedded) |
Special folder containing the objects embedded in this object. | |
HRESULT | Errors ([out, retval] IDSSErrors ppErrors) |
A collection of errors associated with the object. | |
HRESULT | Hidden ([in] VARIANT_BOOL Hidden) |
True if the object is marked as hidden in its folder. | |
HRESULT | Hidden ([out, retval] VARIANT_BOOL *pHidden) |
True if the object is marked as hidden in its folder. | |
HRESULT | ID ([out, retval] BSTR *pID) |
The ObjectID of this object (a GUID). | |
HRESULT | InitialObject ([out, retval] IDSSObjectInfo ppInitialObject) |
If this object was created by copying, this is the object that it was copied from; otherwise, the object itself is returned. | |
HRESULT | Load ([in] Int32 Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData) |
Load in specified parts of the object. | |
HRESULT | LoadFromXMLDOM ([in] IDispatch *pElement,[in, defaultvalue(DssSourceTotalObject)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] Int32 Level) |
Attempt to populate this object from a XML document. | |
HRESULT | ModificationTime ([out, retval] DATE *pModificationTime) |
The time when the current definition of the object was persisted. | |
HRESULT | Name ([in] BSTR Name) |
The name of the object. | |
HRESULT | Name ([out, retval] BSTR *pName) |
The name of the object. | |
HRESULT | Owner ([out, retval] IDSSUser ppUser) |
User who owns this object. | |
HRESULT | Parent ([in] IDSSFolder *pParent) |
The folder that contains this object. | |
HRESULT | Parent ([out, retval] IDSSFolder ppParent) |
The folder that contains this object. | |
HRESULT | Path ([out, retval] BSTR *pPath) |
The (true) path to this object. | |
HRESULT | PopulateObject (IDSSObjectInfo *pOriginal, Int32 Flags) |
Populate specified parts of this object from another one. | |
HRESULT | Prompts ([out, retval] IDSSPrompts ppPrompts) |
The collection of prompt instances in this object. | |
HRESULT | PropertySets ([out, retval] IDSSPropertyGroup ppPropertySets) |
Collection of property values bound on this object. | |
HRESULT | Refresh () |
Reload the object's definition from persistent storage. | |
HRESULT | Save () |
Save the object's current definition onto persistent storage. | |
HRESULT | SaveToXMLDOM ([in] IDSSXMLContext *pXMLContext,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] Int32 Level,[in, defaultvalue(1)] Int32 BlockBegin,[in, defaultvalue(-1)] Int32 BlockCount,[out, retval] IDispatch ppElement) |
Write a representation of (part of) this object to an XML document. | |
HRESULT | Security ([out, retval] IDSSObjectSecurity ppObjSecurity) |
Returns the interface that controls the security of the object. | |
HRESULT | Source ([out, retval] IDSSSource ppSource) |
The IDSSSource interface used to obtain this object. | |
HRESULT | Special ([out, retval] IDispatch ppSpecial) |
Return an interface with special methods for this object's type. | |
HRESULT | State ([out, retval] EnumDSSObjectState *pState) |
The state of this instance of the object. | |
HRESULT | SubType ([out, retval] EnumDSSSubTypes *pSubType) |
A more specific object type than the value returned by Type. | |
HRESULT | Tag ([in] VARIANT *pTag) |
A non-persisted VARIANT property associated with the object. | |
HRESULT | Tag ([out, retval] VARIANT *pTag) |
A non-persisted VARIANT property associated with the object. | |
HRESULT | Type ([out, retval] EnumDSSObjectType *pType) |
The type of the object (value in an enumeration). | |
HRESULT | Validate ([in, defaultvalue(0)]Int32 Flag) |
Check that this object is well formed. | |
HRESULT | Version ([out, retval] BSTR *pVersion) |
The VersionID of the object (changed when it is persisted). |
|
String to be used as an abbreviation for the object. This is a persistent string property. The value of this property is the string that the client uses as an abbreviation for the object.
|
|
String to be used as an abbreviation for the object. This is a persistent string property. The value of this property is the string that the client uses as an abbreviation for the object.
|
|
The set of access rights granted to the calling user for this object. Return the accesses granted on this instantiation of the object. These accesses take the form of a bit vector with each bit recording a different access right. They record which operations are permitted on this instantiation of the object. A typical operation is to read values from the object, write values to an object, or to execute a report containing this object.
|
|
A string representation of the AccessGranted property. This method returns a string representation of the AccessGranted property.
|
|
Collection of comment strings associated with the object. This persisted property returns a collection of comments. Each comment is a string value. The user can examine and alter this collection to annotate an object.
|
|
Make a copy of this object. (Shortcut to CopyObject).. Make a copy of this object. This method is a shortcut to the CopyObject method on the object server. We permit the caller to provide a new name and folder for the new object. We provide the same Flags options as are available for CopyObject. However it is not possible to use Copy to make an asynchronous copy of the object.
|
|
The time when this object was first created. This is a persisted property of the object. It returns the time at which the object was created.
|
|
Delete this object from persistent storage. This method instructs the source to remove this object from persistent storage. It just relays the delete instruction to the current source. This call is likely to take a long time, since the server needs to check dependencies before it can perform the delete. It would probably make more sense for a client to delete an object by moving it to a special folder.
|
|
The collection of all ObjectIDs that appear in the object's definition. This persisted property returns a collection of all the ObjectIDs that appear in the definition of the object. Calling this method will load the definition of the object onto the client, if it was not already loaded.
|
|
A description string associated with the object. This is a persistent property of the object. It contains a user supplied string value that is associated with the object. We expect, but do not require, that this string is set as part of the process of defining the object.
|
|
A description string associated with the object. This is a persistent property of the object. It contains a user supplied string value that is associated with the object. We expect, but do not require, that this string is set as part of the process of defining the object.
|
|
Special folder containing the objects embedded in this object. Embedded is a read-only embedded folder. If this object is being used as a container for other objects, then this folder contains the objects embedded in this object. If this object cannot be used as a container then there is no Embedded folder, and this property returns NULL.
|
|
A collection of errors associated with the object. Errors is a collection of IDSSErrorInfo objects that describes the errors that occurred during loading, transportation or validation of this DSS Object. The state flags DssStateError is an indication that this collection is not empty. Errors is a non-persistent property. Its content is lost once the object is reloaded from the repository.
|
|
True if the object is marked as hidden in its folder. This is a persistent Boolean property. This property is true if the object is hidden inside the folder that contains it. Folder objects do not treat hidden objects any differently from normal objects. It is entirely up to the GUI to decide what use, if any, it makes of the hidden parameter.
|
|
True if the object is marked as hidden in its folder. This is a persistent Boolean property. This property is true if the object is hidden inside the folder that contains it. Folder objects do not treat hidden objects any differently from normal objects. It is entirely up to the GUI to decide what use, if any, it makes of the hidden parameter.
|
|
The ObjectID of this object (a GUID). The ID of an object uniquely defines it. The ID is assigned at the time of creation and is constant across the lifetime of the object. It is represented as a GUID in string format.
|
|
If this object was created by copying, this is the object that it was copied from; otherwise, the object itself is returned.
|
|
Load in specified parts of the object. Load is a method. It instructs the object server to load parts of an object. It can be used in advance to load in parts of an object that the caller plans to use later. It can also be used to load dependents of the object into the object server's cache. This call cannot be used to Refresh an object. If a requested part of the object has already been loaded then the call does not reload that part of the object.
|
|
Attempt to populate this object from a XML document. This method modifies the object using an XML document. Any existing information in the object is overwritten. The XML is passed in using a DOM interface. Since the DSS Object might only be part of the XML document, we allow the user to pass in an XML element, rather than the entire document.
|
|
The time when the current definition of the object was persisted. Return the time when a modified version of the object was last persisted. This property cannot be directly set. It is a persistent property.
|
|
The name of the object. This is a persistent string property. The value of this property is the name of the object. DSS COM will use the Name properties of objects when it constructs the Path property of an object. The name of the object is the final component of the path name of the object. We expect that an object browser also uses the name of the object for display purposes.
|
|
The name of the object. This is a persistent string property. The value of this property is the name of the object. DSS COM will use the Name properties of objects when it constructs the Path property of an object. The name of the object is the final component of the path name of the object. We expect that an object browser also uses the name of the object for display purposes.
|
|
User who owns this object. Owner is a read-only property. It returns the user that currently owns the object.
|
|
The folder that contains this object. This property of an object is the folder that contains the object. Read it to determine which folder contains the object. Write to it to attempt to move the object to a different folder.
|
|
The folder that contains this object. This property of an object is the folder that contains the object. Read it to determine which folder contains the object. Write to it to attempt to move the object to a different folder.
|
|
The (true) path to this object. This is a non-persistent string property. It returns a path from the root folder to this object. The path is not dependent on the view(s) that are in use on the client. In particular, virtual folders that were used to obtain the object will not show up on its path. If you wish to see an object's path in a particular view then you must use the PathToObject method on IDSSFolder.
|
|
Populate specified parts of this object from another one. This method changes the contents of this object by copying another object into this object. A flags parameter is used to control which parts of the object should be copied.
|
|
The collection of prompt instances in this object. This property is a collection property. The collection contains the prompt instances defined in this DSS Object. The user may populate the collection directly by its Add method, or indirectly by using prompt objects elsewhere in the application object.
|
|
Collection of property values bound on this object. This property returns a collection of PropertySet objects. Each property set is itself a collection of DSSProperty objects (interface IDSSProperty). We expose a property interface for each DSSProperty that could have an assigned value for this object. The IDSSProperty interface has properties that give information about the DSSProperty, and which also tell us what value, if any was assigned to the property.
|
|
Reload the object's definition from persistent storage. This method instructs the source to throw away any cached information it has about this object. It is implementation dependent if this means that the entire object is automatically reloaded at this time or if it is only reloaded on demand. By using VersionIDs the implementation may determine that the instance on the client is up to date, in which case it takes no action.
|
|
Save the object's current definition onto persistent storage. This method instructs the source to persistently store the current definition of this object. It does this, even if the object does not appear to have been modified since the last time that it was stored. Note that this method has nothing to do with which folder the object is located in. (This is because we don't really store objects inside folders.) If you wish to modify the location of the object you should set the Parent property.
|
|
Write a representation of (part of) this object to an XML document. This method is used to obtain an XML (extensible mark up language) representation of DSS Object. It takes various parameters that modify how much of the object is written into the XML. This allows a user to write part of an object (e.g. the browse information) into XML without writing the full object.
|
|
Returns the interface that controls the security of the object. This read-only property returns an interface which controls the security of the object.
|
|
The IDSSSource interface used to obtain this object. This runtime property returns the IDSSSource interface that was used to instantiate this object. All of the calls on the object that need to use some resource that is not stored in the object is directed through the object's source.
|
|
Return an interface with special methods for this object's type. This runtime property returns the main type-specific interface to this object. Since there are many different interfaces that could be returned by this call, the interface is actually returned as an IDispatch interface.
|
|
The state of this instance of the object. This runtime property contains a bit vector of information about the run time status of the object. It records information about this particular instantiation of the object. For example it contains a dirty bit, that is a bit that is set if the object's persisted information has been modified since it was last loaded.
|
|
A more specific object type than the value returned by Type. SubType is a read-only enumeration property. Every DSS Object has a DSS type. The Type property returns an enumeration value that indicates the type of a DSS Object. The type of an object is intrinsic to the object, and cannot be changed after the object has been created.
|
|
A non-persisted VARIANT property associated with the object. This runtime property contains a VARIANT value. It is not used by DSS COM. Its purpose is to allow a client to annotate an instance of a DSS COM object by storing a value on it. Since the tag value is not persisted, a client could use it to store a pointer.
|
|
A non-persisted VARIANT property associated with the object. This runtime property contains a VARIANT value. It is not used by DSS COM. Its purpose is to allow a client to annotate an instance of a DSS COM object by storing a value on it. Since the tag value is not persisted, a client could use it to store a pointer.
|
|
The type of the object (value in an enumeration). Type is a read-only enumeration property. It returns the DSS Type of the object. In other words it returns an enumeration constant that represents whether this object is a DSS Template, a DSS Fact etc.
|
|
Check that this object is well formed. Reserved method. Not currently implemented.
|
|
The VersionID of the object (changed when it is persisted). This persisted property contains an identifier that represents the version of the persistent information in this object. If the object has not been changed in any way, this will be the same each time it is called across time and persistence. If any changes have been made to the object, then a new Version will be returned. The version allows for efficient verification of an object across a low bandwidth connection. Since the version is stored as a GUID, two components can confirm the presence and consistency of an object by passing only it's Version.
|