@Component public class ProblemLogManagerImpl extends java.lang.Object implements ProblemLogManager
Modifier and Type | Field and Description |
---|---|
(package private) AssignmentManager |
assignmentManager |
(package private) ProblemLogDao |
problemLogDao |
Constructor and Description |
---|
ProblemLogManagerImpl() |
Modifier and Type | Method and Description |
---|---|
ProblemLog |
findLog(int assignmentLogId,
int problemId,
java.lang.String path) |
ProblemLog |
findLog(XInfoImpl user,
XInfoImpl assignment,
int problemId,
java.lang.String path) |
int |
persist(ProblemLog log) |
void |
update(int dbId,
java.util.List<NVPair> values) |
void |
update(ProblemLog log) |
@Autowired AssignmentManager assignmentManager
@Autowired ProblemLogDao problemLogDao
public int persist(ProblemLog log)
persist
in interface ProblemLogManager
public ProblemLog findLog(XInfoImpl user, XInfoImpl assignment, int problemId, java.lang.String path)
findLog
in interface ProblemLogManager
public ProblemLog findLog(int assignmentLogId, int problemId, java.lang.String path)
findLog
in interface ProblemLogManager
public void update(ProblemLog log)
update
in interface ProblemLogManager
public void update(int dbId, java.util.List<NVPair> values)
update
in interface ProblemLogManager