org.olat.course.auditing
Class UserNodeAuditManagerImpl
java.lang.Object
org.olat.course.auditing.UserNodeAuditManager
org.olat.course.auditing.UserNodeAuditManagerImpl
public class UserNodeAuditManagerImpl
- extends UserNodeAuditManager
Default implementation of the UserNodeAuditManager - storing
the user node logs in the properties table.
Note that this has an inherent problem in that the property
size is limited yet this class appends to that property
constantly.
Initial Date: 22.10.2009
- Author:
- Stefan
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserNodeAuditManagerImpl
public UserNodeAuditManagerImpl(ICourse course)
appendToUserNodeLog
public void appendToUserNodeLog(CourseNode courseNode,
Identity identity,
Identity assessedIdentity,
java.lang.String logText)
- Description copied from class:
UserNodeAuditManager
- Append a log message to the personal course node log
- Specified by:
appendToUserNodeLog in class UserNodeAuditManager
identity - The user who initiated the action that triggered the log
entryassessedIdentity - The user who is affected by the change- See Also:
org.olat.course.auditing.AuditManager#appendToUserNodeLog(org.olat.course.nodes.CourseNode,
org.olat.core.id.Identity, org.olat.core.id.Identity,
java.lang.String)
hasUserNodeLogs
public boolean hasUserNodeLogs(CourseNode node)
- Specified by:
hasUserNodeLogs in class UserNodeAuditManager
- Parameters:
node - The current course node
- Returns:
- true if this node has user logs, false otherwhise
- See Also:
org.olat.course.auditing.AuditManager#hasUserNodeLogs(org.olat.course.nodes.CourseNode)
getUserNodeLog
public java.lang.String getUserNodeLog(CourseNode courseNode,
Identity identity)
- Specified by:
getUserNodeLog in class UserNodeAuditManager
- Parameters:
courseNode - The course nodeidentity - The identity
- Returns:
- The user log or null if no log available
- See Also:
org.olat.course.auditing.AuditManager#getUserNodeLog(org.olat.course.nodes.CourseNode,
org.olat.core.id.Identity)