Package ch.tocco.nice2.userbase.api
Class GetSinglePrincipal
java.lang.Object
ch.tocco.nice2.userbase.api.GetSinglePrincipal
- All Implemented Interfaces:
OptionalTask<String,
,Entity> PersistTask<String,
Entity>
Returns either the entity of the principal with the given username or
null
. If
more than one principal is found, an IllegalStateException
is thrown.-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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