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 AccessLogEntityaccessLogToEntity(com.soffid.iam.api.AccessLog registreAcces)Transforms fromAccessLogobjectvoidaccessLogToEntity(com.soffid.iam.api.AccessLog source, AccessLogEntity target, boolean copyIfNull)Copy data fromAccessLogobjectvoidcreate(AccessLogEntity registreAcces)Adds an instance ofAccessLogEntityto 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)voidremove(AccessLogEntity registreAcces)Removes an instance ofAccessLogEntityfrom the persistent store.com.soffid.iam.api.AccessLogtoAccessLog(AccessLogEntity entity)Transforms toAccessLogobjectvoidtoAccessLog(AccessLogEntity source, com.soffid.iam.api.AccessLog target)Copy data toAccessLogobjectvoidupdate(AccessLogEntity registreAcces)Updates an instance ofAccessLogEntityat 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:AccessLogEntityDaoBaseAdds an instance ofAccessLogEntityto the persistent store.- Specified by:
createin interfaceAccessLogEntityDao- Overrides:
createin classAccessLogEntityDaoBase- Throws:
RuntimeException
-
remove
public void remove(AccessLogEntity registreAcces) throws RuntimeException
Description copied from class:AccessLogEntityDaoBaseRemoves an instance ofAccessLogEntityfrom the persistent store.- Specified by:
removein interfaceAccessLogEntityDao- Overrides:
removein classAccessLogEntityDaoBase- Throws:
RuntimeException
-
toAccessLog
public void toAccessLog(AccessLogEntity source, com.soffid.iam.api.AccessLog target)
Description copied from class:AccessLogEntityDaoBaseCopy data toAccessLogobject- Specified by:
toAccessLogin interfaceAccessLogEntityDao- Overrides:
toAccessLogin classAccessLogEntityDaoBase
-
toAccessLog
public com.soffid.iam.api.AccessLog toAccessLog(AccessLogEntity entity)
Description copied from class:AccessLogEntityDaoBaseTransforms toAccessLogobject- Specified by:
toAccessLogin interfaceAccessLogEntityDao- Overrides:
toAccessLogin 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:AccessLogEntityDaoBaseTransforms fromAccessLogobject- Specified by:
accessLogToEntityin interfaceAccessLogEntityDao- Overrides:
accessLogToEntityin 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:AccessLogEntityDaoBaseCopy data fromAccessLogobject- Specified by:
accessLogToEntityin interfaceAccessLogEntityDao- Overrides:
accessLogToEntityin 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:AccessLogEntityDaoBaseOperation findAccessLogByCriteria2- Specified by:
findAccessLogByCriteria2in interfaceAccessLogEntityDao- Overrides:
findAccessLogByCriteria2in classAccessLogEntityDaoBase- Returns:
-
update
public void update(AccessLogEntity registreAcces)
Description copied from class:AccessLogEntityDaoBaseUpdates an instance ofAccessLogEntityat the persistent store.- Specified by:
updatein interfaceAccessLogEntityDao- Overrides:
updatein classAccessLogEntityDaoBase
-
-