EDMGroup


edm.edom3

Interface EDMGroup

  • All Superinterfaces:EDMContextDependent, EDMData, EDMUserOrGroup



    public interface EDMGroup
    extends EDMUserOrGroup

    Interface wrapping an EDMdatabase use

    Author:aet

    • Method Detail

      • addMember

        void addMember(EDMUser user)
                throws EdmiException

        Add a user to this group

        Parameters:user - user to addThrows:EdmiException - if the method fails

      • removeMember

        void removeMember(EDMUser user)
                   throws EdmiException

        Add a user to this group

        Parameters:user - user to addThrows:EdmiException - if the method fails

      • hasMember

        boolean hasMember(EDMUser user)
                   throws EdmiException

        Check if a user is member in this group

        Parameters: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 members

        Returns:list of group membersThrows:EdmiException - if the method fails

      • getDescription

        java.lang.String getDescription()
                                 throws EdmiException

        Retrieve a list of all group members

        Returns:list of group membersThrows:EdmiException - if the method fails

      • setDescription

        void setDescription(java.lang.String description)
                     throws EdmiException

        Set optional description of this group

        Parameters:description - description of this groupThrows:EdmiException - if the method fails