UserAsset Object
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 InterfaceDescription
IBaseField2Represents a basic data field or entity, such as an attachment.
IBaseField3Represents a basic data field or entity, such as an attachment.
IBaseField4Represents a basic data field or entity, such as an attachment.
ISupportAssetRelationsServices for managing relations between Quality Center entities.
ISupportAssetRelations2Services for managing relations between Quality Center entities.
ISupportAssetRepositoryItemsServices for managing asset repository items.
Public Methods
Public Method CleanRemoves User Asset files from QC Repository
Public Method DownloadDownloads an asset and its related assets.
Public Method DownloadUserAssetDownloads User Asset file/folder from QC Repository
Public Method HasDependenciesReturns asset relation dependencies status.
Public Method LockObjectLocks the object. Returns True if the object has been changed on the server.
Public Method PostPosts all changed values into database.
Public Method RefreshReads saved values, overwriting values in memory.
Public Method UndoUndoes changes to field values that have not been posted.
Public Method UnLockObjectUnlocks the object.
Public Method UploadUserAssetUploads User Asset file/folder to QC Repository
Public Properties
Public Property AssetRelationFactoryThe asset's AssetRelationsFactory object.
Public Property AssetRepositoryItemFactoryThe asset's AssetRepositoryItemFactory object.
Public Property AutoPostIf true, the database is updated immediately when the field value changes.
Public Property AutoUnlockIndicates whether to make the item changeable to other users automatically after a Refresh or Post.
Public Property ContainsBrokenRelationReturns true if the object is linked to an asset but the asset does not exist.
Public Property FieldThe value of the specified field.
Public Property FieldMultiValueThe MultiValue object of the specified field.
Public Property IDThe item ID.
Public Property IsLockedChecks if object is locked for editing.
Public Property ModifiedChecks 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 TypeNameThe field's type.
Public Property UsedByReturns the list of relations to assets that are using this asset or that are using user assets owned by this asset.
Public Property UsingReturns the list of relations to assets used by this asset or by user assets owned by this asset.
Public Property VirtualChecks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also