public class DocumentInfoRecordByKeyFluentHelper extends FluentHelperByKey<DocumentInfoRecordByKeyFluentHelper,DocumentInfoRecord,DocumentInfoRecordSelectable>
DocumentInfoRecord
entity using key fields. This fluent helper allows methods which modify the underlying query to be called before
executing the query itself.Constructor and Description |
---|
DocumentInfoRecordByKeyFluentHelper(String servicePath,
String documentInfoRecordDocType,
String documentInfoRecordDocVersion,
String documentInfoRecordDocNumber,
String documentInfoRecordDocPart)
Creates a fluent helper object that will fetch a single
DocumentInfoRecord entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<DocumentInfoRecord> |
getEntityClass()
Returns a class object of the type this fluent helper works with.
|
protected Map<String,Object> |
getKey()
Getter for a map containing the OData name of key properties, each mapped to the value to search by.
|
execute, getQueryBuilder, select, toQuery, withErrorHandler, withQueryParameter
cachingMetadata, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getParametersForRequestOnly, getServicePath, getThis, getVersionIdentifier, isCachingMetadata, withHeader, withHeaders, withoutCachingMetadata
public DocumentInfoRecordByKeyFluentHelper(@Nonnull String servicePath, String documentInfoRecordDocType, String documentInfoRecordDocVersion, String documentInfoRecordDocNumber, String documentInfoRecordDocPart)
DocumentInfoRecord
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.documentInfoRecordDocType
- Part of the document key, which categorizes documents according to their distinguishing features and
the organizational procedures which result from them.
Constraints: Not nullable, Maximum length: 3
documentInfoRecordDocNumber
- This number is the main part of the document key, which is used to identify the document.
Constraints: Not nullable, Maximum length: 25
documentInfoRecordDocPart
- Section of a document which is maintained as an independent document.
Constraints: Not nullable, Maximum length: 3
servicePath
- Service path to be used to fetch a single DocumentInfoRecord
documentInfoRecordDocVersion
- Number which identifies the version of a document.
Constraints: Not nullable, Maximum length: 2
@Nonnull protected Class<DocumentInfoRecord> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<DocumentInfoRecordByKeyFluentHelper,DocumentInfoRecord,DocumentInfoRecord>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<DocumentInfoRecordByKeyFluentHelper,DocumentInfoRecord,DocumentInfoRecordSelectable>
Copyright © 2019 SAP SE. All rights reserved.