Package com.soffid.iam.model
Class TenantServerEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.TenantServerEntityDaoBase
-
- All Implemented Interfaces:
TenantServerEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
TenantServerEntityDaoImpl
public abstract class TenantServerEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements TenantServerEntityDao
DAO Base for Entity TenantServerEntity
-
-
Constructor Summary
Constructors Constructor Description TenantServerEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(TenantServerEntity entity)Adds an instance ofTenantServerEntityto the persistent store.voidcreate(Collection<? extends TenantServerEntity> entities)Creates a collection ofTenantServerEntityand adds it to the persistent store.ServerEntityDaogetServerEntityDao()Gets reference toserverEntityDao.TenantEntityDaogetTenantEntityDao()Gets reference totenantEntityDao.TenantServerEntityload(Long id)Loads an instance ofTenantServerEntityfrom the persistent store.List<TenantServerEntity>loadAll()Loads all instances ofTenantServerEntityfrom the persistent store.TenantServerEntitynewTenantServerEntity()Creates an instance ofTenantServerEntity.List<TenantServerEntity>query(String queryString, Parameter[] parameters)Query ofTenantServerEntityfrom the persistent store.List<TenantServerEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofTenantServerEntityfrom the persistent store.voidremove(TenantServerEntity entity)Removes an instance ofTenantServerEntityfrom the persistent store.voidremove(Long id)Removes an instance ofTenantServerEntityfrom the persistent store.voidremove(Collection<? extends TenantServerEntity> entities)Removes a collection ofTenantServerEntityfrom the persistent store.voidsetServerEntityDao(ServerEntityDao serverEntityDao)Sets reference toserverEntityDao.voidsetTenantEntityDao(TenantEntityDao tenantEntityDao)Sets reference totenantEntityDao.voidupdate(TenantServerEntity entity)Updates an instance ofTenantServerEntityat the persistent store.voidupdate(Collection<? extends TenantServerEntity> entities)Updates a collection ofTenantServerEntityin the persistent store.-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
setServerEntityDao
public void setServerEntityDao(ServerEntityDao serverEntityDao)
Sets reference toserverEntityDao.
-
getServerEntityDao
public ServerEntityDao getServerEntityDao()
Gets reference toserverEntityDao.
-
setTenantEntityDao
public void setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao.
-
getTenantEntityDao
public TenantEntityDao getTenantEntityDao()
Gets reference totenantEntityDao.
-
newTenantServerEntity
public TenantServerEntity newTenantServerEntity()
Creates an instance ofTenantServerEntity.- Specified by:
newTenantServerEntityin interfaceTenantServerEntityDao
-
load
public TenantServerEntity load(Long id)
Loads an instance ofTenantServerEntityfrom the persistent store.- Specified by:
loadin interfaceTenantServerEntityDao
-
loadAll
public List<TenantServerEntity> loadAll()
Loads all instances ofTenantServerEntityfrom the persistent store.- Specified by:
loadAllin interfaceTenantServerEntityDao
-
create
public void create(TenantServerEntity entity)
Adds an instance ofTenantServerEntityto the persistent store.- Specified by:
createin interfaceTenantServerEntityDao
-
update
public void update(TenantServerEntity entity)
Updates an instance ofTenantServerEntityat the persistent store.- Specified by:
updatein interfaceTenantServerEntityDao
-
remove
public void remove(TenantServerEntity entity)
Removes an instance ofTenantServerEntityfrom the persistent store.- Specified by:
removein interfaceTenantServerEntityDao
-
create
public void create(Collection<? extends TenantServerEntity> entities)
Creates a collection ofTenantServerEntityand adds it to the persistent store.- Specified by:
createin interfaceTenantServerEntityDao
-
update
public void update(Collection<? extends TenantServerEntity> entities)
Updates a collection ofTenantServerEntityin the persistent store.- Specified by:
updatein interfaceTenantServerEntityDao
-
remove
public void remove(Collection<? extends TenantServerEntity> entities)
Removes a collection ofTenantServerEntityfrom the persistent store.- Specified by:
removein interfaceTenantServerEntityDao
-
remove
public void remove(Long id)
Removes an instance ofTenantServerEntityfrom the persistent store.- Specified by:
removein interfaceTenantServerEntityDao
-
query
public List<TenantServerEntity> query(String queryString, Parameter[] parameters)
Query ofTenantServerEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceTenantServerEntityDao
-
query
public List<TenantServerEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofTenantServerEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceTenantServerEntityDao
-
-