Class BaseEmailConfirmationState
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.confirmation.states.BaseEmailConfirmationState
-
- Direct Known Subclasses:
RegistrationEmailConfirmationState
,UserEmailConfirmationState
public class BaseEmailConfirmationState extends java.lang.Object
Contains common informations used during confirmation- Author:
- P. Piernik
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
facilityId
protected java.lang.String
locale
protected com.fasterxml.jackson.databind.ObjectMapper
mapper
protected java.lang.String
type
protected java.lang.String
value
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseEmailConfirmationState()
BaseEmailConfirmationState(java.lang.String serializedState)
BaseEmailConfirmationState(java.lang.String facilityId, java.lang.String type, java.lang.String value, java.lang.String locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.fasterxml.jackson.databind.node.ObjectNode
createState()
java.lang.String
getFacilityId()
java.lang.String
getLocale()
java.lang.String
getSerializedConfiguration()
java.lang.String
getType()
java.lang.String
getValue()
protected void
setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode main)
protected void
setSerializedConfiguration(java.lang.String json)
-
-
-
Constructor Detail
-
BaseEmailConfirmationState
public BaseEmailConfirmationState(java.lang.String facilityId, java.lang.String type, java.lang.String value, java.lang.String locale)
-
BaseEmailConfirmationState
public BaseEmailConfirmationState(java.lang.String serializedState) throws pl.edu.icm.unity.exceptions.WrongArgumentException
- Throws:
pl.edu.icm.unity.exceptions.WrongArgumentException
-
BaseEmailConfirmationState
protected BaseEmailConfirmationState()
-
-
Method Detail
-
getFacilityId
public java.lang.String getFacilityId()
-
getType
public java.lang.String getType()
-
getValue
public java.lang.String getValue()
-
getLocale
public java.lang.String getLocale()
-
getSerializedConfiguration
public java.lang.String getSerializedConfiguration() throws pl.edu.icm.unity.exceptions.InternalException
- Throws:
pl.edu.icm.unity.exceptions.InternalException
-
createState
protected com.fasterxml.jackson.databind.node.ObjectNode createState()
-
setSerializedConfiguration
protected void setSerializedConfiguration(java.lang.String json)
-
setSerializedConfiguration
protected void setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode main)
-
-