T
- the model's typeS
- the type of the model's identifier (e.g., Long
,
String
, etc.)U
- the type of the parent model's identifier (e.g., Long
, String
, etc.)Actions
annotations
instead@Deprecated
@ProviderType
public interface NestedCollectionRoutes<T,S,U>
NestedCollectionRouter
.
This interface's methods return functions to get the collection resource's
different endpoints. You should always use a NestedCollectionRoutes.Builder
to create
instances of this interface.
NestedCollectionRoutes.Builder
Modifier and Type | Interface and Description |
---|---|
static interface |
NestedCollectionRoutes.Builder<T,S,U>
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<Form> |
getFormOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<NestedBatchCreateItemFunction<S,U>> |
getNestedBatchCreateItemFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<NestedCreateItemFunction<T,U>> |
getNestedCreateItemFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<NestedGetPageFunction<T,U>> |
getNestedGetPageFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
@Deprecated java.util.Optional<Form> getFormOptional()
Actions
annotations
insteadNestedCollectionRoutes.Builder
. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<NestedBatchCreateItemFunction<S,U>> getNestedBatchCreateItemFunctionOptional()
Actions
annotations
insteadOptional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<NestedCreateItemFunction<T,U>> getNestedCreateItemFunctionOptional()
Actions
annotations
insteadNestedCollectionRoutes.Builder
and
the function therefore exists. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<NestedGetPageFunction<T,U>> getNestedGetPageFunctionOptional()
Actions
annotations
insteadNestedCollectionRoutes.Builder
and the function
therefore exists. Returns Optional#empty()
otherwise.Optional#empty()
otherwise