Package ch.tocco.nice2.businessunit.impl
Class ListUnitRoleQuery
java.lang.Object
ch.tocco.nice2.businessunit.impl.ListUnitRoleQuery
- All Implemented Interfaces:
PersistTask<Tuple2<Principal,
String>, Query>
public class ListUnitRoleQuery
extends Object
implements PersistTask<Tuple2<Principal,String>,Query>
Returns all business units that the principal is associated to by the
specified role.
-
Field Summary
-
Constructor Summary
-
Method Summary
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.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Field Details
-
instance
-
-
Constructor Details
-
ListUnitRoleQuery
public ListUnitRoleQuery()
-
-
Method Details
-
run
public Query run(Optional<Tuple2<Principal, String>> a, CommandContext commandContext) throws InterruptedException- Specified by:
run
in interfacePersistTask<Tuple2<Principal,
String>, Query> - Throws:
InterruptedException
-