public class SpecStatusAttributesByKeyFluentHelper extends FluentHelperByKey<SpecStatusAttributesByKeyFluentHelper,SpecStatusAttributes,SpecStatusAttributesSelectable>
SpecStatusAttributes
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 |
---|
SpecStatusAttributesByKeyFluentHelper(String servicePath,
String specificationHeaderStatus,
String specificationHdrStsAttribute)
Creates a fluent helper object that will fetch a single
SpecStatusAttributes entity with the provided key field values. |
Modifier and Type | Method and Description |
---|---|
protected Class<SpecStatusAttributes> |
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 SpecStatusAttributesByKeyFluentHelper(@Nonnull String servicePath, String specificationHeaderStatus, String specificationHdrStsAttribute)
SpecStatusAttributes
entity with the provided key field values. To perform execution, call the execute
method on the fluent helper object.servicePath
- Service path to be used to fetch a single SpecStatusAttributes
specificationHeaderStatus
- Indicates the current status of the document.
Constraints: Not nullable, Maximum length: 20
specificationHdrStsAttribute
- You can specify an own implementation class to trigger user-defined actions. The implementation class
must use the interface /PLMB/IF_BA_SAM_A_STATUS_CHG. The interface uses the method AFTER_STATUS_CHANGE
to implement the logic to trigger actions on a specified attribute.
Constraints: Not nullable, Maximum length: 20
@Nonnull protected Class<SpecStatusAttributes> getEntityClass()
FluentHelperBasic
getEntityClass
in class FluentHelperBasic<SpecStatusAttributesByKeyFluentHelper,SpecStatusAttributes,SpecStatusAttributes>
@Nonnull protected Map<String,Object> getKey()
FluentHelperByKey
getKey
in class FluentHelperByKey<SpecStatusAttributesByKeyFluentHelper,SpecStatusAttributes,SpecStatusAttributesSelectable>
Copyright © 2020 SAP SE. All rights reserved.