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 void
create(HostEntity maquina)
Adds an instance ofHostEntity
to the persistent store.void
create(Collection entities)
Creates a collection ofHostEntity
and adds it to the persistent store.String[]
getTasks(String nomMaquina)
Operation getTasksHostEntity
hostToEntity(com.soffid.iam.api.Host maquina)
Transforms fromHost
objectvoid
hostToEntity(com.soffid.iam.api.Host sourceVO, HostEntity targetEntity, boolean copyIfNull)
Copy data fromHost
objectvoid
remove(HostEntity maquinaEntity)
Removes an instance ofHostEntity
from the persistent store.void
remove(Collection entities)
Removes a collection ofHostEntity
from the persistent store.com.soffid.iam.api.Host
toHost(HostEntity entity)
Transforms toHost
objectvoid
toHost(HostEntity sourceEntity, com.soffid.iam.api.Host targetVO)
Copy data toHost
objectvoid
update(HostEntity maquina)
Updates an instance ofHostEntity
at the persistent store.void
update(Collection entities)
Updates a collection ofHostEntity
in 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:HostEntityDaoBase
Copy data toHost
object- Specified by:
toHost
in interfaceHostEntityDao
- Overrides:
toHost
in classHostEntityDaoBase
-
toHost
public com.soffid.iam.api.Host toHost(HostEntity entity)
Description copied from class:HostEntityDaoBase
Transforms toHost
object- Specified by:
toHost
in interfaceHostEntityDao
- Overrides:
toHost
in 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:HostEntityDaoBase
Transforms fromHost
object- Specified by:
hostToEntity
in interfaceHostEntityDao
- Overrides:
hostToEntity
in 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:HostEntityDaoBase
Copy data fromHost
object- Specified by:
hostToEntity
in interfaceHostEntityDao
- Overrides:
hostToEntity
in 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:HostEntityDaoBase
Removes an instance ofHostEntity
from the persistent store.- Specified by:
remove
in interfaceHostEntityDao
- Overrides:
remove
in classHostEntityDaoBase
- Throws:
RuntimeException
-
create
public void create(HostEntity maquina) throws RuntimeException
Description copied from class:HostEntityDaoBase
Adds an instance ofHostEntity
to the persistent store.- Specified by:
create
in interfaceHostEntityDao
- Overrides:
create
in classHostEntityDaoBase
- Throws:
RuntimeException
-
update
public void update(HostEntity maquina) throws RuntimeException
Description copied from class:HostEntityDaoBase
Updates an instance ofHostEntity
at the persistent store.- Specified by:
update
in interfaceHostEntityDao
- Overrides:
update
in classHostEntityDaoBase
- Throws:
RuntimeException
-
getTasks
public String[] getTasks(String nomMaquina)
Description copied from class:HostEntityDaoBase
Operation getTasks- Specified by:
getTasks
in interfaceHostEntityDao
- Overrides:
getTasks
in classHostEntityDaoBase
- Returns:
-
create
public void create(Collection entities)
Description copied from class:HostEntityDaoBase
Creates a collection ofHostEntity
and adds it to the persistent store.- Specified by:
create
in interfaceHostEntityDao
- Overrides:
create
in classHostEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:HostEntityDaoBase
Updates a collection ofHostEntity
in the persistent store.- Specified by:
update
in interfaceHostEntityDao
- Overrides:
update
in classHostEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:HostEntityDaoBase
Removes a collection ofHostEntity
from the persistent store.- Specified by:
remove
in interfaceHostEntityDao
- Overrides:
remove
in classHostEntityDaoBase
-
-