Class RosterGroup

    • Constructor Detail

      • RosterGroup

        public RosterGroup​(java.lang.String name)
        Create a roster group. This sets the name without calling setName(java.lang.String).
        Parameters:
        name - roster group name.
    • Method Detail

      • getEntries

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

        public void setName​(java.lang.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.