code: public void deleteAllAlerts() {
          for(int i = 0; i < getChildCount(); i++) {
              ((SiteNode) getChildAt(i)).deleteAllAlerts();
          }
  
          if (!alerts.isEmpty()) {
              alerts.clear();
              highestAlert = null;
              calculateHighestAlert = false;
          	if (this.siteMap != null) {
          		// Deleting alert might affect the nodes visibility in a filtered tree
          		siteMap.applyFilter(this);
          	}
              nodeChanged();
          }
      }
docs: Deletes all alerts of this node and all child nodes recursively.