EDMUserOrGroup
edm.edom3
Interface EDMUserOrGroup
All Superinterfaces:EDMContextDependent, EDMData
All Known Subinterfaces:EDMGroup, EDMUser
public interface EDMUserOrGroup extends EDMData
Base interface for EDM Database users and groupsAuthor:aet
Method Summary
All Methods Instance Methods Abstract MethodsÂ
Modifier and Type Method and Description void
create()
Create user or group using name and context for this wrappervoid
delete()
Delete this user or group from EDM databaseboolean
equals(EDMUserOrGroup other)
Compare to another user or groupboolean
isGroup()
check if this object is a user or a groupboolean
isUser()
check if this object is a user or a groupMethods inherited from interface edm.edom3.EDMData
exists, getInstanceId, getName, getOwner, isLocal, isRemote
Methods inherited from interface edm.edom3.EDMContextDependent
getContext
Method Detail
create
void create() throws EdmiException
Create user or group using name and context for this wrapperThrows:EdmiException - If the method fails.
isUser
boolean isUser()
check if this object is a user or a groupReturns:true if object is a user
isGroup
boolean isGroup()
check if this object is a user or a groupReturns:true if object is a group
delete
void delete() throws EdmiException
Delete this user or group from EDM databaseThrows:EdmiException - if the method fails
equals
boolean equals(EDMUserOrGroup other) throws EdmiException
Compare to another user or groupParameters:other - the other user/groupReturns:true if the object represents the same user or groupThrows:EdmiException - if the method fails