public interface EmailConfirmationManager
| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIRMATION_TOKEN_TYPE |
| Modifier and Type | Method and Description |
|---|---|
Optional<pl.edu.icm.unity.types.confirmation.EmailConfirmationConfiguration> |
getConfirmationConfigurationForAttribute(String attributeName) |
WorkflowFinalizationConfiguration |
processConfirmation(String tokenValue)
Process confirmation based on token.
|
void |
sendConfirmationRequest(BaseEmailConfirmationState state)
Send confirmation request to the user with confirmation state.
|
<T> void |
sendVerification(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Attribute attribute)
Sends confirmation messages for the values of an attribute which are verifiable,
only for unconfirmed attributes ones.
|
void |
sendVerification(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Identity identity)
see
#sendVerificationNoTx(EntityParam, Identity), the only difference is that this
method starts its own transaction |
void |
sendVerificationNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Identity identity,
boolean force)
see
#sendVerificationQuiet(EntityParam, Identity), the only difference is that this
method throws exception. |
<T> void |
sendVerificationQuietNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Attribute attribute,
boolean force)
Sends confirmation messages for the values of an attribute which are verifiable,
only for unconfirmed attributes for which a confirmation was not yet sent.
|
void |
sendVerificationQuietNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Identity identity,
boolean force)
Sends confirmation messages for the identity if it requires so.
|
void |
sendVerificationsQuietNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
Collection<? extends pl.edu.icm.unity.types.basic.Attribute> attributes,
boolean force)
Sends confirmation messages for the values which requires so.
|
static final String CONFIRMATION_TOKEN_TYPE
void sendConfirmationRequest(BaseEmailConfirmationState state) throws pl.edu.icm.unity.exceptions.EngineException
state - pl.edu.icm.unity.exceptions.EngineExceptionWorkflowFinalizationConfiguration processConfirmation(String tokenValue) throws pl.edu.icm.unity.exceptions.EngineException
tokenValue - pl.edu.icm.unity.exceptions.EngineException<T> void sendVerificationQuietNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Attribute attribute,
boolean force)
WARNING: this method requires to set up existing transaction
entity - attribute - force - if true then request is sent even if one was already sent previously<T> void sendVerification(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Attribute attribute)
throws pl.edu.icm.unity.exceptions.EngineException
entity - attribute - pl.edu.icm.unity.exceptions.EngineExceptionvoid sendVerificationQuietNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Identity identity,
boolean force)
WARNING: this method requires to set up existing transaction
entity - identity - force - if true then request is sent even if one was already sent previouslyvoid sendVerificationNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Identity identity,
boolean force)
throws pl.edu.icm.unity.exceptions.EngineException
#sendVerificationQuiet(EntityParam, Identity), the only difference is that this
method throws exception.
WARNING: this method requires to set up existing transaction
entity - identity - force - if true then request is sent even if one was already sent previouslypl.edu.icm.unity.exceptions.EngineExceptionvoid sendVerification(pl.edu.icm.unity.types.basic.EntityParam entity,
pl.edu.icm.unity.types.basic.Identity identity)
throws pl.edu.icm.unity.exceptions.EngineException
#sendVerificationNoTx(EntityParam, Identity), the only difference is that this
method starts its own transactionentity - identity - force - if true then request is sent even if one was already sent previouslypl.edu.icm.unity.exceptions.EngineExceptionvoid sendVerificationsQuietNoTx(pl.edu.icm.unity.types.basic.EntityParam entity,
Collection<? extends pl.edu.icm.unity.types.basic.Attribute> attributes,
boolean force)
WARNING: this method requires to set up existing transaction
entity - attribute - force - if true then request is sent even if one was already sent previouslyCopyright © 2018 Unity. All rights reserved.