|
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.fetchUsers(int, boolean)
or
the VWSession.fetchUserGroups(int)
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 contains methods next()
and hasNext()
which function similarly to the next() and hasNext()
methods in the Iterator interface in Java 2 to retrieve all
the names in the current instance of this class.
A retrieval series completes when the next() method returns a null
value.
Method Summary | |
boolean |
hasNext()
Indicates whether another element can be fetched from this VWSecurityList instance. |
java.lang.Object |
next()
Retrieves the subsequent element for the current VWSecurityList instance. Invoke this method repeatedly to retrieve a series of objects that should be cast to a String type. |
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
After a set of items in the current retrieval buffer is exhausted, additional items will be retrieved from the Process server and buffered. The effective buffer block size is the lesser of the number specified with a creating [VWSession.fetchUsers(int, boolean) or VWSession.fetchUserGroups(int)] call and the number imposed by the Process server limit. You can modify retrieval performance by changing the input buffer size in the creating method [VWSession.fetchUsers(int, boolean) or VWSession.fetchUserGroups(int)].
VWException
- VWSession.fetchUsers(int, boolean)
,
VWSession.fetchUserGroups(int)
,
hasNext()
public boolean hasNext() throws VWException
true
if there are more
elements that can be fetched.
VWException
- next()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |