Class BaseEmailConfirmationState

java.lang.Object
pl.edu.icm.unity.engine.api.confirmation.states.BaseEmailConfirmationState
Direct Known Subclasses:
RegistrationEmailConfirmationState, UserEmailConfirmationState

public class BaseEmailConfirmationState extends Object
Contains common informations used during confirmation
Author:
P. Piernik
  • Field Details

    • mapper

      protected final com.fasterxml.jackson.databind.ObjectMapper mapper
    • facilityId

      protected String facilityId
    • type

      protected String type
    • value

      protected String value
    • locale

      protected String locale
  • Constructor Details

    • BaseEmailConfirmationState

      public BaseEmailConfirmationState(String facilityId, String type, String value, String locale)
    • BaseEmailConfirmationState

      public BaseEmailConfirmationState(String serializedState) throws pl.edu.icm.unity.base.exceptions.WrongArgumentException
      Throws:
      pl.edu.icm.unity.base.exceptions.WrongArgumentException
    • BaseEmailConfirmationState

      protected BaseEmailConfirmationState()
  • Method Details

    • getFacilityId

      public String getFacilityId()
    • getType

      public String getType()
    • getValue

      public String getValue()
    • getLocale

      public String getLocale()
    • getSerializedConfiguration

      public String getSerializedConfiguration() throws pl.edu.icm.unity.base.exceptions.InternalException
      Throws:
      pl.edu.icm.unity.base.exceptions.InternalException
    • createState

      protected com.fasterxml.jackson.databind.node.ObjectNode createState()
    • setSerializedConfiguration

      protected void setSerializedConfiguration(String json)
    • setSerializedConfiguration

      protected void setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode main)