public final class PrintJobList extends Object implements Serializable
The PrintJobList class contains a list of PrintJob objects.
The AdminSession.getPrintJobs () method returns an PrintJobList containing the active/pending print jobs for the specified remote print queue.
Constructor and Description |
---|
PrintJobList()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addPrintJob(PrintJob prnjob)
Add a print job object to the list.
|
void |
clearList()
Clear all print jobs from the list
|
PrintJob |
getPrintJob(int idx)
Get a print job object from the list
|
int |
NumberOfJobs()
Get the number of print jobs in the list
|
public final void addPrintJob(PrintJob prnjob)
prnjob
- PrintJob to add to the list.public final void clearList()
public final PrintJob getPrintJob(int idx) throws ArrayIndexOutOfBoundsException
idx
- Index of the print job to returnArrayIndexOutOfBoundsException
- If the index is invalidpublic final int NumberOfJobs()
Copyright © 2005–2017 Alfresco Software. All rights reserved.