Package com.tietoenator.trip.jxp.control
Class TdbGroupList
- java.lang.Object
-
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
,java.lang.Iterable<TdbControlObject>
,java.util.Collection<TdbControlObject>
,java.util.List<TdbControlObject>
public class TdbGroupList extends TdbControlObjectList
Container for a list of groups, either specific to a user or known to the calling process
-
-
Constructor Summary
Constructors Constructor Description TdbGroupList(TdbSession session)
Constructor -- shortcut that retrieves all known groupTdbGroupList(TdbSession session, java.lang.String user)
Constructor -- shortcut that retrieves groups to which the named user belongsTdbGroupList(TdbSession session, java.lang.String user, boolean incPublic)
Constructor -- shortcutTdbGroupList(TdbSession session, java.lang.String user, boolean incPublic, boolean all)
Constructor -- retrieve the list of groups from the server
-
Method Summary
-
Methods inherited from class com.tietoenator.trip.jxp.control.TdbControlObjectList
contains, contains, refresh, transform
-
Methods inherited from class com.tietoenator.trip.jxp.TdbMessageProvidingList
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
-
Methods inherited from class com.tietoenator.trip.jxp.TdbMessageProvider
codeList, getLastCode, getLastMessage, hasMessages, messageList, resetMessages
-
Methods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelable
-
-
-
-
Constructor Detail
-
TdbGroupList
public TdbGroupList(TdbSession session, java.lang.String user, boolean incPublic, boolean all) throws TdbException
Constructor -- retrieve the list of groups from the server- Parameters:
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 list- Throws:
TdbException
-
TdbGroupList
public TdbGroupList(TdbSession session) throws TdbException
Constructor -- shortcut that retrieves all known group- Parameters:
session
- Active session- Throws:
TdbException
-
TdbGroupList
public TdbGroupList(TdbSession session, java.lang.String user) throws TdbException
Constructor -- shortcut that retrieves groups to which the named user belongs- Parameters:
session
- Active sessionuser
- User for whom groups are to be retrieved- Throws:
TdbException
-
TdbGroupList
public TdbGroupList(TdbSession session, java.lang.String user, boolean incPublic) throws TdbException
Constructor -- shortcut- Parameters:
session
- Active sessionuser
- User for whom groups are to be retrievedincPublic
- set false to remove the PUBLIC group from the list- Throws:
TdbException
-
-