public class FolderList extends XMLRequest implements java.lang.Iterable<FolderListItem>
Constructor and Description |
---|
FolderList(IFolder folder)
Constructs a new
FolderList to list the
content of the specified folder. |
FolderList(IFolder folder,
boolean executableOnly)
Constructs a new
FolderList to list the
content of the specified folder. |
FolderList(IFolder folder,
java.util.List<java.lang.String> objectTypes)
Constructs a new
FolderList to list the
content of the specified folder. |
Modifier and Type | Method and Description |
---|---|
FolderListItem |
findByName(java.lang.String name)
Returns a
FolderListItem for the specified name or
null if the name was not found. |
java.util.Iterator<FolderListItem> |
iterator()
Returns an iterator over
FolderListItem . |
int |
size()
Returns the number of objects in this folder.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send
public FolderList(IFolder folder)
FolderList
to list the
content of the specified folder.folder
- Folderpublic FolderList(IFolder folder, boolean executableOnly)
FolderList
to list the
content of the specified folder.folder
- FolderexecutableOnly
- If this flag is true only executable objects will be returnedpublic FolderList(IFolder folder, java.util.List<java.lang.String> objectTypes)
FolderList
to list the
content of the specified folder.folder
- FolderobjectTypes
- List of object types, for example JOBP, JOBS, JOBIpublic FolderListItem findByName(java.lang.String name)
FolderListItem
for the specified name or
null
if the name was not found.name
- Name of the UC4 Objectpublic int size()
public java.util.Iterator<FolderListItem> iterator()
FolderListItem
.
Each FolderListItem
represents an entry in this folder list.iterator
in interface java.lang.Iterable<FolderListItem>