T
- the model's typeS
- the type of the model's identifier (e.g., Long
,
String
, etc.)Actions
annotations
instead@Deprecated
@ProviderType
public interface CollectionRoutes<T,S>
CollectionRouter
.
This interface's methods return functions that get the collection resource's
different endpoints. You should always use a CollectionRoutes.Builder
to create
instances of this interface.
CollectionRoutes.Builder
Modifier and Type | Interface and Description |
---|---|
static interface |
CollectionRoutes.Builder<T,S>
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<BatchCreateItemFunction<S>> |
getBatchCreateItemFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<CreateItemFunction<T>> |
getCreateItemFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<java.util.Map<java.lang.String,CustomPageFunction<?>>> |
getCustomPageFunctionsOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Map<java.lang.String,CustomRoute> |
getCustomRoutes()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<Form> |
getFormOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<GetPageFunction<T>> |
getGetPageFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
@Deprecated java.util.Optional<BatchCreateItemFunction<S>> getBatchCreateItemFunctionOptional()
Actions
annotations
insteadOptional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<CreateItemFunction<T>> getCreateItemFunctionOptional()
Actions
annotations
insteadCollectionRoutes.Builder
and the
function therefore exists. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<java.util.Map<java.lang.String,CustomPageFunction<?>>> getCustomPageFunctionsOptional()
Actions
annotations
insteadCollectionRoutes.Builder
and the function
therefore exists. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Map<java.lang.String,CustomRoute> getCustomRoutes()
Actions
annotations
instead@Deprecated java.util.Optional<Form> getFormOptional()
Actions
annotations
insteadCollectionRoutes.Builder
. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<GetPageFunction<T>> getGetPageFunctionOptional()
Actions
annotations
insteadCollectionRoutes.Builder
and the function therefore
exists. Returns Optional#empty()
otherwise.Optional#empty()
otherwise