public class SegmentByKeyFluentHelper extends FluentHelperByKey<SegmentByKeyFluentHelper,Segment,SegmentSelectable>
Segment
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself.csrfTokenRetriever, entityCollection
Constructor and Description |
---|
SegmentByKeyFluentHelper(String servicePath,
String entityCollection,
String segment)
Creates a fluent helper object that will fetch a single
Segment entity with the provided key
field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<Segment> |
getEntityClass() |
protected Map<String,Object> |
getKey() |
executeRequest, select, toRequest, withCsrfToken, withQueryParameter
getCsrfTokenRetriever, getHeaders, getParametersForRequestOnly, getServicePath, getThis, withHeader, withHeaders
public SegmentByKeyFluentHelper(@Nonnull String servicePath, @Nonnull String entityCollection, String segment)
Segment
entity with the provided key
field values. To perform execution, call the executeRequest
method on the fluent helper
object.entityCollection
- Entity Collection to be used to fetch a single Segment
servicePath
- Service path to be used to fetch a single Segment
segment
- Segment for Segmental Reporting
Constraints: Not nullable, Maximum length: 10
@Nonnull protected Class<Segment> getEntityClass()
getEntityClass
in class FluentHelperBasic<SegmentByKeyFluentHelper,Segment,Segment>
@Nonnull protected Map<String,Object> getKey()
getKey
in class FluentHelperByKey<SegmentByKeyFluentHelper,Segment,SegmentSelectable>
Copyright © 2022 SAP SE. All rights reserved.