Class DefaultContactCategoryForSourcingProjectService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultContactCategoryForSourcingProjectService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ContactCategoryForSourcingProjectService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultContactCategoryForSourcingProjectService")
public class DefaultContactCategoryForSourcingProjectService
extends Object
implements ServiceWithNavigableEntities, ContactCategoryForSourcingProjectService
This service displays the configured contact category and the corresponding contact category description. The requested information is sent as a response. You can request information about all available contact categories or specific ones..
Reference: SAP API Business Hub
Details:
| OData Service: | CE_SRCGPROJCONTACTCAT_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Procurement - Supplier Quotation Management Integration(SAP_COM_0760), Product Sourcing Integration(SAP_COM_0910) |
| Scope Items: | Direct Material Sourcing(4RD) |
| Authentication Methods: | x509 |
| Service Group Name: | API_SRCGPROJCONTACTCAT |
| Business Object: | Sourcing Project Contact Category |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ContactCategoryForSourcingProjectService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionCreates a service usingContactCategoryForSourcingProjectService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Creates a batch request builder object.Fetch the number of entries from theSrcgProjContactCategoryentity collection matching the filter and search expressions.Fetch the number of entries from theSrcgProjContactCategoryTextentity collection matching the filter and search expressions.Fetch multipleSrcgProjContactCategoryentities.Fetch multipleSrcgProjContactCategoryTextentities.getSrcgProjContactCategoryByKey(String sourcingProjectContactCategory) Fetch a singleSrcgProjContactCategoryentity using key fields.getSrcgProjContactCategoryTextByKey(String sourcingProjectContactCategory, String language) Fetch a singleSrcgProjContactCategoryTextentity using key fields.withServicePath(String servicePath) Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultContactCategoryForSourcingProjectService
public DefaultContactCategoryForSourcingProjectService()Creates a service usingContactCategoryForSourcingProjectService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultContactCategoryForSourcingProjectService withServicePath(@Nonnull String servicePath) Description copied from interface:ContactCategoryForSourcingProjectServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceContactCategoryForSourcingProjectService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Description copied from interface:ContactCategoryForSourcingProjectServiceCreates a batch request builder object.- Specified by:
batchin interfaceContactCategoryForSourcingProjectService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllSrcgProjContactCategory
Description copied from interface:ContactCategoryForSourcingProjectServiceFetch multipleSrcgProjContactCategoryentities.- Specified by:
getAllSrcgProjContactCategoryin interfaceContactCategoryForSourcingProjectService- Returns:
- A request builder to fetch multiple
SrcgProjContactCategoryentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSrcgProjContactCategory
Description copied from interface:ContactCategoryForSourcingProjectServiceFetch the number of entries from theSrcgProjContactCategoryentity collection matching the filter and search expressions.- Specified by:
countSrcgProjContactCategoryin interfaceContactCategoryForSourcingProjectService- Returns:
- A request builder to fetch the count of
SrcgProjContactCategoryentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSrcgProjContactCategoryByKey
@Nonnull public GetByKeyRequestBuilder<SrcgProjContactCategory> getSrcgProjContactCategoryByKey(String sourcingProjectContactCategory) Description copied from interface:ContactCategoryForSourcingProjectServiceFetch a singleSrcgProjContactCategoryentity using key fields.- Specified by:
getSrcgProjContactCategoryByKeyin interfaceContactCategoryForSourcingProjectService- Parameters:
sourcingProjectContactCategory-Constraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
SrcgProjContactCategoryentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllSrcgProjContactCategoryText
@Nonnull public GetAllRequestBuilder<SrcgProjContactCategoryText> getAllSrcgProjContactCategoryText()Description copied from interface:ContactCategoryForSourcingProjectServiceFetch multipleSrcgProjContactCategoryTextentities.- Specified by:
getAllSrcgProjContactCategoryTextin interfaceContactCategoryForSourcingProjectService- Returns:
- A request builder to fetch multiple
SrcgProjContactCategoryTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countSrcgProjContactCategoryText
Description copied from interface:ContactCategoryForSourcingProjectServiceFetch the number of entries from theSrcgProjContactCategoryTextentity collection matching the filter and search expressions.- Specified by:
countSrcgProjContactCategoryTextin interfaceContactCategoryForSourcingProjectService- Returns:
- A request builder to fetch the count of
SrcgProjContactCategoryTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getSrcgProjContactCategoryTextByKey
@Nonnull public GetByKeyRequestBuilder<SrcgProjContactCategoryText> getSrcgProjContactCategoryTextByKey(String sourcingProjectContactCategory, String language) Description copied from interface:ContactCategoryForSourcingProjectServiceFetch a singleSrcgProjContactCategoryTextentity using key fields.- Specified by:
getSrcgProjContactCategoryTextByKeyin interfaceContactCategoryForSourcingProjectService- Parameters:
sourcingProjectContactCategory-Constraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
SrcgProjContactCategoryTextentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-