public interface GCubeGroup
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(String user)
Adds the specified member to the group.
|
boolean |
addMembers(List<String> users)
Add a list of users
|
List<String> |
getMembers()
Returns a list of the members in the group.
|
String |
getName() |
boolean |
isMember(String user)
Returns true if the passed user is a member of the group.
|
boolean |
removeMember(String user)
Removes the specified member from the group.
|
boolean |
removeMembers(List<String> users)
Delete a list of users
|
String getName()
boolean addMember(String user) throws InternalErrorException
user - the user to add to this group.InternalErrorExceptionboolean addMembers(List<String> users) throws InternalErrorException
users - InternalErrorExceptionboolean removeMember(String user) throws InternalErrorException
user - the user to remove from this group.InternalErrorExceptionboolean removeMembers(List<String> users) throws InternalErrorException
users - InternalErrorExceptionboolean isMember(String user)
user - the user whose membership is to be checked.List<String> getMembers() throws InternalErrorException
InternalErrorExceptionCopyright © 2014. All Rights Reserved.