Package com.soffid.iam.model
Class ServerEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.ServerEntityDaoBase
-
- com.soffid.iam.model.ServerEntityDaoImpl
-
- All Implemented Interfaces:
ServerEntityDao
,org.springframework.beans.factory.InitializingBean
public class ServerEntityDaoImpl extends ServerEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServerEntity
-
-
Constructor Summary
Constructors Constructor Description ServerEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
remove(ServerEntity entity)
Removes an instance ofServerEntity
from the persistent store.void
serverToEntity(com.soffid.iam.api.Server source, ServerEntity target, boolean copyIfNull)
Copy data fromServer
objectcom.soffid.iam.api.Server
toServer(ServerEntity entity)
Transforms toServer
objectvoid
toServer(ServerEntity source, com.soffid.iam.api.Server target)
Copy data toServer
object-
Methods inherited from class com.soffid.iam.model.ServerEntityDaoBase
countServersByName, countServersByName, countServersByName, create, create, findByName, findByName, findByName, findByTenant, findByTenant, findByTenant, findGatewayByTenant, findGatewayByTenant, findGatewayByTenant, findRemoteByUrl, findRemoteByUrl, findRemoteByUrl, getNetworkEntityDao, getScheduledTaskEntityDao, getSecretEntityDao, getServerCertificateEntityDao, getServerInstanceEntityDao, getTenantServerEntityDao, load, loadAll, newServerEntity, query, query, remove, remove, serverToEntity, serverToEntityList, setNetworkEntityDao, setScheduledTaskEntityDao, setSecretEntityDao, setServerCertificateEntityDao, setServerInstanceEntityDao, setTenantServerEntityDao, toServerList, update, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
toServer
public void toServer(ServerEntity source, com.soffid.iam.api.Server target)
Description copied from class:ServerEntityDaoBase
Copy data toServer
object- Specified by:
toServer
in interfaceServerEntityDao
- Overrides:
toServer
in classServerEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServerEntityDao#toServer(es.caib.seycon.ng.model.ServerEntity, es.caib.seycon.ng.comu.Server)
-
toServer
public com.soffid.iam.api.Server toServer(ServerEntity entity)
Description copied from class:ServerEntityDaoBase
Transforms toServer
object- Specified by:
toServer
in interfaceServerEntityDao
- Overrides:
toServer
in classServerEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServerEntityDao#toServer(es.caib.seycon.ng.model.ServerEntity)
-
serverToEntity
public void serverToEntity(com.soffid.iam.api.Server source, ServerEntity target, boolean copyIfNull)
Description copied from class:ServerEntityDaoBase
Copy data fromServer
object- Specified by:
serverToEntity
in interfaceServerEntityDao
- Overrides:
serverToEntity
in classServerEntityDaoBase
- See Also:
es.caib.seycon.ng.model.ServerEntityDao#serverToEntity(es.caib.seycon.ng.comu.Server, es.caib.seycon.ng.model.ServerEntity)
-
remove
public void remove(ServerEntity entity)
Description copied from class:ServerEntityDaoBase
Removes an instance ofServerEntity
from the persistent store.- Specified by:
remove
in interfaceServerEntityDao
- Overrides:
remove
in classServerEntityDaoBase
-
-