
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSupplierEvaluationResponseService 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 java.util.UUID;
import javax.annotation.Nonnull;
import javax.inject.Named;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspAppraiserByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspAppraiserFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspExplTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspExplTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspExternalNameByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspExternalNameFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspIntroductionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspIntroductionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspLanguageByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspLanguageFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspPurchaserRespByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspPurchaserRespFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspQuestionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspQuestionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspQuestionTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspQuestionTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspRootQnaireByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspRootQnaireFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspSectionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspSectionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspSectionTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspSectionTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspStrucQnaireByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspStrucQnaireFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspSupplierByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SuplrEvalRspSupplierFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SupplierEvaluationResponseByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.SupplierEvaluationResponseFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.supplierevaluationresponse.batch.DefaultSupplierEvaluationResponseServiceBatch;
/**
*
* This service enables a remote system to read supplier evaluation responses from the SAP S/4HANA tenant.
*
*
*
* Reference: SAP
* API Business Hub
*
* Details:
*
*
* OData Service:
* API_SUPLR_EVAL_RESPONSE_SRV
*
*
* API Version:
* 1
*
*
* Communication Scenario:
* Supplier Evaluation Response Integration (SAP_COM_0139)
*
*
* Scope Items:
* Supplier Evaluation and Performance Monitoring (SL4)
*
*
* API Business Object:
* EXC_SUPPLIEREVALUATIONRESPONSE
*
*
*
*/
@Named( "com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSupplierEvaluationResponseService" )
public class DefaultSupplierEvaluationResponseService implements SupplierEvaluationResponseService
{
@Nonnull
private final String servicePath;
/**
* Creates a service using {@link SupplierEvaluationResponseService#DEFAULT_SERVICE_PATH} to send the requests.
*
*/
public DefaultSupplierEvaluationResponseService()
{
servicePath = SupplierEvaluationResponseService.DEFAULT_SERVICE_PATH;
}
/**
* Creates a service using the provided service path to send the requests.
*
* Used by the fluent {@link #withServicePath(String)} method.
*
*/
private DefaultSupplierEvaluationResponseService( @Nonnull final String servicePath )
{
this.servicePath = servicePath;
}
@Override
@Nonnull
public DefaultSupplierEvaluationResponseService withServicePath( @Nonnull final String servicePath )
{
return new DefaultSupplierEvaluationResponseService(servicePath);
}
/**
* {@inheritDoc}
*
*/
@Override
@Nonnull
public DefaultSupplierEvaluationResponseServiceBatch batch()
{
return new DefaultSupplierEvaluationResponseServiceBatch(this);
}
@Override
@Nonnull
public SuplrEvalRspAppraiserFluentHelper getAllSuplrEvalRspAppraiser()
{
return new SuplrEvalRspAppraiserFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspAppraiserByKeyFluentHelper getSuplrEvalRspAppraiserByKey( final UUID suplrEvalRspPartyUUID )
{
return new SuplrEvalRspAppraiserByKeyFluentHelper(servicePath, suplrEvalRspPartyUUID);
}
@Override
@Nonnull
public SuplrEvalRspExplTextFluentHelper getAllSuplrEvalRspExplText()
{
return new SuplrEvalRspExplTextFluentHelper(servicePath);
}
@Override
@Nonnull
public
SuplrEvalRspExplTextByKeyFluentHelper
getSuplrEvalRspExplTextByKey( final UUID suplrEvalReqUUID, final String language )
{
return new SuplrEvalRspExplTextByKeyFluentHelper(servicePath, suplrEvalReqUUID, language);
}
@Override
@Nonnull
public SuplrEvalRspExternalNameFluentHelper getAllSuplrEvalRspExternalName()
{
return new SuplrEvalRspExternalNameFluentHelper(servicePath);
}
@Override
@Nonnull
public
SuplrEvalRspExternalNameByKeyFluentHelper
getSuplrEvalRspExternalNameByKey( final UUID suplrEvalRspUUID, final String language )
{
return new SuplrEvalRspExternalNameByKeyFluentHelper(servicePath, suplrEvalRspUUID, language);
}
@Override
@Nonnull
public SuplrEvalRspIntroductionFluentHelper getAllSuplrEvalRspIntroduction()
{
return new SuplrEvalRspIntroductionFluentHelper(servicePath);
}
@Override
@Nonnull
public
SuplrEvalRspIntroductionByKeyFluentHelper
getSuplrEvalRspIntroductionByKey( final UUID suplrEvalReqUUID, final String language )
{
return new SuplrEvalRspIntroductionByKeyFluentHelper(servicePath, suplrEvalReqUUID, language);
}
@Override
@Nonnull
public SuplrEvalRspLanguageFluentHelper getAllSuplrEvalRspLanguage()
{
return new SuplrEvalRspLanguageFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspLanguageByKeyFluentHelper getSuplrEvalRspLanguageByKey( final UUID suplrEvalRspLanguageUUID )
{
return new SuplrEvalRspLanguageByKeyFluentHelper(servicePath, suplrEvalRspLanguageUUID);
}
@Override
@Nonnull
public SuplrEvalRspPurchaserRespFluentHelper getAllSuplrEvalRspPurchaserResp()
{
return new SuplrEvalRspPurchaserRespFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspPurchaserRespByKeyFluentHelper getSuplrEvalRspPurchaserRespByKey(
final UUID suplrEvalRspPartyUUID )
{
return new SuplrEvalRspPurchaserRespByKeyFluentHelper(servicePath, suplrEvalRspPartyUUID);
}
@Override
@Nonnull
public SuplrEvalRspQuestionFluentHelper getAllSuplrEvalRspQuestion()
{
return new SuplrEvalRspQuestionFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspQuestionByKeyFluentHelper getSuplrEvalRspQuestionByKey( final UUID suplrEvalRspQuestionUUID )
{
return new SuplrEvalRspQuestionByKeyFluentHelper(servicePath, suplrEvalRspQuestionUUID);
}
@Override
@Nonnull
public SuplrEvalRspQuestionTextFluentHelper getAllSuplrEvalRspQuestionText()
{
return new SuplrEvalRspQuestionTextFluentHelper(servicePath);
}
@Override
@Nonnull
public
SuplrEvalRspQuestionTextByKeyFluentHelper
getSuplrEvalRspQuestionTextByKey( final UUID suplrEvalReqUUID, final String language )
{
return new SuplrEvalRspQuestionTextByKeyFluentHelper(servicePath, suplrEvalReqUUID, language);
}
@Override
@Nonnull
public SuplrEvalRspRootQnaireFluentHelper getAllSuplrEvalRspRootQnaire()
{
return new SuplrEvalRspRootQnaireFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspRootQnaireByKeyFluentHelper getSuplrEvalRspRootQnaireByKey(
final UUID suplrEvalRspQuestionnaireUUID )
{
return new SuplrEvalRspRootQnaireByKeyFluentHelper(servicePath, suplrEvalRspQuestionnaireUUID);
}
@Override
@Nonnull
public SuplrEvalRspSectionFluentHelper getAllSuplrEvalRspSection()
{
return new SuplrEvalRspSectionFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspSectionByKeyFluentHelper getSuplrEvalRspSectionByKey( final UUID suplrEvalRspSectionUUID )
{
return new SuplrEvalRspSectionByKeyFluentHelper(servicePath, suplrEvalRspSectionUUID);
}
@Override
@Nonnull
public SuplrEvalRspSectionTextFluentHelper getAllSuplrEvalRspSectionText()
{
return new SuplrEvalRspSectionTextFluentHelper(servicePath);
}
@Override
@Nonnull
public
SuplrEvalRspSectionTextByKeyFluentHelper
getSuplrEvalRspSectionTextByKey( final UUID suplrEvalReqUUID, final String language )
{
return new SuplrEvalRspSectionTextByKeyFluentHelper(servicePath, suplrEvalReqUUID, language);
}
@Override
@Nonnull
public SuplrEvalRspStrucQnaireFluentHelper getAllSuplrEvalRspStrucQnaire()
{
return new SuplrEvalRspStrucQnaireFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspStrucQnaireByKeyFluentHelper getSuplrEvalRspStrucQnaireByKey(
final UUID suplrEvalRspQuestionnaireUUID )
{
return new SuplrEvalRspStrucQnaireByKeyFluentHelper(servicePath, suplrEvalRspQuestionnaireUUID);
}
@Override
@Nonnull
public SuplrEvalRspSupplierFluentHelper getAllSuplrEvalRspSupplier()
{
return new SuplrEvalRspSupplierFluentHelper(servicePath);
}
@Override
@Nonnull
public SuplrEvalRspSupplierByKeyFluentHelper getSuplrEvalRspSupplierByKey( final UUID suplrEvalRspPartyUUID )
{
return new SuplrEvalRspSupplierByKeyFluentHelper(servicePath, suplrEvalRspPartyUUID);
}
@Override
@Nonnull
public SupplierEvaluationResponseFluentHelper getAllSupplierEvaluationResponse()
{
return new SupplierEvaluationResponseFluentHelper(servicePath);
}
@Override
@Nonnull
public SupplierEvaluationResponseByKeyFluentHelper getSupplierEvaluationResponseByKey( final UUID suplrEvalRspUUID )
{
return new SupplierEvaluationResponseByKeyFluentHelper(servicePath, suplrEvalRspUUID);
}
}