All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedOrderService Maven / Gradle / Ivy

/*
 * Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
 */

package com.sap.cloud.sdk.s4hana.datamodel.odata.services;

import javax.annotation.Nonnull;
import javax.inject.Named;

import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrder;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderCapacityByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderCapacityFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderComponent;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderComponentByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderComponentCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderComponentDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderComponentFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderComponentUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderCreateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderDeleteFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderScheduleFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.PlannedOrderUpdateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.plannedorder.batch.DefaultPlannedOrderServiceBatch;

/**
 * 

* This service enables you to read, create, change, and delete planned orders as well as components belonging to * planned orders. *

*

* Business * Documentation *

*

* Reference: SAP API * Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * *
OData Service:API_PLANNED_ORDERS
API Version:1
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)
Authentication Methods:Basic, x509
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedOrderService" ) public class DefaultPlannedOrderService implements PlannedOrderService { @Nonnull private final String servicePath; /** * Creates a service using {@link PlannedOrderService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultPlannedOrderService() { servicePath = PlannedOrderService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultPlannedOrderService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultPlannedOrderService withServicePath( @Nonnull final String servicePath ) { return new DefaultPlannedOrderService(servicePath); } /** * {@inheritDoc} * */ @Override @Nonnull public DefaultPlannedOrderServiceBatch batch() { return new DefaultPlannedOrderServiceBatch(this); } @Override @Nonnull public PlannedOrderFluentHelper getAllPlannedOrder() { return new PlannedOrderFluentHelper(servicePath); } @Override @Nonnull public PlannedOrderByKeyFluentHelper getPlannedOrderByKey( final String plannedOrder ) { return new PlannedOrderByKeyFluentHelper(servicePath, plannedOrder); } @Override @Nonnull public PlannedOrderCreateFluentHelper createPlannedOrder( @Nonnull final PlannedOrder plannedOrder ) { return new PlannedOrderCreateFluentHelper(servicePath, plannedOrder); } @Override @Nonnull public PlannedOrderUpdateFluentHelper updatePlannedOrder( @Nonnull final PlannedOrder plannedOrder ) { return new PlannedOrderUpdateFluentHelper(servicePath, plannedOrder); } @Override @Nonnull public PlannedOrderDeleteFluentHelper deletePlannedOrder( @Nonnull final PlannedOrder plannedOrder ) { return new PlannedOrderDeleteFluentHelper(servicePath, plannedOrder); } @Override @Nonnull public PlannedOrderCapacityFluentHelper getAllPlannedOrderCapacity() { return new PlannedOrderCapacityFluentHelper(servicePath); } @Override @Nonnull public PlannedOrderCapacityByKeyFluentHelper getPlannedOrderCapacityByKey( final String capacityRequirement, final String capacityRequirementItem, final String capacityRqmtItemCapacity ) { return new PlannedOrderCapacityByKeyFluentHelper( servicePath, capacityRequirement, capacityRequirementItem, capacityRqmtItemCapacity); } @Override @Nonnull public PlannedOrderComponentFluentHelper getAllPlannedOrderComponent() { return new PlannedOrderComponentFluentHelper(servicePath); } @Override @Nonnull public PlannedOrderComponentByKeyFluentHelper getPlannedOrderComponentByKey( final String reservation, final String reservationItem ) { return new PlannedOrderComponentByKeyFluentHelper(servicePath, reservation, reservationItem); } @Override @Nonnull public PlannedOrderComponentCreateFluentHelper createPlannedOrderComponent( @Nonnull final PlannedOrderComponent plannedOrderComponent ) { return new PlannedOrderComponentCreateFluentHelper(servicePath, plannedOrderComponent); } @Override @Nonnull public PlannedOrderComponentUpdateFluentHelper updatePlannedOrderComponent( @Nonnull final PlannedOrderComponent plannedOrderComponent ) { return new PlannedOrderComponentUpdateFluentHelper(servicePath, plannedOrderComponent); } @Override @Nonnull public PlannedOrderComponentDeleteFluentHelper deletePlannedOrderComponent( @Nonnull final PlannedOrderComponent plannedOrderComponent ) { return new PlannedOrderComponentDeleteFluentHelper(servicePath, plannedOrderComponent); } @Override @Nonnull public PlannedOrderScheduleFluentHelper plannedOrderSchedule( final String plannedOrder ) { return new PlannedOrderScheduleFluentHelper(servicePath, plannedOrder); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy