Package | Description |
---|---|
com.versionone.apiclient | |
com.versionone.apiclient.interfaces | |
com.versionone.apiclient.services |
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
|
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.
|
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
|
Constructor and Description |
---|
Attribute(IAttributeDefinition def,
Asset asset) |
Modifier and Type | Method and Description |
---|---|
Asset |
IServices.createNew(IAssetType assetType,
Oid context)
Creates a new 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.
|
Modifier and Type | Method and Description |
---|---|
Asset[] |
QueryResult.getAssets()
Get the Assets returned by the Query
|
Constructor and Description |
---|
QueryResult(Asset[] assets,
int total,
Query query) |
Copyright © 2015 VersionOne, Inc.. All rights reserved.