public void delete(TemplatePersistenceData data){
  if (data.isUserAdded())   fTemplates.remove(data);
 else   data.setDeleted(true);
}

public void delete ( TemplatePersistenceData data ) { if ( data . isUserAdded ( ) ) fTemplates . remove ( data ) ; else data . setDeleted ( true ) ; }
removes a template from the store .
