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
public class UserEmailConfirmationState extends BaseEmailConfirmationState
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 Modifier and Type Field Description protected long
ownerEntityId
-
Fields inherited from class pl.edu.icm.unity.engine.api.confirmation.states.BaseEmailConfirmationState
facilityId, locale, mapper, type, value
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UserEmailConfirmationState()
UserEmailConfirmationState(java.lang.String serializedState)
UserEmailConfirmationState(java.lang.String facilityId, java.lang.String type, java.lang.String value, java.lang.String locale, long ownerEntityId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.fasterxml.jackson.databind.node.ObjectNode
createState()
long
getOwnerEntityId()
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
-
-
-
-
Constructor Detail
-
UserEmailConfirmationState
public UserEmailConfirmationState(java.lang.String facilityId, java.lang.String type, java.lang.String value, java.lang.String locale, long ownerEntityId)
-
UserEmailConfirmationState
public UserEmailConfirmationState(java.lang.String serializedState) throws pl.edu.icm.unity.exceptions.WrongArgumentException
- Throws:
pl.edu.icm.unity.exceptions.WrongArgumentException
-
UserEmailConfirmationState
protected UserEmailConfirmationState()
-
-
Method Detail
-
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
-
-