UserAsset Object
Members 
Description
Represents any entity known to the testing tool that is not otherwise represented in Quality Center.
Remarks

A user asset is an entity used to represent assets of a testing tool. It can represent an abstraction of the testing tool or a tangible asset, such as a file.

A user asset is owned by another ALM entity of a type that implements ISupportAssets, for example, Component, Test, and QCResource

A user can add, delete, or modify a user asset if the user has Modify permissions on the entity that owns the user asset.

Get a reference from UserAssetFactory.

Interfaces
Implemented Interface Description
IBaseField2 Represents a basic data field or entity, such as an attachment.
IBaseField3 Represents a basic data field or entity, such as an attachment.
IBaseField4 Represents a basic data field or entity, such as an attachment.
ISupportAssetRelations Services for managing relations between Quality Center entities.
ISupportAssetRelations2 Services for managing relations between Quality Center entities.
ISupportAssetRepositoryItems Services for managing asset repository items.
Public Methods
Public Method Clean Removes User Asset files from QC Repository
Public Method Download Downloads an asset and its related assets.
Public Method DownloadUserAsset Downloads User Asset file/folder from QC Repository
Public Method HasDependencies Returns asset relation dependencies status.
Public Method LockObject Locks the object. Returns True if the object has been changed on the server.
Public Method Post Posts all changed values into database.
Public Method Refresh Reads saved values, overwriting values in memory.
Public Method Undo Undoes changes to field values that have not been posted.
Public Method UnLockObject Unlocks the object.
Public Method UploadUserAsset Uploads User Asset file/folder to QC Repository
Public Properties
Public Property AssetRelationFactory The asset's AssetRelationsFactory object.
Public Property AssetRepositoryItemFactory The asset's AssetRepositoryItemFactory object.
Public Property AutoPost If true, the database is updated immediately when the field value changes.
Public Property AutoUnlock Indicates whether to make the item changeable to other users automatically after a Refresh or Post.
Public Property ContainsBrokenRelation Returns true if the object is linked to an asset but the asset does not exist.
Public Property Field The value of the specified field.
Public Property FieldMultiValue The MultiValue object of the specified field.
Public Property ID The item ID.
Public Property IsLocked Checks if object is locked for editing.
Public Property Modified Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.
Public Property TypeName The field's type.
Public Property UsedBy Returns the list of relations to assets that are using this asset or that are using user assets owned by this asset.
Public Property Using Returns the list of relations to assets used by this asset or by user assets owned by this asset.
Public Property Virtual Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also