|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.assembler.client.AssemblerResult
public class AssemblerResult
An AssemblerResult
object is a container for the results of a DDX job. It includes result documents as
well as the Throwable
exceptions that occurred for each DDX block that failed. It also contains audit
lists that are useful for iterating through the result documents or Throwable
exceptions.
Constructor Summary | |
---|---|
AssemblerResult()
|
Method Summary | |
---|---|
java.util.Map |
getDocuments()
Retrieves the successful documents from the DDX job. |
java.util.List |
getFailedBlockNames()
A list of the names of the failed blocks. |
Document |
getJobLog()
Retrieves the job log that was generated during execution of the DDX. |
int |
getLastBatesNumber()
Returns the numeric portion from the last page stamped with a bates number. |
java.util.Map |
getMultipleResultsBlocks()
Retrieves a map of the result block name to a list of the document names resulting from that result block. |
int |
getNumRequestedBlocks()
Retrieves the number of result blocks in the DDX. |
java.util.List |
getSuccessfulBlockNames()
Retrieves the names of the blocks that were successful. |
java.util.List |
getSuccessfulDocumentNames()
Retrieves the names of the documents that were successful. |
java.util.Map |
getThrowables()
Retrieves a map of the throwable exceptions that were generated during execution of the DDX. |
void |
setDocuments(java.util.Map documents)
Sets the successful documents from the DDX job. |
void |
setFailedBlockNames(java.util.List failedBlockNames)
Sets the names of the failed blocks. |
void |
setJobLog(Document jobLog)
Sets the job log that was generated during execution of the DDX. |
void |
setLastBatesNumber(int lastBatesNumber)
Sets the numeric portion from the last page stamped with a bates number. |
void |
setMultipleResultsBlocks(java.util.Map multipleResultsBlocks)
Sets a map of the result block name to the document names resulting from that result block. |
void |
setNumRequestedBlocks(int numRequestedBlocks)
Sets the number of result blocks in the DDX. |
void |
setSuccessfulBlockNames(java.util.List successfulBlockNames)
Sets the names of the blocks that were successful. |
void |
setSuccessfulDocumentNames(java.util.List successfulDocumentNames)
Sets the names of the documents that were successful. |
void |
setThrowables(java.util.Map throwables)
Sets a map of the throwable exceptions that were generated during execution of the DDX. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssemblerResult()
Method Detail |
---|
public java.util.Map getDocuments()
To see this method used in a code example, see the Programmatically Assembling PDF Documents quick start in the SDK Help.
Map
containing the successful documents. The key is a logical name for the document and
the value is the document itself. The name may not be assumed to be suitable to use as a name for the
output destination.public void setDocuments(java.util.Map documents)
documents
- The successful documents from the DDX job.public java.util.List getFailedBlockNames()
List
containing the names of the failed blocks.public void setFailedBlockNames(java.util.List failedBlockNames)
failedBlockNames
- The names of the failed blocks.public Document getJobLog()
Document
containing the job log that was generated during execution of the DDX.public void setJobLog(Document jobLog)
jobLog
- A Document
containing the job log that was generated during execution of
the DDX.public int getNumRequestedBlocks()
public void setNumRequestedBlocks(int numRequestedBlocks)
numRequestedBlocks
- The number of result blocks in the DDX.public java.util.Map getMultipleResultsBlocks()
PDFsFromBookmarks
and FileAttachments
result blocks.
Map
of the result block name to the document names resulting from that result block.public void setMultipleResultsBlocks(java.util.Map multipleResultsBlocks)
PDFsFromBookmarks
and FileAttachments
result blocks.
multipleResultsBlocks
- A Map
of the result block name to a list of the document names
resulting from that result block.public java.util.List getSuccessfulBlockNames()
List
containing the names of the blocks that were successful.public void setSuccessfulBlockNames(java.util.List successfulBlockNames)
successfulBlockNames
- A List
containing the names of the blocks that were successful.public java.util.List getSuccessfulDocumentNames()
List
containing the names of the documents that were successful.public void setSuccessfulDocumentNames(java.util.List successfulDocumentNames)
successfulDocumentNames
- A List
containing the names of the documents that were successful.public java.util.Map getThrowables()
Map
containing the throwable exceptions that were generated during execution of the DDX.public void setThrowables(java.util.Map throwables)
throwables
- A Map
containing the throwable exceptions that were generated during execution
of the DDX.public int getLastBatesNumber()
public void setLastBatesNumber(int lastBatesNumber)
lastBatesNumber
- The numeric portion from the last page stamped with a bates number.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |