Class DefaultPooledCapacityService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,PooledCapacityService
This service is based on OData V4 protocol and can be consumed in Fiori apps and on other user interfaces. It enables you to create, read and update pooled capacity. The service contains pooled capacity header, pooled capacity description, pooled capacity interval and pooled capacity shift details..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | WORKCENTERPOOLEDCAPACITY_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Production Planning Integration(SAP_COM_0104) |
| Scope Items: | Make-to-Stock Production - Discrete Manufacturing(BJ5), Make-to-Stock - Process Manufacturing Based on Process Order(BJ8), Material Requirements Planning(J44), Material Requirements Planning(O44) |
| Authentication Methods: | x509 |
| Service Group Name: | API_WRKCTRPOOLEDCAPACITY |
| Business Object: | Pooled Capacity |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PooledCapacityService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPooledCapacityService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theWorkCenterCapacityentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWorkCenterCapacityIntervalentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWorkCenterCapacityShiftentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theWorkCenterCapacityTextentity collection matching the filter and search expressions.createWorkCenterCapacity(WorkCenterCapacity workCenterCapacity) Deprecated.Create a newWorkCenterCapacityentity and save it to the S/4HANA system.createWorkCenterCapacityInterval(WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Create a newWorkCenterCapacityIntervalentity and save it to the S/4HANA system.deleteWorkCenterCapacityInterval(WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Deletes an existingWorkCenterCapacityIntervalentity in the S/4HANA system.deleteWorkCenterCapacityShift(WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Deletes an existingWorkCenterCapacityShiftentity in the S/4HANA system.Deprecated.Fetch multipleWorkCenterCapacityentities.Deprecated.Fetch multipleWorkCenterCapacityIntervalentities.Deprecated.Fetch multipleWorkCenterCapacityShiftentities.Deprecated.Fetch multipleWorkCenterCapacityTextentities.Deprecated.getWorkCenterCapacityByKey(String capacityInternalID) Deprecated.Fetch a singleWorkCenterCapacityentity using key fields.getWorkCenterCapacityIntervalByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate) Deprecated.Fetch a singleWorkCenterCapacityIntervalentity using key fields.getWorkCenterCapacityShiftByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate, String weekDay, String availableCapacityShift) Deprecated.Fetch a singleWorkCenterCapacityShiftentity using key fields.getWorkCenterCapacityTextByKey(String capacityInternalID, String language) Deprecated.Fetch a singleWorkCenterCapacityTextentity using key fields.updateWorkCenterCapacity(WorkCenterCapacity workCenterCapacity) Deprecated.Update an existingWorkCenterCapacityentity and save it to the S/4HANA system.updateWorkCenterCapacityInterval(WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Update an existingWorkCenterCapacityIntervalentity and save it to the S/4HANA system.updateWorkCenterCapacityShift(WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Update an existingWorkCenterCapacityShiftentity and save it to the S/4HANA system.updateWorkCenterCapacityText(WorkCenterCapacityText workCenterCapacityText) Deprecated.Update an existingWorkCenterCapacityTextentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultPooledCapacityService
public DefaultPooledCapacityService()Deprecated.Creates a service usingPooledCapacityService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PooledCapacityServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePooledCapacityService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:PooledCapacityServiceCreates a batch request builder object.- Specified by:
batchin interfacePooledCapacityService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllWorkCenterCapacity
Deprecated.Description copied from interface:PooledCapacityServiceFetch multipleWorkCenterCapacityentities.- Specified by:
getAllWorkCenterCapacityin interfacePooledCapacityService- Returns:
- A request builder to fetch multiple
WorkCenterCapacityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacity
Deprecated.Description copied from interface:PooledCapacityServiceFetch the number of entries from theWorkCenterCapacityentity collection matching the filter and search expressions.- Specified by:
countWorkCenterCapacityin interfacePooledCapacityService- Returns:
- A request builder to fetch the count of
WorkCenterCapacityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityByKey
@Nonnull public GetByKeyRequestBuilder<WorkCenterCapacity> getWorkCenterCapacityByKey(String capacityInternalID) Deprecated.Description copied from interface:PooledCapacityServiceFetch a singleWorkCenterCapacityentity using key fields.- Specified by:
getWorkCenterCapacityByKeyin interfacePooledCapacityService- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
WorkCenterCapacityentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createWorkCenterCapacity
@Nonnull public CreateRequestBuilder<WorkCenterCapacity> createWorkCenterCapacity(@Nonnull WorkCenterCapacity workCenterCapacity) Deprecated.Description copied from interface:PooledCapacityServiceCreate a newWorkCenterCapacityentity and save it to the S/4HANA system.- Specified by:
createWorkCenterCapacityin interfacePooledCapacityService- Parameters:
workCenterCapacity-WorkCenterCapacityentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WorkCenterCapacityentity. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacity
@Nonnull public UpdateRequestBuilder<WorkCenterCapacity> updateWorkCenterCapacity(@Nonnull WorkCenterCapacity workCenterCapacity) Deprecated.Description copied from interface:PooledCapacityServiceUpdate an existingWorkCenterCapacityentity and save it to the S/4HANA system.- Specified by:
updateWorkCenterCapacityin interfacePooledCapacityService- Parameters:
workCenterCapacity-WorkCenterCapacityentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWorkCenterCapacityInterval
Deprecated.Description copied from interface:PooledCapacityServiceFetch multipleWorkCenterCapacityIntervalentities.- Specified by:
getAllWorkCenterCapacityIntervalin interfacePooledCapacityService- Returns:
- A request builder to fetch multiple
WorkCenterCapacityIntervalentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacityInterval
Deprecated.Description copied from interface:PooledCapacityServiceFetch the number of entries from theWorkCenterCapacityIntervalentity collection matching the filter and search expressions.- Specified by:
countWorkCenterCapacityIntervalin interfacePooledCapacityService- Returns:
- A request builder to fetch the count of
WorkCenterCapacityIntervalentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityIntervalByKey
@Nonnull public GetByKeyRequestBuilder<WorkCenterCapacityInterval> getWorkCenterCapacityIntervalByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate) Deprecated.Description copied from interface:PooledCapacityServiceFetch a singleWorkCenterCapacityIntervalentity using key fields.- Specified by:
getWorkCenterCapacityIntervalByKeyin interfacePooledCapacityService- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
capacityActiveVersion-Constraints: Not nullable, Maximum length: 2
intervalEndDate-Constraints: Not nullable
- Returns:
- A request builder to fetch a single
WorkCenterCapacityIntervalentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createWorkCenterCapacityInterval
@Nonnull public CreateRequestBuilder<WorkCenterCapacityInterval> createWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Description copied from interface:PooledCapacityServiceCreate a newWorkCenterCapacityIntervalentity and save it to the S/4HANA system.- Specified by:
createWorkCenterCapacityIntervalin interfacePooledCapacityService- Parameters:
workCenterCapacityInterval-WorkCenterCapacityIntervalentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
WorkCenterCapacityIntervalentity. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacityInterval
@Nonnull public UpdateRequestBuilder<WorkCenterCapacityInterval> updateWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Description copied from interface:PooledCapacityServiceUpdate an existingWorkCenterCapacityIntervalentity and save it to the S/4HANA system.- Specified by:
updateWorkCenterCapacityIntervalin interfacePooledCapacityService- Parameters:
workCenterCapacityInterval-WorkCenterCapacityIntervalentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityIntervalentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteWorkCenterCapacityInterval
@Nonnull public DeleteRequestBuilder<WorkCenterCapacityInterval> deleteWorkCenterCapacityInterval(@Nonnull WorkCenterCapacityInterval workCenterCapacityInterval) Deprecated.Description copied from interface:PooledCapacityServiceDeletes an existingWorkCenterCapacityIntervalentity in the S/4HANA system.- Specified by:
deleteWorkCenterCapacityIntervalin interfacePooledCapacityService- Parameters:
workCenterCapacityInterval-WorkCenterCapacityIntervalentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
WorkCenterCapacityIntervalentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWorkCenterCapacityShift
Deprecated.Description copied from interface:PooledCapacityServiceFetch multipleWorkCenterCapacityShiftentities.- Specified by:
getAllWorkCenterCapacityShiftin interfacePooledCapacityService- Returns:
- A request builder to fetch multiple
WorkCenterCapacityShiftentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacityShift
Deprecated.Description copied from interface:PooledCapacityServiceFetch the number of entries from theWorkCenterCapacityShiftentity collection matching the filter and search expressions.- Specified by:
countWorkCenterCapacityShiftin interfacePooledCapacityService- Returns:
- A request builder to fetch the count of
WorkCenterCapacityShiftentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityShiftByKey
@Nonnull public GetByKeyRequestBuilder<WorkCenterCapacityShift> getWorkCenterCapacityShiftByKey(String capacityInternalID, String capacityActiveVersion, LocalDate intervalEndDate, String weekDay, String availableCapacityShift) Deprecated.Description copied from interface:PooledCapacityServiceFetch a singleWorkCenterCapacityShiftentity using key fields.- Specified by:
getWorkCenterCapacityShiftByKeyin interfacePooledCapacityService- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
capacityActiveVersion-Constraints: Not nullable, Maximum length: 2
intervalEndDate- Valid-to dateConstraints: Not nullable
weekDay- Week DayConstraints: Not nullable, Maximum length: 1
availableCapacityShift- Shift Number of an Available CapacityConstraints: Not nullable, Maximum length: 1
- Returns:
- A request builder to fetch a single
WorkCenterCapacityShiftentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacityShift
@Nonnull public UpdateRequestBuilder<WorkCenterCapacityShift> updateWorkCenterCapacityShift(@Nonnull WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Description copied from interface:PooledCapacityServiceUpdate an existingWorkCenterCapacityShiftentity and save it to the S/4HANA system.- Specified by:
updateWorkCenterCapacityShiftin interfacePooledCapacityService- Parameters:
workCenterCapacityShift-WorkCenterCapacityShiftentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityShiftentity. To perform execution, call theexecutemethod on the request builder object.
-
deleteWorkCenterCapacityShift
@Nonnull public DeleteRequestBuilder<WorkCenterCapacityShift> deleteWorkCenterCapacityShift(@Nonnull WorkCenterCapacityShift workCenterCapacityShift) Deprecated.Description copied from interface:PooledCapacityServiceDeletes an existingWorkCenterCapacityShiftentity in the S/4HANA system.- Specified by:
deleteWorkCenterCapacityShiftin interfacePooledCapacityService- Parameters:
workCenterCapacityShift-WorkCenterCapacityShiftentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
WorkCenterCapacityShiftentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllWorkCenterCapacityText
Deprecated.Description copied from interface:PooledCapacityServiceFetch multipleWorkCenterCapacityTextentities.- Specified by:
getAllWorkCenterCapacityTextin interfacePooledCapacityService- Returns:
- A request builder to fetch multiple
WorkCenterCapacityTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countWorkCenterCapacityText
Deprecated.Description copied from interface:PooledCapacityServiceFetch the number of entries from theWorkCenterCapacityTextentity collection matching the filter and search expressions.- Specified by:
countWorkCenterCapacityTextin interfacePooledCapacityService- Returns:
- A request builder to fetch the count of
WorkCenterCapacityTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getWorkCenterCapacityTextByKey
@Nonnull public GetByKeyRequestBuilder<WorkCenterCapacityText> getWorkCenterCapacityTextByKey(String capacityInternalID, String language) Deprecated.Description copied from interface:PooledCapacityServiceFetch a singleWorkCenterCapacityTextentity using key fields.- Specified by:
getWorkCenterCapacityTextByKeyin interfacePooledCapacityService- Parameters:
capacityInternalID- Capacity IDConstraints: Not nullable, Maximum length: 8
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
WorkCenterCapacityTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updateWorkCenterCapacityText
@Nonnull public UpdateRequestBuilder<WorkCenterCapacityText> updateWorkCenterCapacityText(@Nonnull WorkCenterCapacityText workCenterCapacityText) Deprecated.Description copied from interface:PooledCapacityServiceUpdate an existingWorkCenterCapacityTextentity and save it to the S/4HANA system.- Specified by:
updateWorkCenterCapacityTextin interfacePooledCapacityService- Parameters:
workCenterCapacityText-WorkCenterCapacityTextentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
WorkCenterCapacityTextentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-