Package com.cbe
Class Role
java.lang.Object
com.cbe.Role
User role information.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRole
(long cPtr, boolean cMemoryOwn) Role
(DefaultCtor arg0) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRoleMember
(long memberId, AddRoleMemberDelegate delegate) Adds a member to this role.void
delete()
void
finalize()
static long
long
groupId()
Id of the group the role belongs to.long
id()
Id of the role.void
listMembers
(ListMembersDelegate delegate) Lists the members of this role,
name()
Name of the role.void
removeRoleMember
(long memberId, RemoveRoleMemberDelegate delegate) Removes a member to this role.
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
Role
public Role(long cPtr, boolean cMemoryOwn) -
Role
-
-
Method Details
-
getCPtr
-
finalize
public void finalize() -
delete
public void delete() -
name
Name of the role. -
id
public long id()Id of the role. -
groupId
public long groupId()Id of the group the role belongs to. -
listMembers
Lists the members of this role,
- Parameters:
delegate
- Pointer to a delegate::ListMembersDelegate instance that is
implemented by the user.
-
addRoleMember
Adds a member to this role.
- Parameters:
memberId
- The id of the member to add to the role.
delegate
- Pointer to a delegate::AddRoleMemberDelegate instance that is
implemented by the user.
-
removeRoleMember
Removes a member to this role.
- Parameters:
memberId
- The id of the member to remove from the role.
delegate
- Pointer to a delegate::RemoveRoleMember instance that
is implemented by the user.
-