Package com.soffid.iam.model
Class AccessLogEntityDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate3.support.HibernateDaoSupport
-
- com.soffid.iam.model.AccessLogEntityDaoBase
-
- com.soffid.iam.model.AccessLogEntityDaoImpl
-
- All Implemented Interfaces:
AccessLogEntityDao
,org.springframework.beans.factory.InitializingBean
public class AccessLogEntityDaoImpl extends AccessLogEntityDaoBase
- See Also:
es.caib.seycon.ng.model.RegistreAccesEntity
-
-
Constructor Summary
Constructors Constructor Description AccessLogEntityDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessLogEntity
accessLogToEntity(com.soffid.iam.api.AccessLog registreAcces)
Transforms fromAccessLog
objectvoid
accessLogToEntity(com.soffid.iam.api.AccessLog source, AccessLogEntity target, boolean copyIfNull)
Copy data fromAccessLog
objectvoid
create(AccessLogEntity registreAcces)
Adds an instance ofAccessLogEntity
to the persistent store.List<AccessLogEntity>
findAccessLogByCriteria2(Date nullDate, Date dataIni, Date dataFi, String nomClient, String nomServidor, String codiUsuari)
Operation findAccessLogByCriteria2List<AccessLogEntity>
findDarrersRegistresAccesMaquinaProtocol(String nomServidor, String numRegistres, String protocolAcces)
List<AccessLogEntity>
findDarrersRegistresByCodiUsuari(String codiUsuari, String numRegistres, String codiProtocolAcces)
void
remove(AccessLogEntity registreAcces)
Removes an instance ofAccessLogEntity
from the persistent store.com.soffid.iam.api.AccessLog
toAccessLog(AccessLogEntity entity)
Transforms toAccessLog
objectvoid
toAccessLog(AccessLogEntity source, com.soffid.iam.api.AccessLog target)
Copy data toAccessLog
objectvoid
update(AccessLogEntity registreAcces)
Updates an instance ofAccessLogEntity
at the persistent store.-
Methods inherited from class com.soffid.iam.model.AccessLogEntityDaoBase
accessLogToEntityList, create, findAccessLogByAgentAndSessionIDAndEndDate, findAccessLogByAgentAndSessionIDAndEndDate, findAccessLogByAgentAndSessionIDAndEndDate, findAccessLogByAgentAndSessionIDAndEndDate2, findAccessLogByAgentAndSessionIDAndEndDate2, findAccessLogByAgentAndSessionIDAndEndDate2, findAccessLogByCriteria, findAccessLogByCriteria, findAccessLogByCriteria, findAccessLogByCriteria, findAccessLogByCriteria, findAccessLogByCriteria, findAccessLogByCriteria2, findAccessLogByCriteria2, findAccessLogByCriteria2Dates, findAccessLogByCriteria2Dates, findAccessLogByCriteria2Dates, findAccessLogByHost, findAccessLogByHost, findAccessLogByHost, findAccessLogByHostAndStartDateAndProtocol, findAccessLogByHostAndStartDateAndProtocol, findAccessLogByHostAndStartDateAndProtocol, findAccessLogBySessionIDAndStartDate, findAccessLogBySessionIDAndStartDate, findAccessLogBySessionIDAndStartDate, findAccessLogBySessionIDAndStartDate2, findAccessLogBySessionIDAndStartDate2, findAccessLogBySessionIDAndStartDate2, findAccessLogByStartDateAndUserName, findAccessLogByStartDateAndUserName, findAccessLogByStartDateAndUserName, findAccessLogByStartDateAndUserNameAndProtocol, findAccessLogByStartDateAndUserNameAndProtocol, findAccessLogByStartDateAndUserNameAndProtocol, findByHostId, findByHostId, findByHostId, findLastAccessLogByServerAndProtocol, findLastAccessLogByServerAndProtocol, findLastAccessLogByServerAndProtocol, findLastAccessLogByUserName, findLastAccessLogByUserName, findLastAccessLogByUserName, findLastDateBySystem, findLastDateBySystem, findLastDateBySystem, getHostEntityDao, getServiceEntityDao, getTenantEntityDao, getUserEntityDao, load, loadAll, newAccessLogEntity, query, query, registreAccesToEntity, registreAccesToEntity, registreAccesToEntityList, remove, remove, setHostEntityDao, setServiceEntityDao, setTenantEntityDao, setUserEntityDao, toAccessLogList, toRegistreAcces, toRegistreAcces, toRegistreAccesList, update
-
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
-
-
-
-
Method Detail
-
create
public void create(AccessLogEntity registreAcces) throws RuntimeException
Description copied from class:AccessLogEntityDaoBase
Adds an instance ofAccessLogEntity
to the persistent store.- Specified by:
create
in interfaceAccessLogEntityDao
- Overrides:
create
in classAccessLogEntityDaoBase
- Throws:
RuntimeException
-
remove
public void remove(AccessLogEntity registreAcces) throws RuntimeException
Description copied from class:AccessLogEntityDaoBase
Removes an instance ofAccessLogEntity
from the persistent store.- Specified by:
remove
in interfaceAccessLogEntityDao
- Overrides:
remove
in classAccessLogEntityDaoBase
- Throws:
RuntimeException
-
toAccessLog
public void toAccessLog(AccessLogEntity source, com.soffid.iam.api.AccessLog target)
Description copied from class:AccessLogEntityDaoBase
Copy data toAccessLog
object- Specified by:
toAccessLog
in interfaceAccessLogEntityDao
- Overrides:
toAccessLog
in classAccessLogEntityDaoBase
-
toAccessLog
public com.soffid.iam.api.AccessLog toAccessLog(AccessLogEntity entity)
Description copied from class:AccessLogEntityDaoBase
Transforms toAccessLog
object- Specified by:
toAccessLog
in interfaceAccessLogEntityDao
- Overrides:
toAccessLog
in classAccessLogEntityDaoBase
- See Also:
es.caib.seycon.ng.model.RegistreAccesEntityDao#toRegistreAcces(es.caib.seycon.ng.model.RegistreAccesEntity)
-
accessLogToEntity
public AccessLogEntity accessLogToEntity(com.soffid.iam.api.AccessLog registreAcces)
Description copied from class:AccessLogEntityDaoBase
Transforms fromAccessLog
object- Specified by:
accessLogToEntity
in interfaceAccessLogEntityDao
- Overrides:
accessLogToEntity
in classAccessLogEntityDaoBase
- See Also:
es.caib.seycon.ng.model.RegistreAccesEntityDao#registreAccesToEntity(es.caib.seycon.ng.comu.RegistreAcces)
-
accessLogToEntity
public void accessLogToEntity(com.soffid.iam.api.AccessLog source, AccessLogEntity target, boolean copyIfNull)
Description copied from class:AccessLogEntityDaoBase
Copy data fromAccessLog
object- Specified by:
accessLogToEntity
in interfaceAccessLogEntityDao
- Overrides:
accessLogToEntity
in classAccessLogEntityDaoBase
- See Also:
es.caib.seycon.ng.model.RegistreAccesEntityDao#registreAccesToEntity(es.caib.seycon.ng.comu.RegistreAcces, es.caib.seycon.ng.model.RegistreAccesEntity)
-
findDarrersRegistresByCodiUsuari
public List<AccessLogEntity> findDarrersRegistresByCodiUsuari(String codiUsuari, String numRegistres, String codiProtocolAcces)
-
findDarrersRegistresAccesMaquinaProtocol
public List<AccessLogEntity> findDarrersRegistresAccesMaquinaProtocol(String nomServidor, String numRegistres, String protocolAcces)
-
findAccessLogByCriteria2
public List<AccessLogEntity> findAccessLogByCriteria2(Date nullDate, Date dataIni, Date dataFi, String nomClient, String nomServidor, String codiUsuari)
Description copied from class:AccessLogEntityDaoBase
Operation findAccessLogByCriteria2- Specified by:
findAccessLogByCriteria2
in interfaceAccessLogEntityDao
- Overrides:
findAccessLogByCriteria2
in classAccessLogEntityDaoBase
- Returns:
-
update
public void update(AccessLogEntity registreAcces)
Description copied from class:AccessLogEntityDaoBase
Updates an instance ofAccessLogEntity
at the persistent store.- Specified by:
update
in interfaceAccessLogEntityDao
- Overrides:
update
in classAccessLogEntityDaoBase
-
-