Uses of Interface
org.nuxeo.common.function.ThrowableSupplier
Packages that use ThrowableSupplier
-
Uses of ThrowableSupplier in org.nuxeo.common.function
Methods in org.nuxeo.common.function that return ThrowableSupplierModifier and TypeMethodDescriptionstatic <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 ThrowableSupplierModifier and TypeMethodDescriptionThrowableSupplier.asSupplier(ThrowableSupplier<T, E> throwableSupplier) -
Uses of ThrowableSupplier in org.nuxeo.runtime.api
Methods in org.nuxeo.runtime.api with parameters of type ThrowableSupplierModifier and TypeMethodDescriptionstatic <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.