Package com.soffid.iam.model
Class HostEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.HostEntityDaoBase
-
- com.soffid.iam.model.HostEntityDaoImpl
-
- All Implemented Interfaces:
HostEntityDao,org.springframework.beans.factory.InitializingBean
public class HostEntityDaoImpl extends HostEntityDaoBase
- See Also:
es.caib.seycon.ng.model.MaquinaEntity
-
-
Constructor Summary
Constructors Constructor Description HostEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(HostEntity maquina)Adds an instance ofHostEntityto the persistent store.voidcreate(Collection entities)Creates a collection ofHostEntityand adds it to the persistent store.String[]getTasks(String nomMaquina)Operation getTasksHostEntityhostToEntity(com.soffid.iam.api.Host maquina)Transforms fromHostobjectvoidhostToEntity(com.soffid.iam.api.Host sourceVO, HostEntity targetEntity, boolean copyIfNull)Copy data fromHostobjectvoidremove(HostEntity maquinaEntity)Removes an instance ofHostEntityfrom the persistent store.voidremove(Collection entities)Removes a collection ofHostEntityfrom the persistent store.com.soffid.iam.api.HosttoHost(HostEntity entity)Transforms toHostobjectvoidtoHost(HostEntity sourceEntity, com.soffid.iam.api.Host targetVO)Copy data toHostobjectvoidupdate(HostEntity maquina)Updates an instance ofHostEntityat the persistent store.voidupdate(Collection entities)Updates a collection ofHostEntityin the persistent store.-
Methods inherited from class com.soffid.iam.model.HostEntityDaoBase
findByIP, findByIP, findByIP, findByName, findByName, findByName, findBySerialNumber, findBySerialNumber, findBySerialNumber, findHostByCriteria, findHostByCriteria, findHostByCriteria, getAuditEntityDao, getHostAdminEntityDao, getHostAliasEntityDao, getHostAttributeEntityDao, getHostEntryPointEntityDao, getHostPortEntityDao, getHostServiceEntityDao, getHostSystemEntityDao, getIssueHostEntityDao, getNetworkEntityDao, getOsTypeEntityDao, getPrinterEntityDao, getTaskEntityDao, getTasks, getTasks, getTenantEntityDao, getUserEntityDao, hostToEntityList, load, loadAll, maquinaToEntity, maquinaToEntity, maquinaToEntityList, newHostEntity, query, query, remove, setAuditEntityDao, setHostAdminEntityDao, setHostAliasEntityDao, setHostAttributeEntityDao, setHostEntryPointEntityDao, setHostPortEntityDao, setHostServiceEntityDao, setHostSystemEntityDao, setIssueHostEntityDao, setNetworkEntityDao, setOsTypeEntityDao, setPrinterEntityDao, setTaskEntityDao, setTenantEntityDao, setUserEntityDao, toHostList, toMaquina, toMaquina, toMaquinaList
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
toHost
public void toHost(HostEntity sourceEntity, com.soffid.iam.api.Host targetVO)
Description copied from class:HostEntityDaoBaseCopy data toHostobject- Specified by:
toHostin interfaceHostEntityDao- Overrides:
toHostin classHostEntityDaoBase
-
toHost
public com.soffid.iam.api.Host toHost(HostEntity entity)
Description copied from class:HostEntityDaoBaseTransforms toHostobject- Specified by:
toHostin interfaceHostEntityDao- Overrides:
toHostin classHostEntityDaoBase- See Also:
es.caib.seycon.ng.model.MaquinaEntityDao#toMaquina(es.caib.seycon.ng.model.MaquinaEntity)
-
hostToEntity
public HostEntity hostToEntity(com.soffid.iam.api.Host maquina)
Description copied from class:HostEntityDaoBaseTransforms fromHostobject- Specified by:
hostToEntityin interfaceHostEntityDao- Overrides:
hostToEntityin classHostEntityDaoBase- See Also:
es.caib.seycon.ng.model.MaquinaEntityDao#maquinaToEntity(es.caib.seycon.ng.comu.Maquina)
-
hostToEntity
public void hostToEntity(com.soffid.iam.api.Host sourceVO, HostEntity targetEntity, boolean copyIfNull)Description copied from class:HostEntityDaoBaseCopy data fromHostobject- Specified by:
hostToEntityin interfaceHostEntityDao- Overrides:
hostToEntityin classHostEntityDaoBase- See Also:
es.caib.seycon.ng.model.MaquinaEntityDao#maquinaToEntity(es.caib.seycon.ng.comu.Maquina, es.caib.seycon.ng.model.MaquinaEntity)
-
remove
public void remove(HostEntity maquinaEntity) throws RuntimeException
Description copied from class:HostEntityDaoBaseRemoves an instance ofHostEntityfrom the persistent store.- Specified by:
removein interfaceHostEntityDao- Overrides:
removein classHostEntityDaoBase- Throws:
RuntimeException
-
create
public void create(HostEntity maquina) throws RuntimeException
Description copied from class:HostEntityDaoBaseAdds an instance ofHostEntityto the persistent store.- Specified by:
createin interfaceHostEntityDao- Overrides:
createin classHostEntityDaoBase- Throws:
RuntimeException
-
update
public void update(HostEntity maquina) throws RuntimeException
Description copied from class:HostEntityDaoBaseUpdates an instance ofHostEntityat the persistent store.- Specified by:
updatein interfaceHostEntityDao- Overrides:
updatein classHostEntityDaoBase- Throws:
RuntimeException
-
getTasks
public String[] getTasks(String nomMaquina)
Description copied from class:HostEntityDaoBaseOperation getTasks- Specified by:
getTasksin interfaceHostEntityDao- Overrides:
getTasksin classHostEntityDaoBase- Returns:
-
create
public void create(Collection entities)
Description copied from class:HostEntityDaoBaseCreates a collection ofHostEntityand adds it to the persistent store.- Specified by:
createin interfaceHostEntityDao- Overrides:
createin classHostEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:HostEntityDaoBaseUpdates a collection ofHostEntityin the persistent store.- Specified by:
updatein interfaceHostEntityDao- Overrides:
updatein classHostEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:HostEntityDaoBaseRemoves a collection ofHostEntityfrom the persistent store.- Specified by:
removein interfaceHostEntityDao- Overrides:
removein classHostEntityDaoBase
-
-