T
- the model's typeS
- the type of the model's identifier (e.g., Long
,
String
, etc.)Actions
annotations
instead@Deprecated
@ProviderType
public static interface ItemRoutes.Builder<T,S>
ItemRoutes
of an ItemRouter
.Modifier and Type | Method and Description |
---|---|
default <R,U,I extends Identifier<?>> |
addCustomRoute(CustomRoute customRoute,
ThrowableBiFunction<S,R,U> throwableBiFunction,
java.lang.Class<I> identifierClass,
java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Action
annotation instead |
<A,B,C,D,R,U,I extends Identifier<?>> |
addCustomRoute(CustomRoute customRoute,
ThrowableHexaFunction<S,R,A,B,C,D,U> throwableHexaFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
java.lang.Class<D> dClass,
java.lang.Class<I> identifierClass,
java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Action
annotation instead |
default <A,B,C,R,U,I extends Identifier<?>> |
addCustomRoute(CustomRoute customRoute,
ThrowablePentaFunction<S,R,A,B,C,U> throwablePentaFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
java.lang.Class<I> identifierClass,
java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Action
annotation instead |
default <A,B,R,U,I extends Identifier<?>> |
addCustomRoute(CustomRoute customRoute,
ThrowableTetraFunction<S,R,A,B,U> throwableTetraFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<I> identifierClass,
java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Action
annotation instead |
default <A,R,U,I extends Identifier<?>> |
addCustomRoute(CustomRoute customRoute,
ThrowableTriFunction<S,R,A,U> throwableTriFunction,
java.lang.Class<A> aClass,
java.lang.Class<I> identifierClass,
java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Action
annotation instead |
default <A> ItemRoutes.Builder<T,S> |
addGetter(ThrowableBiFunction<S,A,T> getterThrowableBiFunction,
java.lang.Class<A> aClass)
Deprecated.
As of 1.9.0, use
Actions.Retrieve
annotation instead |
default ItemRoutes.Builder<T,S> |
addGetter(ThrowableFunction<S,T> getterThrowableFunction)
Deprecated.
As of 1.9.0, use
Actions.Retrieve
annotation instead |
<A,B,C,D> ItemRoutes.Builder<T,S> |
addGetter(ThrowablePentaFunction<S,A,B,C,D,T> getterThrowablePentaFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
java.lang.Class<D> dClass)
Deprecated.
As of 1.9.0, use
Actions.Retrieve
annotation instead |
default <A,B,C> ItemRoutes.Builder<T,S> |
addGetter(ThrowableTetraFunction<S,A,B,C,T> getterThrowableTetraFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass)
Deprecated.
As of 1.9.0, use
Actions.Retrieve
annotation instead |
default <A,B> ItemRoutes.Builder<T,S> |
addGetter(ThrowableTriFunction<S,A,B,T> getterThrowableTriFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass)
Deprecated.
As of 1.9.0, use
Actions.Retrieve
annotation instead |
default <A> ItemRoutes.Builder<T,S> |
addRemover(ThrowableBiConsumer<S,A> removerThrowableBiConsumer,
java.lang.Class<A> aClass,
HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Deprecated.
As of 1.9.0, use
Actions.Remove
annotation instead |
default ItemRoutes.Builder<T,S> |
addRemover(ThrowableConsumer<S> removerThrowableConsumer,
HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Deprecated.
As of 1.9.0, use
Actions.Remove
annotation instead |
<A,B,C,D> ItemRoutes.Builder<T,S> |
addRemover(ThrowablePentaConsumer<S,A,B,C,D> removerThrowablePentaConsumer,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
java.lang.Class<D> dClass,
HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Deprecated.
As of 1.9.0, use
Actions.Remove
annotation instead |
default <A,B,C> ItemRoutes.Builder<T,S> |
addRemover(ThrowableTetraConsumer<S,A,B,C> removerThrowableTetraConsumer,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Deprecated.
As of 1.9.0, use
Actions.Remove
annotation instead |
default <A,B> ItemRoutes.Builder<T,S> |
addRemover(ThrowableTriConsumer<S,A,B> removerThrowableTriConsumer,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Deprecated.
As of 1.9.0, use
Actions.Remove
annotation instead |
default <R> ItemRoutes.Builder<T,S> |
addUpdater(ThrowableBiFunction<S,R,T> updaterThrowableBiFunction,
HasUpdatePermissionFunction<S> hasUpdatePermissionFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Replace
annotation instead |
<A,B,C,D,R> |
addUpdater(ThrowableHexaFunction<S,R,A,B,C,D,T> updaterThrowableHexaFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
java.lang.Class<D> dClass,
HasUpdatePermissionFunction<S> hasUpdatePermissionFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Replace
annotation instead |
default <A,B,C,R> ItemRoutes.Builder<T,S> |
addUpdater(ThrowablePentaFunction<S,R,A,B,C,T> updaterThrowablePentaFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
java.lang.Class<C> cClass,
HasUpdatePermissionFunction<S> hasUpdatePermissionFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Replace
annotation instead |
default <A,B,R> ItemRoutes.Builder<T,S> |
addUpdater(ThrowableTetraFunction<S,R,A,B,T> updaterThrowableTetraFunction,
java.lang.Class<A> aClass,
java.lang.Class<B> bClass,
HasUpdatePermissionFunction<S> hasUpdatePermissionFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Replace
annotation instead |
default <A,R> ItemRoutes.Builder<T,S> |
addUpdater(ThrowableTriFunction<S,R,A,T> updaterThrowableTriFunction,
java.lang.Class<A> aClass,
HasUpdatePermissionFunction<S> hasUpdatePermissionFunction,
FormBuilderFunction<R> formBuilderFunction)
Deprecated.
As of 1.9.0, use
Actions.Replace
annotation instead |
ItemRoutes<T,S> |
build()
Deprecated.
As of 1.9.0, use
Actions
annotations instead |
@Deprecated default <R,U,I extends Identifier<?>> ItemRoutes.Builder<T,S> addCustomRoute(CustomRoute customRoute, ThrowableBiFunction<S,R,U> throwableBiFunction, java.lang.Class<I> identifierClass, java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Action
annotation insteadCustomRoute
via the CustomRoute
object (that
sets the HTTP method to use) and the custom route function throwableBiFunction
.customRoute
- the name and method of the custom routethrowableBiFunction
- the custom route functionidentifierClass
- the class of the identifier of the type RpermissionBiFunction
- the permission function for this
routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated <A,B,C,D,R,U,I extends Identifier<?>> ItemRoutes.Builder<T,S> addCustomRoute(CustomRoute customRoute, ThrowableHexaFunction<S,R,A,B,C,D,U> throwableHexaFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, java.lang.Class<D> dClass, java.lang.Class<I> identifierClass, java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Action
annotation insteadCustomRoute
via the CustomRoute
object (that
sets the HTTP method to use) and the custom route function throwableHexaFunction
.customRoute
- the name and method of the custom routethrowableHexaFunction
- the custom route functionaClass
- the class of the page function's second parameterbClass
- the class of the item function's third parametercClass
- the class of the item function's fourth parameterdClass
- the class of the item function's fifth parameteridentifierClass
- the class of the identifier of the type RpermissionBiFunction
- the permission function for this
routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A,B,C,R,U,I extends Identifier<?>> ItemRoutes.Builder<T,S> addCustomRoute(CustomRoute customRoute, ThrowablePentaFunction<S,R,A,B,C,U> throwablePentaFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, java.lang.Class<I> identifierClass, java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Action
annotation insteadCustomRoute
via the CustomRoute
object (that
sets the HTTP method to use) and the custom route function throwablePentaFunction
.customRoute
- the name and method of the custom routethrowablePentaFunction
- the custom route functionaClass
- the class of the page function's second parameterbClass
- the class of the item function's third parametercClass
- the class of the item function's fourth parameteridentifierClass
- the class of the identifier of the type RpermissionBiFunction
- the permission function for this
routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A,B,R,U,I extends Identifier<?>> ItemRoutes.Builder<T,S> addCustomRoute(CustomRoute customRoute, ThrowableTetraFunction<S,R,A,B,U> throwableTetraFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<I> identifierClass, java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Action
annotation insteadCustomRoute
via the CustomRoute
object (that
sets the HTTP method to use) and the custom route function throwableTetraFunction
.customRoute
- the name and method of the custom routethrowableTetraFunction
- the custom route functionaClass
- the class of the page function's second parameterbClass
- the class of the item function's third parameteridentifierClass
- the class of the identifier of the type RpermissionBiFunction
- the permission function for this
routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A,R,U,I extends Identifier<?>> ItemRoutes.Builder<T,S> addCustomRoute(CustomRoute customRoute, ThrowableTriFunction<S,R,A,U> throwableTriFunction, java.lang.Class<A> aClass, java.lang.Class<I> identifierClass, java.util.function.BiFunction<Credentials,S,java.lang.Boolean> permissionBiFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Action
annotation insteadCustomRoute
via the CustomRoute
object (that
sets the HTTP method to use) and the custom route function throwableTriFunction
.customRoute
- the name and method of the custom routethrowableTriFunction
- the custom route functionaClass
- the class of the page function's second parameteridentifierClass
- the class of the identifier of the type RpermissionBiFunction
- the permission function for this
routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A> ItemRoutes.Builder<T,S> addGetter(ThrowableBiFunction<S,A,T> getterThrowableBiFunction, java.lang.Class<A> aClass)
Actions.Retrieve
annotation insteadgetterThrowableBiFunction
- the function that calculates
the itemaClass
- the class of the item function's second parameter@Deprecated default ItemRoutes.Builder<T,S> addGetter(ThrowableFunction<S,T> getterThrowableFunction)
Actions.Retrieve
annotation insteadgetterThrowableFunction
- the function that calculates the
item@Deprecated <A,B,C,D> ItemRoutes.Builder<T,S> addGetter(ThrowablePentaFunction<S,A,B,C,D,T> getterThrowablePentaFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, java.lang.Class<D> dClass)
Actions.Retrieve
annotation insteadgetterThrowablePentaFunction
- the function that calculates
the itemaClass
- the class of the item function's second parameterbClass
- the class of the item function's third parametercClass
- the class of the item function's fourth parameterdClass
- the class of the item function's fifth parameter@Deprecated default <A,B,C> ItemRoutes.Builder<T,S> addGetter(ThrowableTetraFunction<S,A,B,C,T> getterThrowableTetraFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass)
Actions.Retrieve
annotation insteadgetterThrowableTetraFunction
- the function that calculates
the itemaClass
- the class of the item function's second parameterbClass
- the class of the item function's third parametercClass
- the class of the item function's fourth parameter@Deprecated default <A,B> ItemRoutes.Builder<T,S> addGetter(ThrowableTriFunction<S,A,B,T> getterThrowableTriFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass)
Actions.Retrieve
annotation insteadgetterThrowableTriFunction
- the function that calculates
the itemaClass
- the class of the item function's second parameterbClass
- the class of the item function's third parameter@Deprecated default <A> ItemRoutes.Builder<T,S> addRemover(ThrowableBiConsumer<S,A> removerThrowableBiConsumer, java.lang.Class<A> aClass, HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Actions.Remove
annotation insteadremoverThrowableBiConsumer
- the remover functionaClass
- the class of the item remover function's second
parameterhasRemovePermissionFunction
- the permission function for
this route@Deprecated default ItemRoutes.Builder<T,S> addRemover(ThrowableConsumer<S> removerThrowableConsumer, HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Actions.Remove
annotation insteadremoverThrowableConsumer
- the remover functionhasRemovePermissionFunction
- the permission function for
this route@Deprecated <A,B,C,D> ItemRoutes.Builder<T,S> addRemover(ThrowablePentaConsumer<S,A,B,C,D> removerThrowablePentaConsumer, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, java.lang.Class<D> dClass, HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Actions.Remove
annotation insteadremoverThrowablePentaConsumer
- the remover functionaClass
- the class of the item remover function's second
parameterbClass
- the class of the item remover function's third
parametercClass
- the class of the item remover function's fourth
parameterdClass
- the class of the item remover function's fifth
parameterhasRemovePermissionFunction
- the permission function for
this route@Deprecated default <A,B,C> ItemRoutes.Builder<T,S> addRemover(ThrowableTetraConsumer<S,A,B,C> removerThrowableTetraConsumer, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Actions.Remove
annotation insteadremoverThrowableTetraConsumer
- the remover functionaClass
- the class of the item remover function's second
parameterbClass
- the class of the item remover function's third
parametercClass
- the class of the item remover function's fourth
parameterhasRemovePermissionFunction
- the permission function for
this route@Deprecated default <A,B> ItemRoutes.Builder<T,S> addRemover(ThrowableTriConsumer<S,A,B> removerThrowableTriConsumer, java.lang.Class<A> aClass, java.lang.Class<B> bClass, HasRemovePermissionFunction<S> hasRemovePermissionFunction)
Actions.Remove
annotation insteadremoverThrowableTriConsumer
- the remover functionaClass
- the class of the item remover function's second
parameterbClass
- the class of the item remover function's third
parameterhasRemovePermissionFunction
- the permission function for
this route@Deprecated default <R> ItemRoutes.Builder<T,S> addUpdater(ThrowableBiFunction<S,R,T> updaterThrowableBiFunction, HasUpdatePermissionFunction<S> hasUpdatePermissionFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Replace
annotation insteadupdaterThrowableBiFunction
- the updater functionhasUpdatePermissionFunction
- the permission function for
this routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated <A,B,C,D,R> ItemRoutes.Builder<T,S> addUpdater(ThrowableHexaFunction<S,R,A,B,C,D,T> updaterThrowableHexaFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, java.lang.Class<D> dClass, HasUpdatePermissionFunction<S> hasUpdatePermissionFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Replace
annotation insteadupdaterThrowableHexaFunction
- the updater functionaClass
- the class of the updater function's third
parameterbClass
- the class of the updater function's fourth
parametercClass
- the class of the updater function's fifth
parameterdClass
- the class of the updater function's sixth
parameterhasUpdatePermissionFunction
- the permission function for
this routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A,B,C,R> ItemRoutes.Builder<T,S> addUpdater(ThrowablePentaFunction<S,R,A,B,C,T> updaterThrowablePentaFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, java.lang.Class<C> cClass, HasUpdatePermissionFunction<S> hasUpdatePermissionFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Replace
annotation insteadupdaterThrowablePentaFunction
- the updater function that
removes the itemaClass
- the class of the updater function's third
parameterbClass
- the class of the updater function's fourth
parametercClass
- the class of the updater function's fifth
parameterhasUpdatePermissionFunction
- the permission function for
this routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A,B,R> ItemRoutes.Builder<T,S> addUpdater(ThrowableTetraFunction<S,R,A,B,T> updaterThrowableTetraFunction, java.lang.Class<A> aClass, java.lang.Class<B> bClass, HasUpdatePermissionFunction<S> hasUpdatePermissionFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Replace
annotation insteadupdaterThrowableTetraFunction
- the updater functionaClass
- the class of the updater function's third
parameterbClass
- the class of the updater function's fourth
parameterhasUpdatePermissionFunction
- the permission function for
this routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated default <A,R> ItemRoutes.Builder<T,S> addUpdater(ThrowableTriFunction<S,R,A,T> updaterThrowableTriFunction, java.lang.Class<A> aClass, HasUpdatePermissionFunction<S> hasUpdatePermissionFunction, FormBuilderFunction<R> formBuilderFunction)
Actions.Replace
annotation insteadupdaterThrowableTriFunction
- the updater function that
removes the itemaClass
- the class of the updater function's third
parameterhasUpdatePermissionFunction
- the permission function for
this routeformBuilderFunction
- the function that creates the form
for this operation@Deprecated ItemRoutes<T,S> build()
Actions
annotations insteadItemRoutes
instance with the information
provided to the builder.Routes
instance