@Repository public class JdbcLegacyProblemLogDao extends JdbcBaseDao<LegacyProblemLog> implements LegacyProblemLogDao
LegacyProblemLogDao.Field
COLUMN_NAMES, jdbcTemplate, myPkName, myTable, namedTemplate, RETURN_PK_NAME, TABLE_NAME
FieldTypes
Constructor and Description |
---|
JdbcLegacyProblemLogDao() |
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.Integer,java.lang.Double> |
calculateUserAveragePairs(java.util.ArrayList<LegacyProblemLog> problemLogs) |
java.util.ArrayList<LegacyProblemLog> |
findByUserandAssignment(int userId,
int assignmentId) |
java.util.ArrayList<LegacyProblemLog> |
findByUsersandAssignment(java.util.ArrayList<java.lang.Integer> userIds,
int assignmentId) |
protected NVPairList |
getNVPairs(LegacyProblemLog problemLog) |
protected org.springframework.jdbc.core.RowMapper<LegacyProblemLog> |
getRowMapper() |
java.util.ArrayList<LegacyProblemLog> |
getUserandCorrectness(int assignmentId) |
convertToList, convertToList, delete, delete, delete, deleteById, exists, exists, findAllIds, findAllIds, findAllIds, findAllObjects, findAllObjects, findAllObjects, findAllObjects, findById, findId, findId, findMultipleObjects, findMultipleObjects, findObject, findObject, findObject, getCount, getCount, getCount, initOnce, persist, update, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, delete, delete, deleteById, exists, exists, findAllIds, findAllIds, findAllIds, findAllObjects, findAllObjects, findAllObjects, findAllObjects, findById, findId, findId, findMultipleObjects, findMultipleObjects, findObject, findObject, findObject, getCount, getCount, getCount, getFieldDefns, persist, update, update, update
protected NVPairList getNVPairs(LegacyProblemLog problemLog)
getNVPairs
in class JdbcBaseDao<LegacyProblemLog>
protected org.springframework.jdbc.core.RowMapper<LegacyProblemLog> getRowMapper()
getRowMapper
in class JdbcBaseDao<LegacyProblemLog>
public java.util.ArrayList<LegacyProblemLog> findByUsersandAssignment(java.util.ArrayList<java.lang.Integer> userIds, int assignmentId)
findByUsersandAssignment
in interface LegacyProblemLogDao
public java.util.ArrayList<LegacyProblemLog> findByUserandAssignment(int userId, int assignmentId)
findByUserandAssignment
in interface LegacyProblemLogDao
public java.util.ArrayList<LegacyProblemLog> getUserandCorrectness(int assignmentId)
getUserandCorrectness
in interface LegacyProblemLogDao
public java.util.HashMap<java.lang.Integer,java.lang.Double> calculateUserAveragePairs(java.util.ArrayList<LegacyProblemLog> problemLogs)
calculateUserAveragePairs
in interface LegacyProblemLogDao