EDMGroup
edm.edom3
Interface EDMGroup
All Superinterfaces:EDMContextDependent, EDMData, EDMUserOrGroup
public interface EDMGroup extends EDMUserOrGroup
Interface wrapping an EDMdatabase useAuthor:aet
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description void
addMember(EDMUser user)
Add a user to this groupEDMUser[]
getAllMembers()
Retrieve a list of all group membersjava.lang.String
getDescription()
Retrieve a list of all group membersboolean
hasMember(EDMUser user)
Check if a user is member in this groupvoid
removeMember(EDMUser user)
Add a user to this groupvoid
setDescription(java.lang.String description)
Set optional description of this groupMethods inherited from interface edm.edom3.EDMUserOrGroup
create, delete, equals, isGroup, isUser
Methods inherited from interface edm.edom3.EDMData
exists, getInstanceId, getName, getOwner, isLocal, isRemote
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
Method Detail
addMember
void addMember(EDMUser user) throws EdmiException
Add a user to this groupParameters:user - user to addThrows:EdmiException - if the method fails
removeMember
void removeMember(EDMUser user) throws EdmiException
Add a user to this groupParameters:user - user to addThrows:EdmiException - if the method fails
hasMember
boolean hasMember(EDMUser user) throws EdmiException
Check if a user is member in this groupParameters:user - check membership for this userReturns:true if the user is memberThrows:EdmiException - if the method fails
getAllMembers
EDMUser[]Â getAllMembers() throws EdmiException
Retrieve a list of all group membersReturns:list of group membersThrows:EdmiException - if the method fails
getDescription
java.lang.String getDescription() throws EdmiException
Retrieve a list of all group membersReturns:list of group membersThrows:EdmiException - if the method fails
setDescription
void setDescription(java.lang.String description) throws EdmiException
Set optional description of this groupParameters:description - description of this groupThrows:EdmiException - if the method fails