public class AuthRecordDAOHibernate extends EntityObjectDAOHibernate<AuthRecord> implements AuthRecordDAO
logger
Constructor and Description |
---|
AuthRecordDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
List<AuthRecord> |
findRecords(User user,
int startIndex,
int numRecords)
Finds a subset of the AuthRecords for a given user.
|
int |
findTotalRecords(User user)
Finds the total number of authentication records
that exist for a given user.
|
Class<AuthRecord> |
getPersistentClass()
All subclasses of HibernateDAO must implement this method for
HibernateDao.load(long) to
work correctly |
save, update
currentSession, load, remove, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
load, remove, update
public Class<AuthRecord> getPersistentClass()
HibernateDao
HibernateDao.load(long)
to
work correctlygetPersistentClass
in class HibernateDao<AuthRecord>
public List<AuthRecord> findRecords(User user, int startIndex, int numRecords)
AuthRecordDAO
findRecords
in interface AuthRecordDAO
user
- owner of the authentication records.startIndex
- the start index of the record set. A startIndex of 0 implies the first record.numRecords
- the maximum number of records to include in the set.public int findTotalRecords(User user)
AuthRecordDAO
findTotalRecords
in interface AuthRecordDAO
user
- owner of the authentication records.Copyright © 2021 Atlassian. All rights reserved.