Package io.jmix.core.usersubstitution
Interface UserSubstitutionProvider
- All Known Implementing Classes:
DatabaseUserSubstitutionProvider,InMemoryUserSubstitutionProvider
public interface UserSubstitutionProvider
Interface to be implemented by classes that provide
UserSubstitution. Each provider is responsible for
extracting an information from a specific source (in-memory, database, etc.)-
Method Summary
Modifier and TypeMethodDescriptiongetUserSubstitutions(String username, Date date) Method returns a collection ofUserSubstitutionavailable for the givenusernameand active at the givendate.
-
Method Details
-
getUserSubstitutions
Method returns a collection ofUserSubstitutionavailable for the givenusernameand active at the givendate. IfUserSubstitution.startDateandUserSubstitution.endDateare null then this substitution is considered active.
-