public interface PersistableKeyManager
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
createProblemKeyFromRubyProblemType(RubyProblemType type,
java.lang.String problemId)
Given a ruby problemType and the problemId, create a Problem Manifest Key
|
static java.lang.String |
createProblemSetContentKey(Section section)
Given a section create the problem set content key
|
static java.lang.String |
getHintKey(java.lang.String uid) |
static java.lang.String |
getHintSetKey(java.lang.String uid) |
static java.lang.String |
getManifestKey(ManifestCode mc,
java.lang.String uid) |
static java.lang.String |
getManifestKey(java.lang.String uid)
Given a uid string create a manifest key
|
static java.lang.String |
getProblemManifestKey(int problemId)
Given just a problemId create a problem manifest key without a sectionId "PR-<ID>"
|
static java.lang.String |
getProblemManifestKey(int sectionId,
int problemId)
Given a sectionId and a ProblemId create the problemManifestKey
|
static java.lang.String |
getProblemManifestKey(Section section,
ProblemRow pData)
Given a section and a ProblemData object create the problemManifestKey
|
static java.lang.String |
getProblemSetContentKey(java.lang.String prefix,
java.lang.String uid)
Given a prefix and a uid create a problem set manifest key
|
static java.lang.String |
getProblemSetManifestKey(int sectionId)
Given a section id create a problem set manifest key
|
static java.lang.String |
getProblemSetManifestKey(Section section)
Given a section create a problem set manifest key
|
static java.lang.String |
getScaffoldSetKey(java.lang.String uid) |
static java.lang.String |
getTutoringKey(int problemId)
Given a problem id create the tutoringKey for the problem
|
static java.lang.String |
getTutoringKey(ProblemRow pData)
Given a ProblemData object create the tutoringKey for the problem
|
static java.lang.String |
getTutoringSetContentKey(java.lang.String uid) |
static java.lang.String |
getTutorStrategiesManifestKey(ManifestCode mc,
java.lang.String uid) |
static java.lang.String |
getTutorStrategiesManifestKey(java.lang.String uid) |
static java.lang.String createProblemKeyFromRubyProblemType(RubyProblemType type, java.lang.String problemId)
type - ruby problem typeproblemId - id of the problemstatic java.lang.String getProblemManifestKey(Section section, ProblemRow pData)
section - the section that contains the problempData - the actual problemstatic java.lang.String getProblemManifestKey(int sectionId,
int problemId)
sectionId - the section idproblemId - the problem idstatic java.lang.String getProblemManifestKey(int problemId)
problemId - the problem idstatic java.lang.String getManifestKey(java.lang.String uid)
uid - the uid stringstatic java.lang.String getManifestKey(ManifestCode mc, java.lang.String uid)
static java.lang.String getTutorStrategiesManifestKey(java.lang.String uid)
static java.lang.String getTutorStrategiesManifestKey(ManifestCode mc, java.lang.String uid)
static java.lang.String getTutoringKey(ProblemRow pData)
pData - the problemDatastatic java.lang.String getTutoringKey(int problemId)
problemId - the problem idstatic java.lang.String getProblemSetManifestKey(Section section)
section - the sectionstatic java.lang.String getProblemSetManifestKey(int sectionId)
sectionId - the section idstatic java.lang.String createProblemSetContentKey(Section section)
section - the sectionstatic java.lang.String getProblemSetContentKey(java.lang.String prefix,
java.lang.String uid)
prefix - the string prefix "PS" or "PP"uid - the uidstatic java.lang.String getTutoringSetContentKey(java.lang.String uid)
static java.lang.String getHintKey(java.lang.String uid)
static java.lang.String getHintSetKey(java.lang.String uid)
static java.lang.String getScaffoldSetKey(java.lang.String uid)