public class UserList extends XMLRequest implements java.lang.Iterable<UserListItem>
| Constructor and Description |
|---|
UserList() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
Creates the XML Document for the request.
|
protected java.lang.String |
getSrc()
Returns the request source.
|
protected void |
handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session) |
boolean |
includeInactiveUsers()
Returns
true if inactive users should also be returned by this request. |
protected boolean |
isAllowedInClientZero()
This method is used internally.
|
boolean |
isLDAPEnabledSystem()
Returns
true if LDAP is enabled for the system |
java.util.Iterator<UserListItem> |
iterator()
Returns an Iterator which can be used to step through the
UserListItem. |
void |
setIncludeInactiveUsers(boolean inactive)
If
inactive is true also inactive users are returned. |
int |
size()
Returns the total number of items in the user list (active and inactive).
|
assertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, send, setMessageBox, showQuarantineNotificationprotected java.lang.String getSrc()
XMLRequestgetSrc in class XMLRequestprotected void createRequest(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element request,
ConnectionAttributes sessionInfo)
XMLRequestcreateRequest in class XMLRequestdoc - Document, used to create new Elementsrequest - Request Element - classes append information to this request elementsessionInfo - Information about the sessionprotected void handleContent(com.uc4.util.XMLDocument doc,
ConnectionAttributes session)
handleContent in class XMLRequestprotected boolean isAllowedInClientZero()
XMLRequestXMLRequest is allowed in client 0.
The default implementation returns false, subclasses may override.isAllowedInClientZero in class XMLRequesttrue if this request is allowed in client 0, false otherwisepublic java.util.Iterator<UserListItem> iterator()
UserListItem.
If this class does not contain a user list this method returns nulliterator in interface java.lang.Iterable<UserListItem>UserListItem
or null in case of an errorpublic int size()
UserListItempublic boolean includeInactiveUsers()
true if inactive users should also be returned by this request.public void setIncludeInactiveUsers(boolean inactive)
inactive is true also inactive users are returned.inactive - True if the selection should include inactive userspublic boolean isLDAPEnabledSystem()
true if LDAP is enabled for the system