## Uses of Class
com.versionone.apiclient.Asset

- Packages that use Asset
  Package | Description
  --- | ---
  com.versionone.apiclient |
  com.versionone.apiclient.interfaces |
  com.versionone.apiclient.services |

- - ### Uses of Asset in com.versionone.apiclient

    Methods in com.versionone.apiclient that return Asset
    Modifier and Type | Method and Description
    --- | ---
    `Asset` | Services.`createNew(IAssetType assetType, Oid context)` Create new Asset
    `Asset` | Attribute.`getAsset()` Get the Asset that owns the attribute

    Methods in com.versionone.apiclient that return types with arguments of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `List<Asset>` | Asset.`getChildren()` Get child assets
    `Map<String,Asset>` | Asset.`getNewAssets()` Used to add new relationships and get new assets
    `Map<Asset,List<IAttributeDefinition>>` | RequiredFieldValidator.`validate(Asset[] assets)` Validate collection of Assets.

    Methods in com.versionone.apiclient with parameters of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `void` | Services.`save(Asset asset)` Save an asset with no comment
    `void` | Services.`save(Asset[] assets)` Save an array of assets without comment
    `void` | Services.`save(Asset asset, String comment)` Save an asset with comment
    `Oid` | Services.`saveAttachment(String filePath, Asset asset, String attachmentName)`
    `Oid` | Services.`saveEmbeddedImage(String filePath, Asset asset)`
    `List<IAttributeDefinition>` | RequiredFieldValidator.`validate(Asset asset)` Validate all available Asset attributes.
    `Map<Asset,List<IAttributeDefinition>>` | RequiredFieldValidator.`validate(Asset[] assets)` Validate collection of Assets.
    `boolean` | RequiredFieldValidator.`validate(Asset asset, IAttributeDefinition attributeDefinition)` Validate single Asset attribute.
    `void` | XmlApiWriter.`write(Asset asset, Writer destination)` Write the asset to the specified destination

    Constructors in com.versionone.apiclient with parameters of type Asset
    Constructor and Description
    `Attribute(IAttributeDefinition def, Asset asset)`

  - ### Uses of Asset in com.versionone.apiclient.interfaces

    Methods in com.versionone.apiclient.interfaces that return Asset
    Modifier and Type | Method and Description
    --- | ---
    `Asset` | IServices.`createNew(IAssetType assetType, Oid context)` Creates a new asset.

    Methods in com.versionone.apiclient.interfaces with parameters of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `void` | IServices.`save(Asset asset)` Persists changes to an asset without a comment.
    `void` | IServices.`save(Asset[] assetList)` Saves multiple assets without a comment.
    `void` | IServices.`save(Asset asset, String comment)` Persists changes to as asset with a comment.
    `Oid` | IServices.`saveAttachment(String filePath, Asset asset, String attachmentName)` Saves an attachment to the specified asset.
    `Oid` | IServices.`saveEmbeddedImage(String filePath, Asset asset)` Saves an embedded image to the specified asset.

  - ### Uses of Asset in com.versionone.apiclient.services

    Methods in com.versionone.apiclient.services that return Asset
    Modifier and Type | Method and Description
    --- | ---
    `Asset[]` | QueryResult.`getAssets()` Get the Assets returned by the Query

    Constructors in com.versionone.apiclient.services with parameters of type Asset
    Constructor and Description
    `QueryResult(Asset[] assets, int total, Query query)`

Copyright © 2022 VersionOne, Inc.. All rights reserved.