com.atlassian.crowd.openid.server.model.security
Class AddressRestrictionDAOHibernate

java.lang.Object
  extended by com.atlassian.crowd.openid.server.model.HibernateDao
      extended by com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
          extended by com.atlassian.crowd.openid.server.model.security.AddressRestrictionDAOHibernate
All Implemented Interfaces:
EntityObjectDAO, ObjectDao, AddressRestrictionDAO

public class AddressRestrictionDAOHibernate
extends EntityObjectDAOHibernate
implements AddressRestrictionDAO


Field Summary
 
Fields inherited from class com.atlassian.crowd.openid.server.model.HibernateDao
logger
 
Constructor Summary
AddressRestrictionDAOHibernate()
           
 
Method Summary
 AddressRestriction findbyAddress(String address)
           
 Class getPersistentClass()
          All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly
 void removeAll()
           
 
Methods inherited from class com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
findAll, save, update
 
Methods inherited from class com.atlassian.crowd.openid.server.model.HibernateDao
currentSession, load, loadReference, remove, save, saveOrUpdate, setSessionFactory, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.openid.server.model.EntityObjectDAO
findAll, save, update
 
Methods inherited from interface com.atlassian.crowd.openid.server.model.ObjectDao
load, remove, save, update
 

Constructor Detail

AddressRestrictionDAOHibernate

public AddressRestrictionDAOHibernate()
Method Detail

getPersistentClass

public Class getPersistentClass()
Description copied from class: HibernateDao
All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly

Specified by:
getPersistentClass in interface ObjectDao
Specified by:
getPersistentClass in class HibernateDao
Returns:
Class

removeAll

public void removeAll()
Specified by:
removeAll in interface AddressRestrictionDAO

findbyAddress

public AddressRestriction findbyAddress(String address)
Specified by:
findbyAddress in interface AddressRestrictionDAO


Copyright © 2013 Atlassian. All Rights Reserved.