Uses of Interface
org.nuxeo.common.function.ThrowableSupplier
-
Packages that use ThrowableSupplier Package Description org.nuxeo.common.function org.nuxeo.runtime.api -
-
Uses of ThrowableSupplier in org.nuxeo.common.function
Methods in org.nuxeo.common.function that return ThrowableSupplier Modifier and Type Method Description static <E extends Throwable>
ThrowableSupplier<Void,E>ThrowableRunnable. asThrowableSupplier(ThrowableRunnable<E> throwableRunnable)default ThrowableSupplier<Void,E>ThrowableRunnable. toThrowableSupplier()Methods in org.nuxeo.common.function with parameters of type ThrowableSupplier Modifier and Type Method Description static <T,E extends Throwable>
Supplier<T>ThrowableSupplier. asSupplier(ThrowableSupplier<T,E> throwableSupplier) -
Uses of ThrowableSupplier in org.nuxeo.runtime.api
Methods in org.nuxeo.runtime.api with parameters of type ThrowableSupplier Modifier and Type Method Description static <T,E extends Throwable>
TFramework. doPrivilegedThrowing(ThrowableSupplier<T,E> supplier)Calls the givenThrowableSupplierwhile logged in as a system user and returns its result.protected static <T,E extends Throwable>
TFramework. loginAndDo(ThrowableSupplier<NuxeoLoginContext,LoginException> authSupplier, ThrowableSupplier<T,E> supplier)Logs in the Nuxeo platform using the givenauthSupplier, then gets the givensupplierbefore logging out.
-