public interface DownloadService
Asset
types (Text, Form, Image, etc.).Modifier and Type | Method and Description |
---|---|
Downloadable |
getObjectData(Integer objType,
String recordID)
Get the content or data bytes for an
Asset type given its ID. |
Downloadable |
getObjectData(Integer objType,
String objName,
Integer objVersion,
Integer objState)
Get the content or data bytes for an
Asset type given its name, state and version. |
Downloadable |
getObjectTestData(Integer objType,
String recordID)
Get the test/sample content or data associated with a
Asset type given its ID. |
Downloadable getObjectData(Integer objType, String objName, Integer objVersion, Integer objState) throws ICCException
Asset
type given its name, state and version.
Form
, the XDP content is returned.TextModule
, the XML content of the Text is returned.ImageModule
, the image bytes are returned.ContentDataModule
, the content bytes are returned.Letter
, the Letter's generated Expression SWF is returned.objType
- Type of the Asset
whose content is to be retrieved. See com.adobe.icc.dbforms.util.DBConstants
for list of Asset types.
objName
is the Letter's name, objVersion
is
the Letter's version and objState
State is the Letter's state.objName
- Name of the Asset.objVersion
- Version of the Asset.objState
- State of the Asset.Downloadable
object which would contain the relevant content for the Asset.ICCException
Downloadable getObjectData(Integer objType, String recordID) throws ICCException
Asset
type given its ID.
Form
, the XDP content is returned.TextModule
, the XML content of the Text is returned.ImageModule
, the image bytes are returned.ContentDataModule
, the content bytes are returned.Letter
, the Letter's generated Expression SWF is returned.objType
- Type of the Asset
whose content is to be retrieved. See com.adobe.icc.dbforms.util.DBConstants
for list of Asset types.
objName
is the Letter's name, objVersion
is
the Letter's version and objState
State is the Letter's state.recordID
- ID of the Asset whose content is to be retrieved.Downloadable
object which would contain the relevant content for the Asset.ICCException
Downloadable getObjectTestData(Integer objType, String recordID) throws ICCException
Asset
type given its ID.
Letter
Asset types.objType
- type of the object. See com.adobe.icc.dbforms.util.DBConstants
for list of Asset types.recordID
- ID of the Asset whose test data is to be retrieved.Downloadable
object which would contain the relevant test/sample data for the Asset.ICCException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.