Package com.soffid.iam.model
Class SessionEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.SessionEntityDaoBase
-
- com.soffid.iam.model.SessionEntityDaoImpl
-
- All Implemented Interfaces:
SessionEntityDao
,org.springframework.beans.factory.InitializingBean
public class SessionEntityDaoImpl extends SessionEntityDaoBase
- See Also:
es.caib.seycon.ng.model.SessioEntity
-
-
Constructor Summary
Constructors Constructor Description SessionEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(Collection entities)
Creates a collection ofSessionEntity
and adds it to the persistent store.void
remove(Collection entities)
Removes a collection ofSessionEntity
from the persistent store.SessionEntity
sessionToEntity(com.soffid.iam.api.Session sessio)
Transforms fromSession
objectvoid
sessionToEntity(com.soffid.iam.api.Session sourceVO, SessionEntity targetEntity, boolean copyIfNull)
Copy data fromSession
objectvoid
sessioToEntityCustom(com.soffid.iam.api.Session sourceVO, SessionEntity targetEntity)
void
toSessioCustom(SessionEntity sourceEntity, com.soffid.iam.api.Session targetVO)
com.soffid.iam.api.Session
toSession(SessionEntity entity)
Transforms toSession
objectvoid
toSession(SessionEntity sourceEntity, com.soffid.iam.api.Session targetVO)
Copy data toSession
objectvoid
update(Collection entities)
Updates a collection ofSessionEntity
in the persistent store.-
Methods inherited from class com.soffid.iam.model.SessionEntityDaoBase
create, findById, findById, findById, findByKey, findByKey, findByKey, findSessionByCriteria, findSessionByCriteria, findSessionByCriteria, findSessionByUserName, findSessionByUserName, findSessionByUserName, findSessionsByCriteria, findSessionsByCriteria, findSessionsByCriteria, getAccessLogEntityDao, getAccountEntityDao, getHostEntityDao, getUserEntityDao, load, loadAll, newSessionEntity, query, query, remove, remove, sessionToEntityList, sessioToEntity, sessioToEntity, sessioToEntityList, setAccessLogEntityDao, setAccountEntityDao, setHostEntityDao, setUserEntityDao, toSessio, toSessio, toSessioList, toSessionList, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
toSession
public void toSession(SessionEntity sourceEntity, com.soffid.iam.api.Session targetVO)
Description copied from class:SessionEntityDaoBase
Copy data toSession
object- Specified by:
toSession
in interfaceSessionEntityDao
- Overrides:
toSession
in classSessionEntityDaoBase
-
toSessioCustom
public void toSessioCustom(SessionEntity sourceEntity, com.soffid.iam.api.Session targetVO)
-
toSession
public com.soffid.iam.api.Session toSession(SessionEntity entity)
Description copied from class:SessionEntityDaoBase
Transforms toSession
object- Specified by:
toSession
in interfaceSessionEntityDao
- Overrides:
toSession
in classSessionEntityDaoBase
- See Also:
es.caib.seycon.ng.model.SessioEntityDao#toSessio(es.caib.seycon.ng.model.SessioEntity)
-
sessionToEntity
public SessionEntity sessionToEntity(com.soffid.iam.api.Session sessio)
Description copied from class:SessionEntityDaoBase
Transforms fromSession
object- Specified by:
sessionToEntity
in interfaceSessionEntityDao
- Overrides:
sessionToEntity
in classSessionEntityDaoBase
- See Also:
es.caib.seycon.ng.model.SessioEntityDao#sessioToEntity(es.caib.seycon.ng.comu.Sessio)
-
sessioToEntityCustom
public void sessioToEntityCustom(com.soffid.iam.api.Session sourceVO, SessionEntity targetEntity)
-
sessionToEntity
public void sessionToEntity(com.soffid.iam.api.Session sourceVO, SessionEntity targetEntity, boolean copyIfNull)
Description copied from class:SessionEntityDaoBase
Copy data fromSession
object- Specified by:
sessionToEntity
in interfaceSessionEntityDao
- Overrides:
sessionToEntity
in classSessionEntityDaoBase
- See Also:
es.caib.seycon.ng.model.SessioEntityDao#sessioToEntity(es.caib.seycon.ng.comu.Sessio, es.caib.seycon.ng.model.SessioEntity)
-
create
public void create(Collection entities)
Description copied from class:SessionEntityDaoBase
Creates a collection ofSessionEntity
and adds it to the persistent store.- Specified by:
create
in interfaceSessionEntityDao
- Overrides:
create
in classSessionEntityDaoBase
-
update
public void update(Collection entities)
Description copied from class:SessionEntityDaoBase
Updates a collection ofSessionEntity
in the persistent store.- Specified by:
update
in interfaceSessionEntityDao
- Overrides:
update
in classSessionEntityDaoBase
-
remove
public void remove(Collection entities)
Description copied from class:SessionEntityDaoBase
Removes a collection ofSessionEntity
from the persistent store.- Specified by:
remove
in interfaceSessionEntityDao
- Overrides:
remove
in classSessionEntityDaoBase
-
-