Package com.soffid.iam.model
Class HostServiceEntityDaoBase
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.HostServiceEntityDaoBase
-
- All Implemented Interfaces:
HostServiceEntityDao,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
HostServiceEntityDaoImpl
public abstract class HostServiceEntityDaoBase extends org.springframework.orm.hibernate3.support.HibernateDaoSupport implements HostServiceEntityDao
DAO Base for Entity HostServiceEntity
-
-
Constructor Summary
Constructors Constructor Description HostServiceEntityDaoBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(HostServiceEntity entity)Adds an instance ofHostServiceEntityto the persistent store.voidcreate(Collection<? extends HostServiceEntity> entities)Creates a collection ofHostServiceEntityand adds it to the persistent store.AccountEntityDaogetAccountEntityDao()Gets reference toaccountEntityDao.HostEntityDaogetHostEntityDao()Gets reference tomaquinaEntityDao.HostServiceEntityhostServiceToEntity(com.soffid.iam.api.HostService instance)Transforms fromHostServiceobjectvoidhostServiceToEntity(com.soffid.iam.api.HostService source, HostServiceEntity target, boolean copyIfNull)Copy data fromHostServiceobjectList<HostServiceEntity>hostServiceToEntityList(Collection<com.soffid.iam.api.HostService> instances)Transforms fromHostServicelistHostServiceEntityload(Long id)Loads an instance ofHostServiceEntityfrom the persistent store.List<HostServiceEntity>loadAll()Loads all instances ofHostServiceEntityfrom the persistent store.HostServiceEntitynewHostServiceEntity()Creates an instance ofHostServiceEntity.List<HostServiceEntity>query(String queryString, Parameter[] parameters)Query ofHostServiceEntityfrom the persistent store.List<HostServiceEntity>query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)Query ofHostServiceEntityfrom the persistent store.voidremove(HostServiceEntity entity)Removes an instance ofHostServiceEntityfrom the persistent store.voidremove(Long id)Removes an instance ofHostServiceEntityfrom the persistent store.voidremove(Collection<? extends HostServiceEntity> entities)Removes a collection ofHostServiceEntityfrom the persistent store.voidsetAccountEntityDao(AccountEntityDao accountEntityDao)Sets reference toaccountEntityDao.voidsetHostEntityDao(HostEntityDao maquinaEntityDao)Sets reference tomaquinaEntityDao.com.soffid.iam.api.HostServicetoHostService(HostServiceEntity entity)Transforms toHostServiceobjectvoidtoHostService(HostServiceEntity source, com.soffid.iam.api.HostService target)Copy data toHostServiceobjectList<com.soffid.iam.api.HostService>toHostServiceList(Collection<HostServiceEntity> instances)Transforms toHostServicelistvoidupdate(HostServiceEntity entity)Updates an instance ofHostServiceEntityat the persistent store.voidupdate(Collection<? extends HostServiceEntity> entities)Updates a collection ofHostServiceEntityin 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
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao.
-
setHostEntityDao
public void setHostEntityDao(HostEntityDao maquinaEntityDao)
Sets reference tomaquinaEntityDao.
-
getHostEntityDao
public HostEntityDao getHostEntityDao()
Gets reference tomaquinaEntityDao.
-
toHostService
public void toHostService(HostServiceEntity source, com.soffid.iam.api.HostService target)
Copy data toHostServiceobject- Specified by:
toHostServicein interfaceHostServiceEntityDao
-
toHostService
public com.soffid.iam.api.HostService toHostService(HostServiceEntity entity)
Transforms toHostServiceobject- Specified by:
toHostServicein interfaceHostServiceEntityDao
-
toHostServiceList
public List<com.soffid.iam.api.HostService> toHostServiceList(Collection<HostServiceEntity> instances)
Transforms toHostServicelist- Specified by:
toHostServiceListin interfaceHostServiceEntityDao
-
hostServiceToEntity
public void hostServiceToEntity(com.soffid.iam.api.HostService source, HostServiceEntity target, boolean copyIfNull)Copy data fromHostServiceobject- Specified by:
hostServiceToEntityin interfaceHostServiceEntityDao
-
hostServiceToEntity
public HostServiceEntity hostServiceToEntity(com.soffid.iam.api.HostService instance)
Transforms fromHostServiceobject- Specified by:
hostServiceToEntityin interfaceHostServiceEntityDao
-
hostServiceToEntityList
public List<HostServiceEntity> hostServiceToEntityList(Collection<com.soffid.iam.api.HostService> instances)
Transforms fromHostServicelist- Specified by:
hostServiceToEntityListin interfaceHostServiceEntityDao
-
newHostServiceEntity
public HostServiceEntity newHostServiceEntity()
Creates an instance ofHostServiceEntity.- Specified by:
newHostServiceEntityin interfaceHostServiceEntityDao
-
load
public HostServiceEntity load(Long id)
Loads an instance ofHostServiceEntityfrom the persistent store.- Specified by:
loadin interfaceHostServiceEntityDao
-
loadAll
public List<HostServiceEntity> loadAll()
Loads all instances ofHostServiceEntityfrom the persistent store.- Specified by:
loadAllin interfaceHostServiceEntityDao
-
create
public void create(HostServiceEntity entity)
Adds an instance ofHostServiceEntityto the persistent store.- Specified by:
createin interfaceHostServiceEntityDao
-
update
public void update(HostServiceEntity entity)
Updates an instance ofHostServiceEntityat the persistent store.- Specified by:
updatein interfaceHostServiceEntityDao
-
remove
public void remove(HostServiceEntity entity)
Removes an instance ofHostServiceEntityfrom the persistent store.- Specified by:
removein interfaceHostServiceEntityDao
-
create
public void create(Collection<? extends HostServiceEntity> entities)
Creates a collection ofHostServiceEntityand adds it to the persistent store.- Specified by:
createin interfaceHostServiceEntityDao
-
update
public void update(Collection<? extends HostServiceEntity> entities)
Updates a collection ofHostServiceEntityin the persistent store.- Specified by:
updatein interfaceHostServiceEntityDao
-
remove
public void remove(Collection<? extends HostServiceEntity> entities)
Removes a collection ofHostServiceEntityfrom the persistent store.- Specified by:
removein interfaceHostServiceEntityDao
-
remove
public void remove(Long id)
Removes an instance ofHostServiceEntityfrom the persistent store.- Specified by:
removein interfaceHostServiceEntityDao
-
query
public List<HostServiceEntity> query(String queryString, Parameter[] parameters)
Query ofHostServiceEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters- Specified by:
queryin interfaceHostServiceEntityDao
-
query
public List<HostServiceEntity> query(String queryString, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofHostServiceEntityfrom the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return- Specified by:
queryin interfaceHostServiceEntityDao
-
-