public class AuthRecordDAOHibernate extends EntityObjectDAOHibernate implements AuthRecordDAO
logger
Constructor and Description |
---|
AuthRecordDAOHibernate() |
Modifier and Type | Method and Description |
---|---|
List |
findRecords(User user)
Finds all the AuthRecords for a given user.
|
List |
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 |
getPersistentClass()
All subclasses of HibernateDAO must implement this method for
HibernateDao.load(long) to
work correctly |
findAll, save, update
load, loadReference, remove, save, saveOrUpdate, update
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findAll, save, update
public Class getPersistentClass()
HibernateDao
HibernateDao.load(long)
to
work correctlygetPersistentClass
in interface ObjectDao
getPersistentClass
in class HibernateDao
public List findRecords(User user)
AuthRecordDAO
findRecords
in interface AuthRecordDAO
user
- owner of the authentication records.public List 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 © 2013 Atlassian. All Rights Reserved.