Class TdbGroupList

All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink, Iterable<TdbControlObject>, Collection<TdbControlObject>, 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 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 session
      user - null for all groups, or specify the user if retrieving groups for that user
      incPublic - set false to remove the PUBLIC group from the list
      all - 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, String user) throws TdbException
      Constructor -- shortcut that retrieves groups to which the named user belongs
      Parameters:
      session - Active session
      user - User for whom groups are to be retrieved
      Throws:
      TdbException
    • TdbGroupList

      public TdbGroupList(TdbSession session, String user, boolean incPublic) throws TdbException
      Constructor -- shortcut
      Parameters:
      session - Active session
      user - User for whom groups are to be retrieved
      incPublic - set false to remove the PUBLIC group from the list
      Throws:
      TdbException