Class RosterGroup

    • Method Detail

      • getEntries

        public List<RosterEntrygetEntries()
        Get the list of entries associated with this group.
        Returns:
        the list of entries or an empty list.
      • setName

        public void setName​(String newName)
        Set the RosterGroup's name, changing it in every entry associated with the roster.
        Parameters:
        newName - the new name
      • canEdit

        public boolean canEdit()
        Flag indicating that this RosterGroup can be edited by the user. The default implementation always returns true.
        Returns:
        true if the group can be edited.
      • canDelete

        public boolean canDelete()
        Flag indicating that this RosterGroup can be deleted by the user. The default implementation always returns true.
        Returns:
        true if the group can be deleted.
      • canCopy

        public boolean canCopy()
        Flag indicating that this RosterGroup can be duplicated by the user. The default implementation always returns true.
        Returns:
        true if the group can be copied.
      • canChangeContents

        public boolean canChangeContents()
        Flag indicating that the contents of this RosterGroup can be changed by the user. The default implementation always returns true.
        Returns:
        true if entries in this group can be changed.