Package com.tietoenator.trip.jxp.control
Class TdbUserAccessList
- java.lang.Object
-
- com.tietoenator.trip.jxp.session.TdbSessionObject
-
- com.tietoenator.trip.jxp.TdbMessageProvider
-
- com.tietoenator.trip.jxp.TdbMessageProvidingList<TdbControlObject>
-
- com.tietoenator.trip.jxp.control.TdbControlObjectList
-
- com.tietoenator.trip.jxp.control.TdbUserAccessList
-
- All Implemented Interfaces:
com.tietoenator.trip.jxp.internal.utils.DOMSink
,java.lang.Iterable<TdbControlObject>
,java.util.Collection<TdbControlObject>
,java.util.List<TdbControlObject>
public class TdbUserAccessList extends TdbControlObjectList
Retrieve the access rights for a particular user
-
-
Constructor Summary
Constructors Constructor Description TdbUserAccessList(TdbSession session, java.lang.String username)
Constructor, retrieve the database access rights explicitly granted to a particular user.TdbUserAccessList(TdbSession session, java.lang.String username, boolean includeGroups)
Constructor, retrieve the database access rights for a particular user.
-
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
-
TdbUserAccessList
public TdbUserAccessList(TdbSession session, java.lang.String username) throws TdbException
Constructor, retrieve the database access rights explicitly granted to a particular user.- Parameters:
session
- Active sessionusername
- The name of the user for whom access rights are to be retrieved- Throws:
TdbException
-
TdbUserAccessList
public TdbUserAccessList(TdbSession session, java.lang.String username, boolean includeGroups) throws TdbException
Constructor, retrieve the database access rights for a particular user.Passing true to the includeGroups parameter of this constructor requries TRIPsystem 6.2-9 or later to have any effect.
- Parameters:
session
- Active sessionusername
- The name of the user for whom access rights are to be retrievedincludeGroups
- Pass true to also retrieve access rights granted to the user via group memberships, and false to only retrieve access rights granted explicitly to the specified user.- Throws:
TdbException
-
-