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 void
create(TenantServerEntity entity)
Adds an instance ofTenantServerEntity
to the persistent store.void
create(Collection<? extends TenantServerEntity> entities)
Creates a collection ofTenantServerEntity
and adds it to the persistent store.ServerEntityDao
getServerEntityDao()
Gets reference toserverEntityDao
.TenantEntityDao
getTenantEntityDao()
Gets reference totenantEntityDao
.TenantServerEntity
load(Long id)
Loads an instance ofTenantServerEntity
from the persistent store.List<TenantServerEntity>
loadAll()
Loads all instances ofTenantServerEntity
from the persistent store.TenantServerEntity
newTenantServerEntity()
Creates an instance ofTenantServerEntity
.List<TenantServerEntity>
query(String queryString, Parameter[] parameters)
Query ofTenantServerEntity
from the persistent store.List<TenantServerEntity>
query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofTenantServerEntity
from the persistent store.void
remove(TenantServerEntity entity)
Removes an instance ofTenantServerEntity
from the persistent store.void
remove(Long id)
Removes an instance ofTenantServerEntity
from the persistent store.void
remove(Collection<? extends TenantServerEntity> entities)
Removes a collection ofTenantServerEntity
from the persistent store.void
setServerEntityDao(ServerEntityDao serverEntityDao)
Sets reference toserverEntityDao
.void
setTenantEntityDao(TenantEntityDao tenantEntityDao)
Sets reference totenantEntityDao
.void
update(TenantServerEntity entity)
Updates an instance ofTenantServerEntity
at the persistent store.void
update(Collection<? extends TenantServerEntity> entities)
Updates a collection ofTenantServerEntity
in 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:
newTenantServerEntity
in interfaceTenantServerEntityDao
-
load
public TenantServerEntity load(Long id)
Loads an instance ofTenantServerEntity
from the persistent store.- Specified by:
load
in interfaceTenantServerEntityDao
-
loadAll
public List<TenantServerEntity> loadAll()
Loads all instances ofTenantServerEntity
from the persistent store.- Specified by:
loadAll
in interfaceTenantServerEntityDao
-
create
public void create(TenantServerEntity entity)
Adds an instance ofTenantServerEntity
to the persistent store.- Specified by:
create
in interfaceTenantServerEntityDao
-
update
public void update(TenantServerEntity entity)
Updates an instance ofTenantServerEntity
at the persistent store.- Specified by:
update
in interfaceTenantServerEntityDao
-
remove
public void remove(TenantServerEntity entity)
Removes an instance ofTenantServerEntity
from the persistent store.- Specified by:
remove
in interfaceTenantServerEntityDao
-
create
public void create(Collection<? extends TenantServerEntity> entities)
Creates a collection ofTenantServerEntity
and adds it to the persistent store.- Specified by:
create
in interfaceTenantServerEntityDao
-
update
public void update(Collection<? extends TenantServerEntity> entities)
Updates a collection ofTenantServerEntity
in the persistent store.- Specified by:
update
in interfaceTenantServerEntityDao
-
remove
public void remove(Collection<? extends TenantServerEntity> entities)
Removes a collection ofTenantServerEntity
from the persistent store.- Specified by:
remove
in interfaceTenantServerEntityDao
-
remove
public void remove(Long id)
Removes an instance ofTenantServerEntity
from the persistent store.- Specified by:
remove
in interfaceTenantServerEntityDao
-
query
public List<TenantServerEntity> query(String queryString, Parameter[] parameters)
Query ofTenantServerEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
query
in interfaceTenantServerEntityDao
-
query
public List<TenantServerEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofTenantServerEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
query
in interfaceTenantServerEntityDao
-
-