net.sf.jcopist.service
Class Job

java.lang.Object
  extended by net.sf.jcopist.service.Job
All Implemented Interfaces:
java.io.Serializable

public final class Job
extends java.lang.Object
implements java.io.Serializable

A job submitted to the server.

See Also:
Serialized Form

Constructor Summary
Job()
           
 
Method Summary
 java.lang.String getClientId()
          Returns the identifier of the client.
 java.lang.String getDestFormat()
          Returns the target format.
 java.lang.String getFileFinalName()
           
 java.lang.String getJobId()
          Returns the identifier of the job.
 byte[] getOriginalFileToConvertData()
          Return the original data file to convert.
 java.lang.String getOriginalFileToConvertName()
           
 java.lang.String getPagesToPrint()
           
 java.lang.String getPrinterName()
           
 java.lang.String getTemplateName()
          Returns the name of the template to use.
 ITransport[] getTransports()
          Returns the list of transports to send the generated document.
 byte[] getXmlData()
          Returns the XML data to merge with the template.
 void setClientId(java.lang.String id)
           
 void setDestFormat(java.lang.String format)
           
 void setFileFinalName(java.lang.String finalName)
           
 void setOriginalFileToConvert(java.io.File fileToConvert)
           
 void setPagesToPrint(java.lang.String toPrint)
           
 void setPrinterName(java.lang.String name)
           
 void setTemplateName(java.lang.String name)
           
 void setTransports(ITransport[] m_transports)
           
 void setXmlData(byte[] data)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Job

public Job()
Method Detail

getClientId

public java.lang.String getClientId()
Returns the identifier of the client.
This is an optional field, but it is recommended to set it to ease administration on the server.

Returns:
the identifier.

getTemplateName

public java.lang.String getTemplateName()
Returns the name of the template to use.

Returns:
the name of the template.

getXmlData

public byte[] getXmlData()
Returns the XML data to merge with the template.

Returns:
the XML data.

getDestFormat

public java.lang.String getDestFormat()
Returns the target format.

Returns:
the target format.

getTransports

public ITransport[] getTransports()
Returns the list of transports to send the generated document.

Returns:
the list of transports.

getJobId

public java.lang.String getJobId()
Returns the identifier of the job.

Returns:
the identifier of the job.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

getOriginalFileToConvertData

public byte[] getOriginalFileToConvertData()
Return the original data file to convert.

Returns:
the byte array to convert

getOriginalFileToConvertName

public java.lang.String getOriginalFileToConvertName()

setClientId

public void setClientId(java.lang.String id)

setTemplateName

public void setTemplateName(java.lang.String name)

setXmlData

public void setXmlData(byte[] data)

setOriginalFileToConvert

public void setOriginalFileToConvert(java.io.File fileToConvert)

setDestFormat

public void setDestFormat(java.lang.String format)

setTransports

public void setTransports(ITransport[] m_transports)

setPrinterName

public void setPrinterName(java.lang.String name)

getPrinterName

public java.lang.String getPrinterName()

getPagesToPrint

public java.lang.String getPagesToPrint()

setPagesToPrint

public void setPagesToPrint(java.lang.String toPrint)

getFileFinalName

public java.lang.String getFileFinalName()

setFileFinalName

public void setFileFinalName(java.lang.String finalName)


Copyright © 2007. All Rights Reserved.