T
- The type of each row in the search result set.@AccessLevel(value=EXTERNAL)
public class ProcessInstanceListSize<T>
extends curam.util.dataaccess.StandardReadmultiOperation<T>
StandardReadmultiOperation
. This is required
in order to throw a
ReadmultiMaxException
when the maximum is
exceeded; the standard operation does not do this.Constructor and Description |
---|
ProcessInstanceListSize(int maxListSize,
curam.util.type.ValueList<T> dtls)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onMaximumReached()
Throws a
ReadmultiMaxException when the
maximum is number of records is reached. |
public ProcessInstanceListSize(int maxListSize, curam.util.type.ValueList<T> dtls) throws curam.util.exception.ReadmultiMaxException
maxListSize
- The maximum size of the listdtls
- A list to be populated with the search results.curam.util.exception.ReadmultiMaxException
- when the maximum is exceeded.public void onMaximumReached() throws curam.util.exception.ReadmultiMaxException
ReadmultiMaxException
when the
maximum is number of records is reached.onMaximumReached
in class curam.util.dataaccess.StandardReadmultiOperation<T>
curam.util.exception.ReadmultiMaxException
- When the maximum number of records is
reached.