public interface ActionManager
Modifier and Type | Method and Description |
---|---|
java.util.List<Action> |
findActionsByAssignmentAndUser(int xAssignmentId,
int xUserId)
Find the actions for a particular user in an assignment
|
java.util.List<Action> |
findActionsByAssignmentandUsers(int xAssignmentId,
java.util.List<java.lang.Integer> xUserIds)
Find the actions for a list of users in an assignment
|
java.util.List<Action> |
findActionsByProblemAndUser(int xAssignmentId,
int xUserId,
int problemId)
given a problem and user find the actions associated in the context of an assignment
|
java.util.List<Action> |
findActionsByProblemAndUsers(int xAssignmentId,
java.util.List<java.lang.Integer> xUserIds,
int problemId)
Find the actions for a list of users in an assignment for a particular problem
|
Action |
persist(Action action,
int assignmentLogId)
Persist an action
|
Action persist(Action action, int assignmentLogId)
action
- the action to be persistedassignmentLogId
- the assignment log id that the action belongs tojava.util.List<Action> findActionsByProblemAndUser(int xAssignmentId, int xUserId, int problemId)
xAssignmentId
- the external id of the assignmentxUserId
- The external id of a userproblemId
- the problem idjava.util.List<Action> findActionsByAssignmentAndUser(int xAssignmentId, int xUserId)
xAssignmentId
- the external id of the assignmentxUserId
- the external id of the userjava.util.List<Action> findActionsByProblemAndUsers(int xAssignmentId, java.util.List<java.lang.Integer> xUserIds, int problemId)
xAssignmentId
- xUserIds
- the list of external ids for the usersproblemId
- the external id of the problemjava.util.List<Action> findActionsByAssignmentandUsers(int xAssignmentId, java.util.List<java.lang.Integer> xUserIds)
xUserIds
- the list of external ids for the usersxAssignmentId
- the external id of the assignment