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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BaseEmailConfirmationState()
BaseEmailConfirmationState(String serializedState)
BaseEmailConfirmationState(String facilityId, String type, String value, String locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.fasterxml.jackson.databind.node.ObjectNode
createState()
String
getFacilityId()
String
getLocale()
String
getSerializedConfiguration()
String
getType()
String
getValue()
protected void
setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode main)
protected void
setSerializedConfiguration(String json)
-
-
-
Constructor Detail
-
BaseEmailConfirmationState
public BaseEmailConfirmationState(String facilityId, String type, String value, String locale)
-
BaseEmailConfirmationState
public BaseEmailConfirmationState(String serializedState) throws WrongArgumentException
- Throws:
WrongArgumentException
-
BaseEmailConfirmationState
protected BaseEmailConfirmationState()
-
-
Method Detail
-
getFacilityId
public String getFacilityId()
-
getType
public String getType()
-
getValue
public String getValue()
-
getLocale
public String getLocale()
-
getSerializedConfiguration
public String getSerializedConfiguration() throws InternalException
- Throws:
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)
-
-