com.adobe.icc.services.api
Interface ExportDefinitionService


public interface ExportDefinitionService

Service interface for exporting Letters and related assets into XML format


Method Summary
 Downloadable exportAssetDefinition(java.lang.Integer assetType, Asset asset)
          Export asset definition including all assets used by this asset as XML
 Downloadable exportAssetDefinition(java.lang.Integer assetType, Asset asset, java.lang.Boolean encodeToBase64)
          Export asset definition including all assets used by this asset as XML
 Downloadable exportAssetDefinition(java.lang.Integer assetType, java.lang.String assetId)
          Export asset definition including all assets used by this asset as XML
 Downloadable exportAssetDefinition(java.lang.Integer assetType, java.lang.String assetId, java.lang.Boolean encodeToBase64)
          Export asset definition including all assets used by this asset as XML
 Downloadable exportAssetDependencies(java.lang.Integer assetType, java.lang.String assetId)
          exports the dependency graph of the given asset into a well formed XML
 Asset importAssetDefinition(java.lang.Integer assetType, byte[] assetBlob, java.lang.Boolean isBase64Data)
          Create a asset object using the data supplied
 

Method Detail

exportAssetDefinition

Downloadable exportAssetDefinition(java.lang.Integer assetType,
                                   java.lang.String assetId)
                                   throws ICCException
Export asset definition including all assets used by this asset as XML

Parameters:
assetType - Type of asset
assetId - ID of asset to be exported as xml
Returns:
Downloadable object containing xml data
Throws:
ICCException

exportAssetDefinition

Downloadable exportAssetDefinition(java.lang.Integer assetType,
                                   java.lang.String assetId,
                                   java.lang.Boolean encodeToBase64)
                                   throws ICCException
Export asset definition including all assets used by this asset as XML

Parameters:
assetType - Type of asset
assetId - ID of asset to be exported as xml
encodeToBase64 - true if xml data to be encoded as base64
Returns:
Downloadable object containing xml data
Throws:
ICCException

exportAssetDefinition

Downloadable exportAssetDefinition(java.lang.Integer assetType,
                                   Asset asset)
                                   throws ICCException
Export asset definition including all assets used by this asset as XML

Parameters:
assetType - Type of asset
asset - The asset object to be exported as xml
Returns:
Downloadable object containing xml data
Throws:
ICCException

exportAssetDefinition

Downloadable exportAssetDefinition(java.lang.Integer assetType,
                                   Asset asset,
                                   java.lang.Boolean encodeToBase64)
                                   throws ICCException
Export asset definition including all assets used by this asset as XML

Parameters:
assetType - Type of asset
asset - The asset object to be exported as xml
encodeToBase64 - true if xml data to be encoded as base64
Returns:
Downloadable object containing xml data
Throws:
ICCException

exportAssetDependencies

Downloadable exportAssetDependencies(java.lang.Integer assetType,
                                     java.lang.String assetId)
                                     throws ICCException
exports the dependency graph of the given asset into a well formed XML

Parameters:
assetType - Type of asset
assetId - ID of asset for which dependent asset to be found
Returns:
Downloadable object containing xml data
Throws:
ICCException

importAssetDefinition

Asset importAssetDefinition(java.lang.Integer assetType,
                            byte[] assetBlob,
                            java.lang.Boolean isBase64Data)
                            throws ICCException
Create a asset object using the data supplied

Parameters:
assetType - Type of expected asset
assetBlob - bytes of xml representation of asset
isBase64Data - true when assetBlob has base64 encoded data
Returns:
Asset instance created from data, null if could not create asset of expected type
Throws:
ICCException


[an error occurred while processing this directive] [an error occurred while processing this directive]