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.
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. |
Clean | Removes User Asset files from QC Repository |
Download | Downloads an asset and its related assets. |
DownloadUserAsset | Downloads User Asset file/folder from QC Repository |
HasDependencies | Returns asset relation dependencies status. |
LockObject | Locks the object. Returns True if the object has been changed on the server. |
Post | Posts all changed values into database. |
Refresh | Reads saved values, overwriting values in memory. |
Undo | Undoes changes to field values that have not been posted. |
UnLockObject | Unlocks the object. |
UploadUserAsset | Uploads User Asset file/folder to QC Repository |
AssetRelationFactory | The asset's AssetRelationsFactory object. |
AssetRepositoryItemFactory | The asset's AssetRepositoryItemFactory object. |
AutoPost | If true, the database is updated immediately when the field value changes. |
AutoUnlock | Indicates whether to make the item changeable to other users automatically after a Refresh or Post. |
ContainsBrokenRelation | Returns true if the object is linked to an asset but the asset does not exist. |
Field | The value of the specified field. |
FieldMultiValue | The MultiValue object of the specified field. |
ID | The item ID. |
IsLocked | Checks if object is locked for editing. |
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. |
TypeName | The field's type. |
UsedBy | Returns the list of relations to assets that are using this asset or that are using user assets owned by this asset. |
Using | Returns the list of relations to assets used by this asset or by user assets owned by this asset. |
Virtual | Checks if this is a virtual item, that is, an item that does not have a corresponding database record. |