Package com.tietoenator.trip.jxp.control
Class TdbGroupList
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
,Iterable<TdbControlObject>
,Collection<TdbControlObject>
,List<TdbControlObject>
Container for a list of groups, either specific to a user or known to the
calling process
-
Constructor Summary
ConstructorsConstructorDescriptionTdbGroupList
(TdbSession session) Constructor -- shortcut that retrieves all known groupTdbGroupList
(TdbSession session, String user) Constructor -- shortcut that retrieves groups to which the named user belongsTdbGroupList
(TdbSession session, String user, boolean incPublic) Constructor -- shortcutTdbGroupList
(TdbSession session, 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, get, 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
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Constructor Details
-
TdbGroupList
public TdbGroupList(TdbSession session, 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
Constructor -- shortcut that retrieves all known group- Parameters:
session
- Active session- Throws:
TdbException
-
TdbGroupList
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
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
-