Package edm.edom3
Interface EDMUserOrGroup
-
- All Superinterfaces:
EDMContextDependent
,EDMData
public interface EDMUserOrGroup extends EDMData
Base interface for EDM Database users and groups- Author:
- aet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 group-
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 wrapper- Throws:
EdmiException
- If the method fails.
-
isUser
boolean isUser()
check if this object is a user or a group- Returns:
- true if object is a user
-
isGroup
boolean isGroup()
check if this object is a user or a group- Returns:
- true if object is a group
-
delete
void delete() throws EdmiException
Delete this user or group from EDM database- Throws:
EdmiException
- if the method fails
-
equals
boolean equals(EDMUserOrGroup other) throws EdmiException
Compare to another user or group- Parameters:
other
- the other user/group- Returns:
- true if the object represents the same user or group
- Throws:
EdmiException
- if the method fails
-
-