Package com.fifa.connectid.sdk
Interface PersonDetailsCache
-
- All Known Implementing Classes:
PersonDetailsMemoryCache
public interface PersonDetailsCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteOlderThan(org.joda.time.Duration duration)Deletes the entries from storage mechanism that are older than given date.PersonDetailsgetByCorrelationId(String correlationId)Get person details with given correlation id from storage mechanism.voidput(PersonDetails personDetails)Puts person details into storage mechanism.
-
-
-
Method Detail
-
put
void put(PersonDetails personDetails)
Puts person details into storage mechanism.
-
getByCorrelationId
PersonDetails getByCorrelationId(String correlationId)
Get person details with given correlation id from storage mechanism.- Returns:
- PersonDetails object. If there is no entry associated with the given id, this method should return null.
-
deleteOlderThan
void deleteOlderThan(org.joda.time.Duration duration)
Deletes the entries from storage mechanism that are older than given date.
-
-