public class IdentityTokenUpdate extends Object
Modifier | Constructor and Description |
---|---|
protected |
IdentityTokenUpdate() |
Modifier and Type | Method and Description |
---|---|
Optional<Vorgang> |
getFailedFormRecord() |
Optional<EIdentityTokenFailure> |
getUpdateFailed() |
List<Map.Entry<String,List<Vorgang>>> |
getViolations() |
static IdentityTokenUpdate |
perform(IEntityContext ec,
Projekt project)
Updates the identity token of all form records for the given project with the current identity token template of
that project.
|
public Optional<EIdentityTokenFailure> getUpdateFailed()
public List<Map.Entry<String,List<Vorgang>>> getViolations()
public Optional<Vorgang> getFailedFormRecord()
EIdentityTokenFailure.GENERATE_MAX_LENGTH_EXCEEDED
or
EIdentityTokenFailure.UPDATE_NOT_UNIQUE
, one form record that caused the failure.public static IdentityTokenUpdate perform(IEntityContext ec, Projekt project)
ec
- Entity context for accessing the database.project
- The project with the form records to update.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.