public class OpenListOfObjects extends java.lang.Object implements OpenListProgram<OpenListOfObjectsFormat,OpenListOfObjectsFormatListener>
Constructor and Description |
---|
OpenListOfObjects() |
OpenListOfObjects(OpenListOfObjectsFormat format,
int lengthOfReceiverVariable,
int numberOfRecordsToReturn,
SortListener sortInformation,
java.lang.String objectName,
java.lang.String libraryName,
java.lang.String objectType,
OpenListOfObjectsAuthorityListener authorityControl,
OpenListOfObjectsSelectionListener selectionControl,
int[] keysToReturn) |
Modifier and Type | Method and Description |
---|---|
OpenListOfObjectsFormatListener |
getFormatListener()
The format listener gets called by the formatter once the output data has been formatted.
|
OpenListOfObjectsFormat |
getFormatter()
The formatter is the class that handles formatting the output data for each entry in the list.
|
int |
getLengthOfReceiverVariable() |
ListInformation |
getListInformation() |
int |
getNumberOfParameters()
Returns the number of parameters for this program.
|
int |
getNumberOfRecordsToReturn() |
java.lang.String |
getObjectLibrary() |
java.lang.String |
getObjectName() |
java.lang.String |
getObjectType() |
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 |
setFormatListener(OpenListOfObjectsFormatListener listener) |
void |
setFormatter(OpenListOfObjectsFormat formatter) |
void |
setLengthOfReceiverVariable(int length) |
void |
setNumberOfRecordsToReturn(int numberOfRecordsToReturn) |
void |
setObjectLibrary(java.lang.String library) |
void |
setObjectName(java.lang.String name) |
void |
setObjectType(java.lang.String type) |
void |
setParameterOutputData(int parmIndex,
byte[] data,
int maxLength)
Sets the output data for the parameter at the specified index.
|
void |
setSortListener(SortListener listener) |
public OpenListOfObjects()
public OpenListOfObjects(OpenListOfObjectsFormat format, int lengthOfReceiverVariable, int numberOfRecordsToReturn, SortListener sortInformation, java.lang.String objectName, java.lang.String libraryName, java.lang.String objectType, OpenListOfObjectsAuthorityListener authorityControl, OpenListOfObjectsSelectionListener selectionControl, int[] keysToReturn)
public final byte[] getTempDataBuffer()
Program
getTempDataBuffer
in interface Program
public OpenListOfObjectsFormat getFormatter()
OpenListProgram
getFormatter
in interface OpenListProgram<OpenListOfObjectsFormat,OpenListOfObjectsFormatListener>
public void setFormatter(OpenListOfObjectsFormat formatter)
setFormatter
in interface OpenListProgram<OpenListOfObjectsFormat,OpenListOfObjectsFormatListener>
public OpenListOfObjectsFormatListener getFormatListener()
OpenListProgram
getFormatListener
in interface OpenListProgram<OpenListOfObjectsFormat,OpenListOfObjectsFormatListener>
public void setFormatListener(OpenListOfObjectsFormatListener listener)
setFormatListener
in interface OpenListProgram<OpenListOfObjectsFormat,OpenListOfObjectsFormatListener>
public java.lang.String getProgramName()
Program
getProgramName
in interface Program
public java.lang.String getProgramLibrary()
Program
getProgramLibrary
in interface Program
public int getNumberOfParameters()
Program
getNumberOfParameters
in interface Program
public void newCall()
Program
public ListInformation getListInformation()
getListInformation
in interface OpenListProgram<OpenListOfObjectsFormat,OpenListOfObjectsFormatListener>
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 java.lang.String getObjectName()
public void setObjectName(java.lang.String name)
public java.lang.String getObjectLibrary()
public void setObjectLibrary(java.lang.String library)
public java.lang.String getObjectType()
public void setObjectType(java.lang.String type)
public int getParameterInputLength(int parmIndex)
Program
getParameterInputLength
in interface Program
public int getParameterOutputLength(int parmIndex)
Program
getParameterOutputLength
in interface Program
public int getParameterType(int parmIndex)
Program
getParameterType
in interface Program
Parameter
public byte[] getParameterInputData(int parmIndex)
Program
getParameterInputData
in interface Program
public void setParameterOutputData(int parmIndex, byte[] data, int maxLength)
Program
setParameterOutputData
in interface Program