public interface UserSubstitutionProvider
UserSubstitution
. Each provider is responsible for
extracting an information from a specific source (in-memory, database, etc.)Modifier and Type | Method and Description |
---|---|
java.util.Collection<UserSubstitution> |
getUserSubstitutions(java.lang.String username,
java.util.Date date)
Method returns a collection of
UserSubstitution available for the given username and active at
the given date . |
java.util.Collection<UserSubstitution> getUserSubstitutions(java.lang.String username, java.util.Date date)
UserSubstitution
available for the given username
and active at
the given date
. If UserSubstitution.startDate
and UserSubstitution.endDate
are
null then this substitution is considered active.