Class UserSubstitution

java.lang.Object
io.jmix.core.usersubstitution.UserSubstitution

public class UserSubstitution extends Object
Class stores user substitution information. It describes which user may substitute the other user and define a time range for this substitution. If startDate and #endDate are not defined then the user substitution is permanent.
  • Field Details

    • username

      protected String username
    • substitutedUsername

      protected String substitutedUsername
    • startDate

      protected Date startDate
    • endDate

      protected Date endDate
  • Constructor Details

    • UserSubstitution

      public UserSubstitution(String username, String substitutedUsername)
    • UserSubstitution

      public UserSubstitution(String username, String substitutedUsername, @Nullable Date startDate, @Nullable Date endDate)
  • Method Details

    • getUsername

      public String getUsername()
    • getSubstitutedUsername

      public String getSubstitutedUsername()
    • getStartDate

      @Nullable public Date getStartDate()
    • getEndDate

      @Nullable public Date getEndDate()