|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--filenet.vw.api.VWSecurityList
Use this class to query for a security list.
Once the VWSession.fetchUser() or the Session.fetchGroupNames() methods create a VWSecurityList object, the next() method of this interface fetches the user names, group names, or both user and group names (depending on which methods you call and how you set the parameters).
VWSecurityList implements Iterator methods next() and hasNext() to handle the new collection model in Java 2. A query ends when the next() method returns null values. Call the hasNext() method if you wish to determine whether more elements are available.
Method Summary | |
boolean |
hasNext()
Determines whether the iteration has more elements. |
java.lang.Object |
next()
Retrieves the user and group names. |
void |
resetFetch()
Resets the last element fetched for this SecurityListQuery object. |
java.lang.String |
toString()
Gets the in-memory security list. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public void resetFetch()
public java.lang.Object next() throws VWException
Before using this method, create the VWSecurityList object using the VWSession.fetchUsers() or the VWSession.fetchUserGroups() method. These method sets the buffer size for retrieval from the server in the VWSecurityList object. Set the buffer size to greater than 1 (one).
VWException
- Thrown if it cannot
retrieve the user and group names.public boolean hasNext() throws VWException
VWException
- public java.lang.String toString()
toString
in class java.lang.Object
|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |