public interface UserLogEntryDao
UserLogEntry
.Modifier and Type | Method and Description |
---|---|
void |
cleanupLogoutTime()
Set logout time to be current date time for null values.
|
void |
deleteUserLogEntry(UserLogEntry logEntry)
Deletes the specified log entry.
|
List<UserLogEntry> |
getLoginsForLastHours(Integer hours,
Integer orgId)
Get the UserLogEntrys with a loginTime within the specified number of hours from now.
|
int |
getNumberUniqueRejectedLoginEventsForLicenseType(Date from,
Date to,
com.jamasoftware.contour.api.util.license.UserLicenseType licenseType,
Integer organizationId)
Retrieve the number of "rejected" login events that happened for a given range, not counting multiple
by the same user.
|
List<Integer> |
getUserLogEntryIdList(List<Integer> userIds)
Gets list of of log entries for the given user.
|
List<UserLogEntry> |
getUserLogEntryListBySession(String sessionId)
Gets all the log entries for the given session id.
|
void |
saveUserAgent(String sessionId,
String userAgent)
Update a session's record with the user-agent captured at login.
|
void |
saveUserLogEntry(UserLogEntry logEntry)
Saves or updates the specified log entry.
|
List<Integer> getUserLogEntryIdList(List<Integer> userIds)
userIds
- the ids of the usersvoid saveUserLogEntry(UserLogEntry logEntry)
logEntry
- the logEntry to be saved.void deleteUserLogEntry(UserLogEntry logEntry)
logEntry
- the log entry to be deleted.List<UserLogEntry> getUserLogEntryListBySession(String sessionId)
sessionId
- session idvoid cleanupLogoutTime()
int getNumberUniqueRejectedLoginEventsForLicenseType(Date from, Date to, com.jamasoftware.contour.api.util.license.UserLicenseType licenseType, Integer organizationId)
List<UserLogEntry> getLoginsForLastHours(Integer hours, Integer orgId)
hours
- How many hours to search back from the current timeorgId
- The organizationCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.