public synchronized boolean deleteSubmission(AccessStructure struct){
  if (struct.getState() < 300)   return deleteEntry(struct.getUsername(),struct.getSubmissionID());
 else   return deleteResult(struct.getUsername(),struct.getSubmissionID());
}

public synchronized boolean deleteSubmission ( AccessStructure struct ) { if ( struct . getState ( ) < 300 ) return deleteEntry ( struct . getUsername ( ) , struct . getSubmissionID ( ) ) ; else return deleteResult ( struct . getUsername ( ) , struct . getSubmissionID ( ) ) ; }
deletes an submission from the database
