public interface ProblemSetManager
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) |
static void |
setManifestTutorMode(ManifestDTO man,
java.util.Map<java.lang.String,java.lang.Object> sectionParameters)
Given a ManifestDTO and sectionParameters add the test/tutor mode (if necessary)
|
void |
setUpPreviewProblemSetManifest(ManifestDTO man,
java.lang.String uid)
Set up a Preview Problem Set MAnifest.
|
void |
setUpProblemSetManifest(ManifestDTO man,
java.lang.String problemSetId)
Given an empty ManifestDTO and a uid string, build the ProblemSetManifest
that corresponds to the uid that will be given to the tutor.
|
ProblemSet getProblemSet(int dbId)
dbId
- the section idstatic void setManifestTutorMode(ManifestDTO man, java.util.Map<java.lang.String,java.lang.Object> sectionParameters)
man
- The manifestDTO we are working withsectionParameters
- the section parameters that contain test/tutor modevoid setUpProblemSetManifest(ManifestDTO man, java.lang.String problemSetId)
man
- The empty ManifestDTOproblemSetId
- The problemSetId string (sectionId in the current system)void setUpPreviewProblemSetManifest(ManifestDTO man, java.lang.String uid)
man
- The empty ManifestDTOuid
- The uid stringboolean isPlacementsTest(Assignment ca)
ProblemSet getPreviewProblemSet(int problemId)
problemId
- the problem id