public class TdbGroupList extends TdbControlObjectList
Constructor and Description |
---|
TdbGroupList(TdbSession session)
Constructor -- shortcut that retrieves all known group
|
TdbGroupList(TdbSession session,
java.lang.String user)
Constructor -- shortcut that retrieves groups to which the named user belongs
|
TdbGroupList(TdbSession session,
java.lang.String user,
boolean incPublic)
Constructor -- shortcut
|
TdbGroupList(TdbSession session,
java.lang.String user,
boolean incPublic,
boolean all)
Constructor -- retrieve the list of groups from the server
|
contains, contains, refresh, transform
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
cancel, getSession, isCancelable, setCancelable
public TdbGroupList(TdbSession session, java.lang.String user, boolean incPublic, boolean all) throws TdbException
session
- Active sessionuser
- null for all groups, or specify the user if retrieving groups for that userincPublic
- set false to remove the PUBLIC group from the listall
- set false to remove groups not known to the calling process from the listTdbException
public TdbGroupList(TdbSession session) throws TdbException
session
- Active sessionTdbException
public TdbGroupList(TdbSession session, java.lang.String user) throws TdbException
session
- Active sessionuser
- User for whom groups are to be retrievedTdbException
public TdbGroupList(TdbSession session, java.lang.String user, boolean incPublic) throws TdbException
session
- Active sessionuser
- User for whom groups are to be retrievedincPublic
- set false to remove the PUBLIC group from the listTdbException