Package ch.tocco.nice2.outputcenter.api
Interface OutputJob
- All Superinterfaces:
Mergable
- All Known Implementing Classes:
OutputJobImpl
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
The timestamp this output job was created.The document if this job is "not personalized", meaning there are no recipients for this document.getId()
The id of this output job.getItems()
A list of personalized documents with their corresponding recipients.getLabel()
The label or name of the document without a possible extension.If this job is a merge-job, this method returns the list of jobs that have been merged into this one.getOwner()
The owner user, who created this output job.getType()
boolean
Tells whether this is a personalized job (one with items) or an unpersonalized job.Methods inherited from interface ch.tocco.nice2.outputcenter.api.Mergable
getDelegate, getFileName, getMergeRelationName, getMimeType
-
Method Details
-
getId
String getId()The id of this output job. It uniquely identifies this job. -
getCreatedTime
org.joda.time.DateTime getCreatedTime()The timestamp this output job was created. -
getOwner
The owner user, who created this output job. If it was created by the system, there is no owner. -
getLabel
String getLabel()The label or name of the document without a possible extension. -
getStatus
OutputJob.Status getStatus() -
getType
OutputJob.Type getType() -
getDocument
Optional<OutputCenterInputSupplier> getDocument()The document if this job is "not personalized", meaning there are no recipients for this document. In case of a personalized job, this document is a the result of concatenating the documents of all recipients. -
getItems
Iterable<OutputJobItem> getItems()A list of personalized documents with their corresponding recipients. -
isPersonalized
boolean isPersonalized()Tells whether this is a personalized job (one with items) or an unpersonalized job. -
getMergeItems
Iterable<OutputJobMergeItem> getMergeItems()If this job is a merge-job, this method returns the list of jobs that have been merged into this one.
-