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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProcessOrderService 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.processorder.ProcessOrderByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderComponentByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderComponentFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderItemByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderItemFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderOperationByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderOperationFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderStatusByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.ProcessOrderStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.processorder.batch.DefaultProcessOrderServiceBatch;

/**
 * 

* This service enables you to read order headers, items, operations, components, statuses, and production/resource * tools (PRTs) belonging to process orders. *

*

* Business * Documentation *

*

* Reference: SAP API * Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * *
OData Service:API_PROCESS_ORDERS
API Version:1
Communication Scenario:Production Planning Integration (SAP_COM_0104)
Scope Items:Material Requirements Planning (J44)
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProcessOrderService" ) public class DefaultProcessOrderService implements ProcessOrderService { @Nonnull private final String servicePath; /** * Creates a service using {@link ProcessOrderService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultProcessOrderService() { servicePath = ProcessOrderService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultProcessOrderService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultProcessOrderService withServicePath( @Nonnull final String servicePath ) { return new DefaultProcessOrderService(servicePath); } /** * {@inheritDoc} * */ @Override @Nonnull public DefaultProcessOrderServiceBatch batch() { return new DefaultProcessOrderServiceBatch(this); } @Override @Nonnull public ProcessOrderFluentHelper getAllProcessOrder() { return new ProcessOrderFluentHelper(servicePath); } @Override @Nonnull public ProcessOrderByKeyFluentHelper getProcessOrderByKey( final String processOrder ) { return new ProcessOrderByKeyFluentHelper(servicePath, processOrder); } @Override @Nonnull public ProcessOrderComponentFluentHelper getAllProcessOrderComponent() { return new ProcessOrderComponentFluentHelper(servicePath); } @Override @Nonnull public ProcessOrderComponentByKeyFluentHelper getProcessOrderComponentByKey( final String reservation, final String reservationItem ) { return new ProcessOrderComponentByKeyFluentHelper(servicePath, reservation, reservationItem); } @Override @Nonnull public ProcessOrderItemFluentHelper getAllProcessOrderItem() { return new ProcessOrderItemFluentHelper(servicePath); } @Override @Nonnull public ProcessOrderItemByKeyFluentHelper getProcessOrderItemByKey( final String manufacturingOrder, final String manufacturingOrderItem ) { return new ProcessOrderItemByKeyFluentHelper(servicePath, manufacturingOrder, manufacturingOrderItem); } @Override @Nonnull public ProcessOrderOperationFluentHelper getAllProcessOrderOperation() { return new ProcessOrderOperationFluentHelper(servicePath); } @Override @Nonnull public ProcessOrderOperationByKeyFluentHelper getProcessOrderOperationByKey( final String orderInternalBillOfOperations, final String orderIntBillOfOperationsItem ) { return new ProcessOrderOperationByKeyFluentHelper( servicePath, orderInternalBillOfOperations, orderIntBillOfOperationsItem); } @Override @Nonnull public ProcessOrderStatusFluentHelper getAllProcessOrderStatus() { return new ProcessOrderStatusFluentHelper(servicePath); } @Override @Nonnull public ProcessOrderStatusByKeyFluentHelper getProcessOrderStatusByKey( final String manufacturingOrder, final String statusCode ) { return new ProcessOrderStatusByKeyFluentHelper(servicePath, manufacturingOrder, statusCode); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy