
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DivisionService 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 com.sap.cloud.sdk.s4hana.datamodel.odata.helper.batch.BatchService;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionTextByKeyFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionTextFluentHelper;
import com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.batch.DivisionServiceBatch;
/**
*
* This service enables you to display division master data to be consumed in SAP Fiori apps and on other user
* interfaces.
*
*
*
* Reference:
* SAP
* API Business Hub
*
* Details:
*
*
* OData Service:
* API_DIVISION_SRV
*
*
* API Version:
* 1
*
*
* Communication Scenario:
* SAP Analytics Cloud for Planning Integration (SAP_COM_0087)
*
*
* Scope Items:
* Integration between SAP S/4HANA Cloud and SAP Analytics Cloud
* (1YB)
*
*
* Authentication Methods:
* Basic, x509
*
*
*
*/
public interface DivisionService extends BatchService
{
/**
* If no other path was provided via the {@link #withServicePath(String)} method, this is the default service path
* used to access the endpoint.
*
*/
String DEFAULT_SERVICE_PATH = "/sap/opu/odata/sap/API_DIVISION_SRV";
/**
* Overrides the default service path and returns a new service instance with the specified service path. Also
* adjusts the respective entity URLs.
*
* @param servicePath
* Service path that will override the default.
* @return A new service instance with the specified service path.
*/
@Nonnull
DivisionService withServicePath( @Nonnull final String servicePath );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.Division Division} entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.Division Division} entities. This
* fluent helper allows methods which modify the underlying query to be called before executing the query
* itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionFluentHelper#execute execute}
* method on the fluent helper object.
*/
@Nonnull
DivisionFluentHelper getAllDivision();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.Division Division} entity
* using key fields.
*
* @param division
* A way of grouping materials, products, or services. The system uses divisions to determine the sales
* areas and the business areas for a material, product, or service.
*
* Constraints: Not nullable, Maximum length: 2
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.Division Division} entity using key
* fields. This fluent helper allows methods which modify the underlying query to be called before executing
* the query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DivisionByKeyFluentHelper getDivisionByKey( final String division );
/**
* Fetch multiple {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionText DivisionText}
* entities.
*
* @return A fluent helper to fetch multiple
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionText DivisionText} entities.
* This fluent helper allows methods which modify the underlying query to be called before executing the
* query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionTextFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DivisionTextFluentHelper getAllDivisionText();
/**
* Fetch a single {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionText DivisionText}
* entity using key fields.
*
* @param division
* A way of grouping materials, products, or services. The system uses divisions to determine the sales
* areas and the business areas for a material, product, or service.
*
* Constraints: Not nullable, Maximum length: 2
*
* @param language
* The language key indicates
*
* Constraints: Not nullable, Maximum length: 2
*
* @return A fluent helper to fetch a single
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionText DivisionText} entity
* using key fields. This fluent helper allows methods which modify the underlying query to be called before
* executing the query itself. To perform execution, call the
* {@link com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.division.DivisionTextByKeyFluentHelper#execute
* execute} method on the fluent helper object.
*/
@Nonnull
DivisionTextByKeyFluentHelper getDivisionTextByKey( final String division, final String language );
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy