public final class PrintJobList
extends java.lang.Object
implements java.io.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)
srvinf
- PrintJob to add to the list.public final void clearList()
public final PrintJob getPrintJob(int idx) throws java.lang.ArrayIndexOutOfBoundsException
idx
- Index of the print job to returnjava.lang.ArrayIndexOutOfBoundsException
- If the index is invalidpublic final int NumberOfJobs()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.