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

com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultChangeMasterService 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.changemaster.ChangeMasterAltDateByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterAltDateFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterObjTypeAssgmtByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterObjTypeAssgmtFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterObjectTypeByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterObjectTypeFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterObjectTypeTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterObjectTypeTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterStatusByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterStatusFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterStatusTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.ChangeMasterStatusTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.changemaster.batch.DefaultChangeMasterServiceBatch;

/**
 * 

* This service enables you to read change masters. *

*

* Business * Documentation *

*

* Reference: * SAP * API Business Hub *

*

Details:

* * * * * * * * * * * * * * * * * * * * * * * * * *
OData Service:API_CHANGEMASTER
API Version:1
Communication Scenario:Product Lifecycle Management - Master Data Integration (SAP_COM_0105)
Scope Items:Engineering Bill of Material - Versions Management (1NR), * Engineering Bill of Material - Change Master Management * (1R3)
Authentication Methods:Basic, x509
Business Object:ChangeMaster
* */ @Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultChangeMasterService" ) public class DefaultChangeMasterService implements ChangeMasterService { @Nonnull private final String servicePath; /** * Creates a service using {@link ChangeMasterService#DEFAULT_SERVICE_PATH} to send the requests. * */ public DefaultChangeMasterService() { servicePath = ChangeMasterService.DEFAULT_SERVICE_PATH; } /** * Creates a service using the provided service path to send the requests. *

* Used by the fluent {@link #withServicePath(String)} method. * */ private DefaultChangeMasterService( @Nonnull final String servicePath ) { this.servicePath = servicePath; } @Override @Nonnull public DefaultChangeMasterService withServicePath( @Nonnull final String servicePath ) { return new DefaultChangeMasterService(servicePath); } /** * {@inheritDoc} * */ @Override @Nonnull public DefaultChangeMasterServiceBatch batch() { return new DefaultChangeMasterServiceBatch(this); } @Override @Nonnull public ChangeMasterFluentHelper getAllChangeMaster() { return new ChangeMasterFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterByKeyFluentHelper getChangeMasterByKey( final String changeNumber ) { return new ChangeMasterByKeyFluentHelper(servicePath, changeNumber); } @Override @Nonnull public ChangeMasterAltDateFluentHelper getAllChangeMasterAltDate() { return new ChangeMasterAltDateFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterAltDateByKeyFluentHelper getChangeMasterAltDateByKey( final String changeNumber, final String chgNmbrAlternativeDateCounter ) { return new ChangeMasterAltDateByKeyFluentHelper(servicePath, changeNumber, chgNmbrAlternativeDateCounter); } @Override @Nonnull public ChangeMasterObjectTypeFluentHelper getAllChangeMasterObjectType() { return new ChangeMasterObjectTypeFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterObjectTypeByKeyFluentHelper getChangeMasterObjectTypeByKey( final String changeNumberObjectType ) { return new ChangeMasterObjectTypeByKeyFluentHelper(servicePath, changeNumberObjectType); } @Override @Nonnull public ChangeMasterObjectTypeTextFluentHelper getAllChangeMasterObjectTypeText() { return new ChangeMasterObjectTypeTextFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterObjectTypeTextByKeyFluentHelper getChangeMasterObjectTypeTextByKey( final String changeNumberObjectType, final String language ) { return new ChangeMasterObjectTypeTextByKeyFluentHelper(servicePath, changeNumberObjectType, language); } @Override @Nonnull public ChangeMasterObjTypeAssgmtFluentHelper getAllChangeMasterObjTypeAssgmt() { return new ChangeMasterObjTypeAssgmtFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterObjTypeAssgmtByKeyFluentHelper getChangeMasterObjTypeAssgmtByKey( final String changeNumber, final String changeNumberObjectType ) { return new ChangeMasterObjTypeAssgmtByKeyFluentHelper(servicePath, changeNumber, changeNumberObjectType); } @Override @Nonnull public ChangeMasterStatusFluentHelper getAllChangeMasterStatus() { return new ChangeMasterStatusFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterStatusByKeyFluentHelper getChangeMasterStatusByKey( final String changeNumberStatus ) { return new ChangeMasterStatusByKeyFluentHelper(servicePath, changeNumberStatus); } @Override @Nonnull public ChangeMasterStatusTextFluentHelper getAllChangeMasterStatusText() { return new ChangeMasterStatusTextFluentHelper(servicePath); } @Override @Nonnull public ChangeMasterStatusTextByKeyFluentHelper getChangeMasterStatusTextByKey( final String changeNumberStatus, final String language ) { return new ChangeMasterStatusTextByKeyFluentHelper(servicePath, changeNumberStatus, language); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy