That is a client cannot manipulate the definitions of objects through this interface, but can perform most (non-type specific) actions on the object as a whole. In particular the folder hierarchy can be manipulated through the IDSSSource interface. The IDSSSource interface is used in the following circumstances:
Public Member Functions | |
| HRESULT | Administrator ([out, retval] IDispatch ppAdministrator) |
| Return a special administrator interface for this source. | |
| HRESULT | Configuration ([out, retval] IDSSConfiguration ppConfiguration) |
| For both a project and a configuration source this property returns the configuration object used to define the configuration. | |
| HRESULT | CopyObject ([in] IDSSObjectInfo *pOriginal,[in, defaultvalue(0)] IDSSFolder *pFolder,[in, defaultvalue("")] BSTR Name,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData,[out, retval] IDSSObjectInfo ppCopy) |
| Copy an object into a new folder. | |
| HRESULT | DeleteObject ([in] IDSSObjectInfo *pObject,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData) |
| Delete an object. | |
| HRESULT | ExecuteCommand ([in] EnumDSSSourceCommands pCommand,[in, optional] VARIANT *pIn,[in, defaultvalue(0)] Int32 iFlags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[out, retval] VARIANT *pOut) |
| Perform a miscellaneous object source level command. | |
| HRESULT | ExecuteSearch ([in] IDSSSearch *pSearchObject,[in, defaultvalue(0)] Int32 FirstObject,[in, defaultvalue(0)] IDSSFolder *pExistingFolder,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData,[out, retval] IDSSFolder ppNewFolder) |
| Perform a search on objects supplied by this source. | |
| HRESULT | FindObject ([in] BSTR Id,[in] EnumDSSObjectType Type,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData,[out, retval] IDSSObjectInfo ppObject) |
| Obtain a particular object's definition/info. | |
| HRESULT | LoadSchema ([in] EnumDSSLoadSchema SchemaParts,[in] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData) |
| Loads schema level objects into memory. | |
| HRESULT | MoveObject ([in] IDSSObjectInfo *pObject,[in] IDSSFolder *pFolder,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData) |
| Move an object to a new folder. | |
| HRESULT | NameScope ([in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in] Int32 NameScope) |
| The uniqueness property on names in this project. | |
| HRESULT | NameScope ([in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[out, retval] Int32 *pNameScope) |
| The uniqueness property on names in this project. | |
| HRESULT | NewObject ([in] EnumDSSObjectType Type,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[out, retval] IDSSObjectInfo ppObject) |
| Create a new object in a folder. | |
| HRESULT | Project ([out, retval] IDSSProject ppProject) |
| The project (if any) associated with this source. | |
| HRESULT | RefreshObject ([in] IDSSObjectInfo *pObject,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData) |
| Reload an object, and replace the version in cache. | |
| HRESULT | ReplaceDependents ([in] IDSSCollection *pObjects,[in] VARIANT *pOriginal,[in, optional] VARIANT *pReplaceWith,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime) |
| This method performs a search and replace of dependencies within a list of DSS Objects. | |
| HRESULT | Root ([in, defaultvalue(DssRootProject)] EnumDSSRootType Type,[in, defaultvalue(0)] Int32 Flags,[out, retval] IDSSFolder ppRoot) |
| The root folder of the persisted hierarchy. | |
| HRESULT | SaveObject ([in] IDSSObjectInfo *pObject,[in, defaultvalue(0)] IDSSFolder *pFolder,[in, defaultvalue(0)] EnumDSSSourceFlags Flags,[in, defaultvalue(0)] IDSSUserRuntime *pUserRuntime,[in, defaultvalue(0)] Int32 Cookie,[in, defaultvalue(0)] Int32 UserData,[out, defaultvalue(0)] IDSSObjectInfo ppCurrent) |
| Persist a version of an object. | |
| HRESULT | Schema ([out, retval] IDSSSchema ppSchema) |
| The schema in use by this source. | |
| HRESULT | Separator ([in] BSTR Separator) |
| The character used to separate folder names in a path name. | |
| HRESULT | Separator ([out, retval] BSTR *pSeparator) |
| The character used to separate folder names in a path name. | |
|
|
Return a special administrator interface for this source. Every source should have an administrator interface, which is an interface with methods specific to the type of the source (e.g. object server, metadata server etc.). This interface is returned via this read only property.
|
|
|
For both a project and a configuration source this property returns the configuration object used to define the configuration. This is a read-only property.
|
|
||||||||||||||||||||||||||||||||||||
|
Copy an object into a new folder. Make a new object, populating its entire definition from an existing object. We allow the user to specify a new name, and folder for the new object.
|
|
||||||||||||||||||||||||
|
Delete an object. This method deletes an object. The default behavior is to delete an object from the metadata and from the local object. The deletion fails if another object (not counting the folder that contains this object) is dependent on this object or this object is a non-empty folder except the flag DssSourceDeleteForce is set.
|
|
||||||||||||||||||||||||
|
Perform a miscellaneous object source level command. This method executes a generic command on the object source. This is used to implement miscellaneous features that apply to an object source as a whole. For example it can be used to determine if a source supports a specific command.
|
|
||||||||||||||||||||||||||||||||
|
Perform a search on objects supplied by this source. This call will find first-class objects that satisfy conditions specified in the IDSSSearch interface.
|
|
||||||||||||||||||||||||||||||||
|
Obtain a particular object's definition/info. Load an object given only by an identifier. By default the entire object is loaded, but a Flags setting may be used to obtain just the object information.
|
|
||||||||||||||||||||||||
|
Loads schema level objects into memory. Use this call to load multiple schema level objects into the object server. This is useful since we want to ensure that schema level objects are available when needed.
|
|
||||||||||||||||||||||||||||
|
Move an object to a new folder. Moves the object into a new folder. The change is passed on to the underlying source.
|
|
||||||||||||
|
The uniqueness property on names in this project. This property has not been implemented.
|
|
||||||||||||
|
The uniqueness property on names in this project. This property has not been implemented.
|
|
||||||||||||||||||||
|
Create a new object in a folder. This call creates a new object within this object server. The object is not populated. A client of the server uses this call if it wants to make a new object. The object is not saved until the client calls the SaveObject method. The new object is assigned a fresh GUID by the object server. Creation of locale objects is not supported by this call. Please refer to IDSSSource8::NewLocale instead.
|
|
|
The project (if any) associated with this source. For a project source this property returns the project object that defines the project. NULL for a configuration level source.
|
|
||||||||||||||||||||||||
|
Reload an object, and replace the version in cache. The object server reloads the object from persistent storage. The version of the object stored in the cache is modified to agree with the persistent storage. If the object server is maintaining any secondary storage media, then they should be altered as well.
|
|
||||||||||||||||||||
|
This method performs a search and replace of dependencies within a list of DSS Objects. It is given a collection of DSS Objects, and a search-object. The method then searches the collection of objects looking for direct references to the search-object. Each reference that it finds is either replaced with a reference to a given replace-object, or (if there is no replace-object) removed entirely.
|
|
||||||||||||||||
|
The root folder of the persisted hierarchy. This read-only property returns a reference to the root folder of the persisted hierarchy in the source. This property is very important, since it is the only way to get a DSS object from a source without knowing its ObjectID in advance. (Schema objects can be obtained from the schema, but this will not help the user obtain report or template objects.)
|
|
||||||||||||||||||||||||||||||||
|
Persist a version of an object. The SaveObject method passes a given object back to the metadata server. If the object already exists in metadata it is overridden with the object that is here. If the object does not exist in the metadata, then this creates a new object.
|
|
|
The schema in use by this source. The schema used by this object server. The value of this property depends on the project that was selected when the object server was created. This call returns the schema object whose DSS_ID is given by the Project object. This call cannot function if there is no project object.
|
|
|
The character used to separate folder names in a path name. This property gives the character that will be inserted between folder names when constructing a path to an object. It defaults to the backslash character (\).
|
|
|
The character used to separate folder names in a path name. This property gives the character that will be inserted between folder names when constructing a path to an object. It defaults to the backslash character (\).
|