oracle.panama.model
Interface Role
- All Superinterfaces:
- ModelObject, XMLObject
- public interface Role
- extends ModelObject
A role is just a collection of users, and is used to publish specific services
to the group members.
Type | Field |
static int |
TYPEID
The type id of this class. |
static java.lang.String |
TYPENAME
The constant class type identifier. |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getName, getTypeId,
getTypeName, isSystem, setName,
setSystem, undoAll |
TYPENAME
public static final java.lang.String TYPENAME
- The constant class type identifier.
TYPEID
public static final int TYPEID
- The type id of this class.
addMember
public void addMember(User user)
- Add one user.
- Parameters:
user
- a non null user
addMembers
public void addMembers(User[] users)
- Add a set of Users.
- Parameters:
users
- a User[] of User objects.
removeMember
public void removeMember(User user)
- Remove a User from this group.
- Parameters:
user
- the user.
removeMembers
public void removeMembers(User[] users)
- Remove a set of Users from this group.
- Parameters:
users
- the User set as a User[].
getMembers
public ResultSetEnumeration getMembers(java.lang.String nameExpr,
java.lang.String displayNameExpr,
int maxHits)
- Parameters:
nameExpr
- the name expression including wildcards or null for all.displayNameExpr
- the display name expression including wildcards or null for all.maxHits
- the maximum number of hits
or -1 for no limitation.- Returns:
- an Enumeration with user objects belonging to this group and matching the
filter parameters.