public class OpenListOfSpooledFiles extends java.lang.Object implements OpenListProgram<OpenListOfSpooledFilesFormat,OpenListOfSpooledFilesFormatListener>
| Constructor and Description |
|---|
OpenListOfSpooledFiles() |
OpenListOfSpooledFiles(OpenListOfSpooledFilesFormat format,
int lengthOfReceiverVariable,
int numberOfRecordsToReturn,
SortListener sortInformation,
OpenListOfSpooledFilesFilterListener filterInformation,
java.lang.String jobName,
java.lang.String jobUser,
java.lang.String jobNumber) |
| Modifier and Type | Method and Description |
|---|---|
OpenListOfSpooledFilesFilterListener |
getFilterListener() |
OpenListOfSpooledFilesFormatListener |
getFormatListener()
The format listener gets called by the formatter once the output data has been formatted.
|
OpenListOfSpooledFilesFormat |
getFormatter()
The formatter is the class that handles formatting the output data for each entry in the list.
|
java.lang.String |
getJobName() |
java.lang.String |
getJobNumber() |
java.lang.String |
getJobUser() |
int |
getLengthOfReceiverVariable() |
ListInformation |
getListInformation() |
int |
getNumberOfParameters()
Returns the number of parameters for this program.
|
int |
getNumberOfRecordsToReturn() |
byte[] |
getParameterInputData(int parmIndex)
Returns the input data of the parameter at the specified index.
|
int |
getParameterInputLength(int parmIndex)
Returns the input length of the parameter at the specified index.
|
int |
getParameterOutputLength(int parmIndex)
Returns the output length of the parameter at the specified index.
|
int |
getParameterType(int parmIndex)
Returns the type of parameter at the specified index.
|
java.lang.String |
getProgramLibrary()
Returns the library of the program object.
|
java.lang.String |
getProgramName()
Returns the name of the program object.
|
SortListener |
getSortListener() |
byte[] |
getTempDataBuffer()
The implementor can create their own temp byte array for the output parameter size and reuse it each time a call is performed,
or for more than one parameter on the same call.
|
void |
newCall()
Invoked before any other methods on this interface by CommandConnection whenever this Program is called.
|
void |
setFilterListener(OpenListOfSpooledFilesFilterListener listener) |
void |
setFormatListener(OpenListOfSpooledFilesFormatListener listener) |
void |
setFormatter(OpenListOfSpooledFilesFormat formatter) |
void |
setJobName(java.lang.String name) |
void |
setJobNumber(java.lang.String number) |
void |
setJobUser(java.lang.String user) |
void |
setLengthOfReceiverVariable(int length) |
void |
setNumberOfRecordsToReturn(int numberOfRecordsToReturn) |
void |
setParameterOutputData(int parmIndex,
byte[] data,
int maxLength)
Sets the output data for the parameter at the specified index.
|
void |
setSortListener(SortListener listener) |
public OpenListOfSpooledFiles()
public OpenListOfSpooledFiles(OpenListOfSpooledFilesFormat format, int lengthOfReceiverVariable, int numberOfRecordsToReturn, SortListener sortInformation, OpenListOfSpooledFilesFilterListener filterInformation, java.lang.String jobName, java.lang.String jobUser, java.lang.String jobNumber)
public final byte[] getTempDataBuffer()
ProgramgetTempDataBuffer in interface Programpublic OpenListOfSpooledFilesFormat getFormatter()
OpenListProgramgetFormatter in interface OpenListProgram<OpenListOfSpooledFilesFormat,OpenListOfSpooledFilesFormatListener>public void setFormatter(OpenListOfSpooledFilesFormat formatter)
setFormatter in interface OpenListProgram<OpenListOfSpooledFilesFormat,OpenListOfSpooledFilesFormatListener>public OpenListOfSpooledFilesFormatListener getFormatListener()
OpenListProgramgetFormatListener in interface OpenListProgram<OpenListOfSpooledFilesFormat,OpenListOfSpooledFilesFormatListener>public void setFormatListener(OpenListOfSpooledFilesFormatListener listener)
setFormatListener in interface OpenListProgram<OpenListOfSpooledFilesFormat,OpenListOfSpooledFilesFormatListener>public java.lang.String getProgramName()
ProgramgetProgramName in interface Programpublic java.lang.String getProgramLibrary()
ProgramgetProgramLibrary in interface Programpublic int getNumberOfParameters()
ProgramgetNumberOfParameters in interface Programpublic void newCall()
Programpublic void setJobName(java.lang.String name)
public java.lang.String getJobName()
public void setJobUser(java.lang.String user)
public java.lang.String getJobUser()
public void setJobNumber(java.lang.String number)
public java.lang.String getJobNumber()
public int getLengthOfReceiverVariable()
public void setLengthOfReceiverVariable(int length)
public int getNumberOfRecordsToReturn()
public void setNumberOfRecordsToReturn(int numberOfRecordsToReturn)
public SortListener getSortListener()
public void setSortListener(SortListener listener)
public OpenListOfSpooledFilesFilterListener getFilterListener()
public void setFilterListener(OpenListOfSpooledFilesFilterListener listener)
public ListInformation getListInformation()
getListInformation in interface OpenListProgram<OpenListOfSpooledFilesFormat,OpenListOfSpooledFilesFormatListener>public int getParameterInputLength(int parmIndex)
ProgramgetParameterInputLength in interface Programpublic int getParameterOutputLength(int parmIndex)
ProgramgetParameterOutputLength in interface Programpublic int getParameterType(int parmIndex)
ProgramgetParameterType in interface ProgramParameterpublic byte[] getParameterInputData(int parmIndex)
ProgramgetParameterInputData in interface Programpublic void setParameterOutputData(int parmIndex,
byte[] data,
int maxLength)
ProgramsetParameterOutputData in interface Program