public interface CasEventRepository
Modifier and Type | Method and Description |
---|---|
java.util.Collection<CasEvent> |
getEventsForPrincipal(java.lang.String id)
Gets events for principal.
|
java.util.Collection<CasEvent> |
getEventsForPrincipal(java.lang.String id,
java.time.ZonedDateTime dateTime)
Gets events for principal after date.
|
java.util.Collection<CasEvent> |
getEventsOfType(java.lang.String type)
Gets events of type.
|
java.util.Collection<CasEvent> |
getEventsOfType(java.lang.String type,
java.time.ZonedDateTime dateTime)
Gets events of type after date.
|
java.util.Collection<CasEvent> |
getEventsOfTypeForPrincipal(java.lang.String type,
java.lang.String principal)
Gets events of type for principal.
|
java.util.Collection<CasEvent> |
getEventsOfTypeForPrincipal(java.lang.String type,
java.lang.String principal,
java.time.ZonedDateTime dateTime)
Gets events of type for principal after date.
|
java.util.Collection<? extends CasEvent> |
load()
Load collection.
|
java.util.Collection<CasEvent> |
load(java.time.ZonedDateTime dateTime)
Load collection of events created after the given date.
|
void |
save(CasEvent event)
Save.
|
void save(CasEvent event)
event
- the eventjava.util.Collection<? extends CasEvent> load()
java.util.Collection<CasEvent> load(java.time.ZonedDateTime dateTime)
dateTime
- the date timejava.util.Collection<CasEvent> getEventsOfTypeForPrincipal(java.lang.String type, java.lang.String principal)
type
- the typeprincipal
- the principaljava.util.Collection<CasEvent> getEventsOfTypeForPrincipal(java.lang.String type, java.lang.String principal, java.time.ZonedDateTime dateTime)
type
- the typeprincipal
- the principaldateTime
- the date timejava.util.Collection<CasEvent> getEventsOfType(java.lang.String type)
type
- the typejava.util.Collection<CasEvent> getEventsOfType(java.lang.String type, java.time.ZonedDateTime dateTime)
type
- the typedateTime
- the date timejava.util.Collection<CasEvent> getEventsForPrincipal(java.lang.String id)
id
- the idjava.util.Collection<CasEvent> getEventsForPrincipal(java.lang.String id, java.time.ZonedDateTime dateTime)
id
- the iddateTime
- the date time