public class DocumentInfoRecordClassByKeyFluentHelper extends FluentHelperByKey<DocumentInfoRecordClassByKeyFluentHelper,DocumentInfoRecordClass,DocumentInfoRecordClassSelectable>
DocumentInfoRecordClass
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 |
---|
DocumentInfoRecordClassByKeyFluentHelper(String servicePath,
String documentInfoRecordDocType,
String documentInfoRecordDocNumber,
String documentInfoRecordDocVersion,
String documentInfoRecordDocPart,
String classInternalID)
Creates a fluent helper object that will fetch a single
DocumentInfoRecordClass entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<DocumentInfoRecordClass> |
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
asResilientCommand, asResilientCommand, execute, getHeadersForRequestAndImplicitRequests, getHeadersForRequestOnly, getServicePath, getThis, getVersionIdentifier, withCustomHttpHeader, withCustomHttpHeaders
public DocumentInfoRecordClassByKeyFluentHelper(@Nonnull String servicePath, String documentInfoRecordDocType, String documentInfoRecordDocNumber, String documentInfoRecordDocVersion, String documentInfoRecordDocPart, String classInternalID)
DocumentInfoRecordClass
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
classInternalID
- Internal Class NumberConstraints: Not nullable, Maximum length: 10
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 DocumentInfoRecordClass
documentInfoRecordDocVersion
- Number which identifies the version of a document.Constraints: Not nullable, Maximum length: 2
@Nonnull protected Class<DocumentInfoRecordClass> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<DocumentInfoRecordClassByKeyFluentHelper,DocumentInfoRecordClass,DocumentInfoRecordClass>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<DocumentInfoRecordClassByKeyFluentHelper,DocumentInfoRecordClass,DocumentInfoRecordClassSelectable>
Copyright © 2018 SAP SE. All rights reserved.