Package ch.tocco.nice2.businessunit.impl
Class BusinessUnitPrincipalQuery
java.lang.Object
ch.tocco.nice2.businessunit.impl.BusinessUnitPrincipalQuery
- All Implemented Interfaces:
PersistTask<String,
Query>
Returns a query that selects all business units that are associated to the
specified principal (the principal has at least one role in that business unit).
-
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.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
BusinessUnitPrincipalQuery
-
-
Method Details
-
run
public Query run(Optional<String> principal, CommandContext commandContext) throws InterruptedException - Specified by:
run
in interfacePersistTask<String,
Query> - Throws:
InterruptedException
-
toString
-