@Component public class ProblemSetManagerImpl extends java.lang.Object implements ProblemSetManager
| Modifier and Type | Field and Description |
|---|---|
(package private) ProblemDao |
problemDao |
(package private) SectionDao |
sectionDao |
(package private) SectionLinkDao |
sectionLinkDao |
(package private) SequenceDao |
sequenceDao |
| Constructor and Description |
|---|
ProblemSetManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
ProblemSet |
getPreviewProblemSet(int problemId)
Given a UID and a problemId create the preview problem set
|
ProblemSet |
getProblemSet(int dbId)
Given a section id return a problemSet object
|
boolean |
isPlacementsTest(Assignment ca) |
void |
setUpPreviewProblemSetManifest(ManifestDTO man,
java.lang.String uid)
Set up a Preview Problem Set MAnifest.
|
void |
setUpProblemSetManifest(ManifestDTO man,
java.lang.String uid)
Given an empty ManifestDTO and a uid string, build the ProblemSetManifest
that corresponds to the uid that will be given to the tutor.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetManifestTutorMode@Autowired SectionDao sectionDao
@Autowired SectionLinkDao sectionLinkDao
@Autowired ProblemDao problemDao
@Autowired SequenceDao sequenceDao
public ProblemSet getProblemSet(int dbId)
ProblemSetManagergetProblemSet in interface ProblemSetManagerdbId - the section idpublic void setUpProblemSetManifest(ManifestDTO man, java.lang.String uid)
ProblemSetManagersetUpProblemSetManifest in interface ProblemSetManagerman - The empty ManifestDTOuid - The problemSetId string (sectionId in the current system)public void setUpPreviewProblemSetManifest(ManifestDTO man, java.lang.String uid)
ProblemSetManagersetUpPreviewProblemSetManifest in interface ProblemSetManagerman - The empty ManifestDTOuid - The uid stringpublic boolean isPlacementsTest(Assignment ca)
isPlacementsTest in interface ProblemSetManagerpublic ProblemSet getPreviewProblemSet(int problemId)
ProblemSetManagergetPreviewProblemSet in interface ProblemSetManagerproblemId - the problem id