|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DownloadService
Service interface for Downloading main or test/sample content for various Asset
types (Text, Form, Image, etc.).
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.Letter
, the Letter's generated Expression SWF is returned.
objType
- Type of the Asset
whose content is to be retrieved. See 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.Letter
, the Letter's generated Expression SWF is returned.
objType
- Type of the Asset
whose content is to be retrieved. See 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
and Portfolio
Asset types.
objType
- type of the object. See 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |