public class GroupMgrImpl extends Manageable implements GroupMgr, Serializable
This class is thread safe.
adminSess, contextId
Constructor and Description |
---|
GroupMgrImpl() |
Modifier and Type | Method and Description |
---|---|
Group |
add(Group group)
Create a new group node.,
|
Group |
add(Group group,
String key,
String value)
Add a property to an existing group node.
|
Group |
assign(Group group,
String member)
Assign a user to an existing group node.
|
Group |
deassign(Group group,
String member)
Deassign a member from an existing group node.
|
Group |
delete(Group group)
Delete existing group node.
|
Group |
delete(Group group,
String key,
String value)
Delete existing group node.
|
List<Group> |
find(Group group)
Search using a full or partial group node.
|
List<Group> |
find(User user)
Search for groups by userId.
|
Group |
read(Group group)
Read an existing group node.
|
Group |
update(Group group)
Modify existing group node.
|
assertContext, assertContext, checkAccess, getFullMethodName, setAdmin, setAdminData, setContextId, setEntitySession
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setAdmin, setContextId
public Group add(Group group) throws SecurityException
add
in interface GroupMgr
group
- contains Group
.Group
containing entity just added.SecurityException
- in the event system error.public Group update(Group group) throws SecurityException
GroupMgr.add( Group group, String key, String value )
, GroupMgr.delete( Group group, String key,
String value )
, GroupMgr.assign( Group group, String member)
, or
GroupMgr.deassign( Group group, String member)
for multi-occurring attributes.update
in interface GroupMgr
group
- contains Group
.Group
containing entity just modified.SecurityException
- in the event system error.public Group delete(Group group) throws SecurityException
delete
in interface GroupMgr
group
- contains Group
.Group
containing entity just removed.SecurityException
- in the event system error.public Group add(Group group, String key, String value) throws SecurityException
add
in interface GroupMgr
group
- contains Group
.key
- contains the property key.value
- contains contains the property value.Group
containing entity just modified.SecurityException
- in the event system error.public Group delete(Group group, String key, String value) throws SecurityException
delete
in interface GroupMgr
group
- contains Group
.key
- contains the property key.value
- contains contains the property value.Group
containing entity just modified.SecurityException
- in the event system error.public Group read(Group group) throws SecurityException
read
in interface GroupMgr
group
- contains Group
with name field set with an existing group name.Group
containing entity found.SecurityException
- in the event system error.public List<Group> find(Group group) throws SecurityException
find
in interface GroupMgr
group
- contains Group
.Group
containing entities found.SecurityException
- in the event system error.public List<Group> find(User user) throws SecurityException
find
in interface GroupMgr
user
- contains userId that maps to Group member attribute.Group
containing entity just added.SecurityException
- in the event system error.public Group assign(Group group, String member) throws SecurityException
assign
in interface GroupMgr
group
- contains Group
.member
- is the relative distinguished name (rdn) of an existing user in ldap.Group
containing entity to assign.SecurityException
- in the event entry already present or other system error.public Group deassign(Group group, String member) throws SecurityException
deassign
in interface GroupMgr
group
- contains Group
.member
- is the relative distinguished name (rdn) of an existing user in ldap.Group
containing entity to deassignSecurityException
- in the event entry already present or other system error.Copyright © 2003-2016, The Apache Software Foundation. All Rights Reserved. Generated 20160718-1621