Package com.emc.documentum.rest.dfc
Interface GroupManager
public interface GroupManager
The group manager.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddGroupMember(String groupName, String memberName) Add a member to a group.voidDeprecated.voidaddUserMember(String groupName, String memberName) Add a member to a group.createGroup(GroupObject group) Create a group.voiddeleteGroup(String groupName) Delete a group.get(String groupName, AttributeView attributeView) Get the group by its name.voidremoveGroupMember(String groupName, String memberName) Remove a member from a group.voidremoveMember(String groupName, String memberName) Deprecated.voidremoveUserMember(String groupName, String memberName) Remove a member from a group.updateGroup(String groupName, GroupObject groupObject) Update a group.
-
Method Details
-
get
GroupObject get(String groupName, AttributeView attributeView) throws com.documentum.fc.common.DfException Get the group by its name.- Parameters:
groupName- the group nameattributeView- the attribute view- Returns:
- the group object
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
createGroup
Create a group.- Parameters:
group- the group to be created- Returns:
- the updated group object
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
updateGroup
GroupObject updateGroup(String groupName, GroupObject groupObject) throws com.documentum.fc.common.DfException Update a group.- Parameters:
groupName- the group namegroupObject- the properties to be updated- Returns:
- the updated group object
- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
deleteGroup
Delete a group.- Parameters:
groupName- the group name- Throws:
com.documentum.fc.common.DfException- exception during the operation
-
addMember
@Deprecated void addMember(String groupName, String memberName) throws com.documentum.fc.common.DfException Deprecated.Add a member to a group.- Parameters:
groupName- the group namememberName- the member name which is a group name or a user name- Throws:
com.documentum.fc.common.DfException- the exception during the operation
-
removeMember
@Deprecated void removeMember(String groupName, String memberName) throws com.documentum.fc.common.DfException Deprecated.Remove a member from a group.- Parameters:
groupName- the group namememberName- the member name which is a group name or a user name- Throws:
com.documentum.fc.common.DfException- the exception during the operation
-
addUserMember
Add a member to a group.- Parameters:
groupName- the group namememberName- the member name which is a group name or a user name- Throws:
com.documentum.fc.common.DfException- the exception during the operation
-
removeUserMember
void removeUserMember(String groupName, String memberName) throws com.documentum.fc.common.DfException Remove a member from a group.- Parameters:
groupName- the group namememberName- the member name which is a group name or a user name- Throws:
com.documentum.fc.common.DfException- the exception during the operation
-
addGroupMember
void addGroupMember(String groupName, String memberName) throws com.documentum.fc.common.DfException Add a member to a group.- Parameters:
groupName- the group namememberName- the member name which is a group name or a user name- Throws:
com.documentum.fc.common.DfException- the exception during the operation
-
removeGroupMember
void removeGroupMember(String groupName, String memberName) throws com.documentum.fc.common.DfException Remove a member from a group.- Parameters:
groupName- the group namememberName- the member name which is a group name or a user name- Throws:
com.documentum.fc.common.DfException- the exception during the operation
-