Package com.soffid.iam.model
Interface AccessLogEntityDao
-
- All Known Implementing Classes:
AccessLogEntityDaoBase
,AccessLogEntityDaoImpl
public interface AccessLogEntityDao
DAO for Entity AccessLogEntity- See Also:
es.caib.seycon.ng.model.RegistreAccesEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessLogEntity
accessLogToEntity(com.soffid.iam.api.AccessLog instance)
Transforms fromAccessLog
objectvoid
accessLogToEntity(com.soffid.iam.api.AccessLog source, AccessLogEntity target, boolean copyIfNull)
Copy data fromAccessLog
objectList<AccessLogEntity>
accessLogToEntityList(Collection<com.soffid.iam.api.AccessLog> instances)
Transforms fromAccessLog
listvoid
create(AccessLogEntity entity)
Adds an instance ofAccessLogEntity
to the persistent store.void
create(Collection<? extends AccessLogEntity> entities)
Creates a collection ofAccessLogEntity
and adds it to the persistent store.List<AccessLogEntity>
findAccessLogByAgentAndSessionIDAndEndDate(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, HostEntity server)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByAgentAndSessionIDAndEndDate(String system, String sessioId, Date date, HostEntity server)
Operation findAccessLogByAgentAndSessionIDAndEndDateList<AccessLogEntity>
findAccessLogByAgentAndSessionIDAndEndDate2(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, String hostName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByAgentAndSessionIDAndEndDate2(String system, String sessioId, Date date, String hostName)
Operation findAccessLogByAgentAndSessionIDAndEndDate2List<AccessLogEntity>
findAccessLogByCriteria(CriteriaSearchConfiguration criteria, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByCriteria(CriteriaSearchConfiguration criteria, Date nullDate, Date maxDate, Date minDate, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByCriteria(String clientHostName, String server, String userName)
Operation findAccessLogByCriteriaList<AccessLogEntity>
findAccessLogByCriteria(Date nullDate, Date maxDate, Date minDate, String clientHostName, String server, String userName)
Operation findAccessLogByCriteriaList<AccessLogEntity>
findAccessLogByCriteria2(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByCriteria2(Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
Operation findAccessLogByCriteria2List<AccessLogEntity>
findAccessLogByCriteria2Dates(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByCriteria2Dates(Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
Operation findAccessLogByCriteria2DatesList<AccessLogEntity>
findAccessLogByHost(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String server, String protocol)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByHost(Date nullDate, Date startDate, String server, String protocol)
Operation findAccessLogByHostList<AccessLogEntity>
findAccessLogByHostAndStartDateAndProtocol(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String server, String protocol)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByHostAndStartDateAndProtocol(Date nullDate, Date startDate, String server, String protocol)
Operation findAccessLogByHostAndStartDateAndProtocolList<AccessLogEntity>
findAccessLogBySessionIDAndStartDate(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, HostEntity server)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogBySessionIDAndStartDate(String system, String sessioId, Date date, HostEntity server)
Operation findAccessLogBySessionIDAndStartDateList<AccessLogEntity>
findAccessLogBySessionIDAndStartDate2(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, String hostName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogBySessionIDAndStartDate2(String system, String sessioId, Date date, String hostName)
Operation findAccessLogBySessionIDAndStartDate2List<AccessLogEntity>
findAccessLogByStartDateAndUserName(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String userName)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByStartDateAndUserName(Date nullDate, Date startDate, String userName)
Operation findAccessLogByStartDateAndUserNameList<AccessLogEntity>
findAccessLogByStartDateAndUserNameAndProtocol(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String userName, String protocol)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findAccessLogByStartDateAndUserNameAndProtocol(Date nullDate, Date startDate, String userName, String protocol)
Operation findAccessLogByStartDateAndUserNameAndProtocolList<AccessLogEntity>
findByHostId(CriteriaSearchConfiguration criteria, Long id)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findByHostId(Long id)
Operation findByHostIdList<AccessLogEntity>
findLastAccessLogByServerAndProtocol(CriteriaSearchConfiguration criteria, String server, String protocol)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findLastAccessLogByServerAndProtocol(String server, String protocol)
Operation findLastAccessLogByServerAndProtocolList<AccessLogEntity>
findLastAccessLogByUserName(CriteriaSearchConfiguration criteria, String userName, String protocol)
CriteriaSearchConfiguration finderList<AccessLogEntity>
findLastAccessLogByUserName(String userName, String protocol)
Operation findLastAccessLogByUserNameDate
findLastDateBySystem(CriteriaSearchConfiguration criteria, String system)
CriteriaSearchConfiguration finderDate
findLastDateBySystem(String system)
Operation findLastDateBySystemAccessLogEntity
load(Long id)
Loads an instance ofAccessLogEntity
from the persistent store.List<AccessLogEntity>
loadAll()
Loads all instances ofAccessLogEntity
from the persistent store.AccessLogEntity
newAccessLogEntity()
Creates an instance ofAccessLogEntity
.List<AccessLogEntity>
query(String query, Parameter[] parameters)
Query ofAccessLogEntity
from the persistent store.List<AccessLogEntity>
query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofAccessLogEntity
from the persistent store.AccessLogEntity
registreAccesToEntity(es.caib.seycon.ng.comu.RegistreAcces instance)
Transforms fromRegistreAcces
objectvoid
registreAccesToEntity(es.caib.seycon.ng.comu.RegistreAcces source, AccessLogEntity target, boolean copyIfNull)
Copy data fromRegistreAcces
objectList<AccessLogEntity>
registreAccesToEntityList(Collection<es.caib.seycon.ng.comu.RegistreAcces> instances)
Transforms fromRegistreAcces
listvoid
remove(AccessLogEntity entity)
Removes an instance ofAccessLogEntity
from the persistent store.void
remove(Long id)
Removes an instance ofAccessLogEntity
from the persistent store.void
remove(Collection<? extends AccessLogEntity> entities)
Removes a collection 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
objectList<com.soffid.iam.api.AccessLog>
toAccessLogList(Collection<AccessLogEntity> entities)
Transforms toAccessLog
listes.caib.seycon.ng.comu.RegistreAcces
toRegistreAcces(AccessLogEntity entity)
Transforms toRegistreAcces
objectvoid
toRegistreAcces(AccessLogEntity source, es.caib.seycon.ng.comu.RegistreAcces target)
Copy data toRegistreAcces
objectList<es.caib.seycon.ng.comu.RegistreAcces>
toRegistreAccesList(Collection<AccessLogEntity> entities)
Transforms toRegistreAcces
listvoid
update(AccessLogEntity entity)
Updates an instance ofAccessLogEntity
at the persistent store.void
update(Collection<? extends AccessLogEntity> entities)
Updates a collection ofAccessLogEntity
in the persistent store.
-
-
-
Method Detail
-
findLastDateBySystem
Date findLastDateBySystem(String system)
Operation findLastDateBySystem- Parameters:
system
-- Returns:
-
findLastDateBySystem
Date findLastDateBySystem(CriteriaSearchConfiguration criteria, String system)
CriteriaSearchConfiguration finder
-
findAccessLogByAgentAndSessionIDAndEndDate
List<AccessLogEntity> findAccessLogByAgentAndSessionIDAndEndDate(String system, String sessioId, Date date, HostEntity server)
Operation findAccessLogByAgentAndSessionIDAndEndDate- Parameters:
system
-sessioId
-date
-server
-- Returns:
-
findAccessLogByAgentAndSessionIDAndEndDate
List<AccessLogEntity> findAccessLogByAgentAndSessionIDAndEndDate(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, HostEntity server)
CriteriaSearchConfiguration finder
-
findAccessLogByAgentAndSessionIDAndEndDate2
List<AccessLogEntity> findAccessLogByAgentAndSessionIDAndEndDate2(String system, String sessioId, Date date, String hostName)
Operation findAccessLogByAgentAndSessionIDAndEndDate2- Parameters:
system
-sessioId
-date
-hostName
-- Returns:
-
findAccessLogByAgentAndSessionIDAndEndDate2
List<AccessLogEntity> findAccessLogByAgentAndSessionIDAndEndDate2(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, String hostName)
CriteriaSearchConfiguration finder
-
findAccessLogBySessionIDAndStartDate
List<AccessLogEntity> findAccessLogBySessionIDAndStartDate(String system, String sessioId, Date date, HostEntity server)
Operation findAccessLogBySessionIDAndStartDate- Parameters:
system
-sessioId
-date
-server
-- Returns:
-
findAccessLogBySessionIDAndStartDate
List<AccessLogEntity> findAccessLogBySessionIDAndStartDate(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, HostEntity server)
CriteriaSearchConfiguration finder
-
findAccessLogBySessionIDAndStartDate2
List<AccessLogEntity> findAccessLogBySessionIDAndStartDate2(String system, String sessioId, Date date, String hostName)
Operation findAccessLogBySessionIDAndStartDate2- Parameters:
system
-sessioId
-date
-hostName
-- Returns:
-
findAccessLogBySessionIDAndStartDate2
List<AccessLogEntity> findAccessLogBySessionIDAndStartDate2(CriteriaSearchConfiguration criteria, String system, String sessioId, Date date, String hostName)
CriteriaSearchConfiguration finder
-
findByHostId
List<AccessLogEntity> findByHostId(Long id)
Operation findByHostId- Parameters:
id
-- Returns:
-
findByHostId
List<AccessLogEntity> findByHostId(CriteriaSearchConfiguration criteria, Long id)
CriteriaSearchConfiguration finder
-
findLastAccessLogByServerAndProtocol
List<AccessLogEntity> findLastAccessLogByServerAndProtocol(String server, String protocol)
Operation findLastAccessLogByServerAndProtocol- Parameters:
server
-protocol
-- Returns:
-
findLastAccessLogByServerAndProtocol
List<AccessLogEntity> findLastAccessLogByServerAndProtocol(CriteriaSearchConfiguration criteria, String server, String protocol)
CriteriaSearchConfiguration finder
-
findLastAccessLogByUserName
List<AccessLogEntity> findLastAccessLogByUserName(String userName, String protocol)
Operation findLastAccessLogByUserName- Parameters:
userName
-protocol
-- Returns:
-
findLastAccessLogByUserName
List<AccessLogEntity> findLastAccessLogByUserName(CriteriaSearchConfiguration criteria, String userName, String protocol)
CriteriaSearchConfiguration finder
-
findAccessLogByStartDateAndUserName
List<AccessLogEntity> findAccessLogByStartDateAndUserName(Date nullDate, Date startDate, String userName)
Operation findAccessLogByStartDateAndUserName- Parameters:
nullDate
-startDate
-userName
-- Returns:
-
findAccessLogByStartDateAndUserName
List<AccessLogEntity> findAccessLogByStartDateAndUserName(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String userName)
CriteriaSearchConfiguration finder
-
findAccessLogByStartDateAndUserNameAndProtocol
List<AccessLogEntity> findAccessLogByStartDateAndUserNameAndProtocol(Date nullDate, Date startDate, String userName, String protocol)
Operation findAccessLogByStartDateAndUserNameAndProtocol- Parameters:
nullDate
-startDate
-userName
-protocol
-- Returns:
-
findAccessLogByStartDateAndUserNameAndProtocol
List<AccessLogEntity> findAccessLogByStartDateAndUserNameAndProtocol(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String userName, String protocol)
CriteriaSearchConfiguration finder
-
findAccessLogByCriteria
List<AccessLogEntity> findAccessLogByCriteria(String clientHostName, String server, String userName)
Operation findAccessLogByCriteria- Parameters:
clientHostName
-server
-userName
-- Returns:
-
findAccessLogByCriteria
List<AccessLogEntity> findAccessLogByCriteria(CriteriaSearchConfiguration criteria, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finder
-
findAccessLogByCriteria
List<AccessLogEntity> findAccessLogByCriteria(Date nullDate, Date maxDate, Date minDate, String clientHostName, String server, String userName)
Operation findAccessLogByCriteria- Parameters:
nullDate
-maxDate
-minDate
-clientHostName
-server
-userName
-- Returns:
-
findAccessLogByCriteria
List<AccessLogEntity> findAccessLogByCriteria(CriteriaSearchConfiguration criteria, Date nullDate, Date maxDate, Date minDate, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finder
-
findAccessLogByCriteria2Dates
List<AccessLogEntity> findAccessLogByCriteria2Dates(Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
Operation findAccessLogByCriteria2Dates- Parameters:
nullDate
-startDate
-endDate
-clientHostName
-server
-userName
-- Returns:
-
findAccessLogByCriteria2Dates
List<AccessLogEntity> findAccessLogByCriteria2Dates(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finder
-
findAccessLogByCriteria2
List<AccessLogEntity> findAccessLogByCriteria2(Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
Operation findAccessLogByCriteria2- Parameters:
nullDate
-startDate
-endDate
-clientHostName
-server
-userName
-- Returns:
-
findAccessLogByCriteria2
List<AccessLogEntity> findAccessLogByCriteria2(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, Date endDate, String clientHostName, String server, String userName)
CriteriaSearchConfiguration finder
-
findAccessLogByHost
List<AccessLogEntity> findAccessLogByHost(Date nullDate, Date startDate, String server, String protocol)
Operation findAccessLogByHost- Parameters:
nullDate
-startDate
-server
-protocol
-- Returns:
-
findAccessLogByHost
List<AccessLogEntity> findAccessLogByHost(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String server, String protocol)
CriteriaSearchConfiguration finder
-
findAccessLogByHostAndStartDateAndProtocol
List<AccessLogEntity> findAccessLogByHostAndStartDateAndProtocol(Date nullDate, Date startDate, String server, String protocol)
Operation findAccessLogByHostAndStartDateAndProtocol- Parameters:
nullDate
-startDate
-server
-protocol
-- Returns:
-
findAccessLogByHostAndStartDateAndProtocol
List<AccessLogEntity> findAccessLogByHostAndStartDateAndProtocol(CriteriaSearchConfiguration criteria, Date nullDate, Date startDate, String server, String protocol)
CriteriaSearchConfiguration finder
-
toAccessLog
void toAccessLog(AccessLogEntity source, com.soffid.iam.api.AccessLog target)
Copy data toAccessLog
object
-
toAccessLog
com.soffid.iam.api.AccessLog toAccessLog(AccessLogEntity entity)
Transforms toAccessLog
object
-
toAccessLogList
List<com.soffid.iam.api.AccessLog> toAccessLogList(Collection<AccessLogEntity> entities)
Transforms toAccessLog
list
-
accessLogToEntity
void accessLogToEntity(com.soffid.iam.api.AccessLog source, AccessLogEntity target, boolean copyIfNull)
Copy data fromAccessLog
object
-
accessLogToEntity
AccessLogEntity accessLogToEntity(com.soffid.iam.api.AccessLog instance)
Transforms fromAccessLog
object
-
accessLogToEntityList
List<AccessLogEntity> accessLogToEntityList(Collection<com.soffid.iam.api.AccessLog> instances)
Transforms fromAccessLog
list
-
toRegistreAcces
void toRegistreAcces(AccessLogEntity source, es.caib.seycon.ng.comu.RegistreAcces target)
Copy data toRegistreAcces
object
-
toRegistreAcces
es.caib.seycon.ng.comu.RegistreAcces toRegistreAcces(AccessLogEntity entity)
Transforms toRegistreAcces
object
-
toRegistreAccesList
List<es.caib.seycon.ng.comu.RegistreAcces> toRegistreAccesList(Collection<AccessLogEntity> entities)
Transforms toRegistreAcces
list
-
registreAccesToEntity
void registreAccesToEntity(es.caib.seycon.ng.comu.RegistreAcces source, AccessLogEntity target, boolean copyIfNull)
Copy data fromRegistreAcces
object
-
registreAccesToEntity
AccessLogEntity registreAccesToEntity(es.caib.seycon.ng.comu.RegistreAcces instance)
Transforms fromRegistreAcces
object
-
registreAccesToEntityList
List<AccessLogEntity> registreAccesToEntityList(Collection<es.caib.seycon.ng.comu.RegistreAcces> instances)
Transforms fromRegistreAcces
list
-
newAccessLogEntity
AccessLogEntity newAccessLogEntity()
Creates an instance ofAccessLogEntity
.
-
create
void create(AccessLogEntity entity)
Adds an instance ofAccessLogEntity
to the persistent store.
-
update
void update(AccessLogEntity entity)
Updates an instance ofAccessLogEntity
at the persistent store.
-
remove
void remove(AccessLogEntity entity)
Removes an instance ofAccessLogEntity
from the persistent store.
-
load
AccessLogEntity load(Long id)
Loads an instance ofAccessLogEntity
from the persistent store.
-
loadAll
List<AccessLogEntity> loadAll()
Loads all instances ofAccessLogEntity
from the persistent store.
-
create
void create(Collection<? extends AccessLogEntity> entities)
Creates a collection ofAccessLogEntity
and adds it to the persistent store.
-
update
void update(Collection<? extends AccessLogEntity> entities)
Updates a collection ofAccessLogEntity
in the persistent store.
-
remove
void remove(Collection<? extends AccessLogEntity> entities)
Removes a collection ofAccessLogEntity
from the persistent store.
-
remove
void remove(Long id)
Removes an instance ofAccessLogEntity
from the persistent store.
-
query
List<AccessLogEntity> query(String query, Parameter[] parameters)
Query ofAccessLogEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters
-
query
List<AccessLogEntity> query(String query, Parameter[] parameters, CriteriaSearchConfiguration criteria)
Query ofAccessLogEntity
from the persistent store. parameter query HQL Query String parameter parameters HQL Parameters parameter maxResults max number of rows to return
-
-