Class PrincipalTasks.PrincipalDetailsConverter
java.lang.Object
ch.tocco.nice2.userbase.impl.auth.PrincipalTasks.PrincipalDetailsConverter
- All Implemented Interfaces:
OptionalTask<Entity,
,PrincipalDetails> PersistTask<Entity,
PrincipalDetails>
- Enclosing class:
PrincipalTasks
public static class PrincipalTasks.PrincipalDetailsConverter
extends Object
implements OptionalTask<Entity,PrincipalDetails>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable DbPrincipalDetails
doRun
(Entity principal, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
PrincipalDetailsConverter
public PrincipalDetailsConverter(org.slf4j.Logger log)
-
-
Method Details
-
doRun
@Nullable public @Nullable DbPrincipalDetails doRun(Entity principal, CommandContext commandContext) throws Exception - Specified by:
doRun
in interfaceOptionalTask<Entity,
PrincipalDetails> - Throws:
Exception
-