Class UserEmailConfirmationState
java.lang.Object
pl.edu.icm.unity.engine.api.confirmation.states.BaseEmailConfirmationState
pl.edu.icm.unity.engine.api.confirmation.states.UserEmailConfirmationState
- Direct Known Subclasses:
EmailAttribiuteConfirmationState
,EmailIdentityConfirmationState
Base class for states of confirmation process which are bound to a user existing in the database (as opposite
to confirmations associated with a registration request).
- Author:
- K. Benedyczak
-
Field Summary
Fields inherited from class pl.edu.icm.unity.engine.api.confirmation.states.BaseEmailConfirmationState
facilityId, locale, mapper, type, value
-
Constructor Summary
ModifierConstructorDescriptionprotected
UserEmailConfirmationState
(String serializedState) UserEmailConfirmationState
(String facilityId, String type, String value, String locale, long ownerEntityId) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.databind.node.ObjectNode
long
void
setOwnerEntityId
(long ownerEntityId) protected void
setSerializedConfiguration
(com.fasterxml.jackson.databind.node.ObjectNode main) Methods inherited from class pl.edu.icm.unity.engine.api.confirmation.states.BaseEmailConfirmationState
getFacilityId, getLocale, getSerializedConfiguration, getType, getValue, setSerializedConfiguration
-
Field Details
-
ownerEntityId
protected long ownerEntityId
-
-
Constructor Details
-
UserEmailConfirmationState
-
UserEmailConfirmationState
public UserEmailConfirmationState(String serializedState) throws pl.edu.icm.unity.base.exceptions.WrongArgumentException - Throws:
pl.edu.icm.unity.base.exceptions.WrongArgumentException
-
UserEmailConfirmationState
protected UserEmailConfirmationState()
-
-
Method Details
-
getOwnerEntityId
public long getOwnerEntityId() -
setOwnerEntityId
public void setOwnerEntityId(long ownerEntityId) -
createState
protected com.fasterxml.jackson.databind.node.ObjectNode createState()- Overrides:
createState
in classBaseEmailConfirmationState
-
setSerializedConfiguration
protected void setSerializedConfiguration(com.fasterxml.jackson.databind.node.ObjectNode main) - Overrides:
setSerializedConfiguration
in classBaseEmailConfirmationState
-