@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultEnterpriseProjectService") public class DefaultEnterpriseProjectService extends Object implements EnterpriseProjectService
This service enables you to read, create, update and delete the project definition of enterprise projects.
Reference: SAP API Business Hub
OData Service: | API_ENTERPRISE_PROJECT_SRV |
API Version: | 1 |
Communication Scenario: | Enterprise Project Definition - Create, Read, Update, Delete - Integration (SAP_COM_0308) |
Scope Items: | Project Financial Control (1NT), Project Review (1YF) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultEnterpriseProjectService()
Creates a service using
EnterpriseProjectService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
EnterpriseProjectCreateFluentHelper |
createEnterpriseProject(EnterpriseProject enterpriseProject)
Create a new
EnterpriseProject entity and save it to the S/4HANA system. |
EnterpriseProjectDeleteFluentHelper |
deleteEnterpriseProject(EnterpriseProject enterpriseProject)
Deletes an existing
EnterpriseProject entity in the S/4HANA system. |
EnterpriseProjectFluentHelper |
getAllEnterpriseProject()
Fetch multiple
EnterpriseProject entities. |
EnterpriseProjectByKeyFluentHelper |
getEnterpriseProjectByKey(UUID projectUUID)
Fetch a single
EnterpriseProject entity using key fields. |
SetProcessingStatusFluentHelper |
setProcessingStatus(UUID projectUUID,
String processingStatus)
Creates a fluent helper for the SetProcessingStatus OData function import.
|
EnterpriseProjectUpdateFluentHelper |
updateEnterpriseProject(EnterpriseProject enterpriseProject)
Update an existing
EnterpriseProject entity and save it to the S/4HANA system. |
DefaultEnterpriseProjectService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultEnterpriseProjectService()
EnterpriseProjectService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultEnterpriseProjectService withServicePath(@Nonnull String servicePath)
EnterpriseProjectService
withServicePath
in interface EnterpriseProjectService
servicePath
- Service path that will override the default.@Nonnull public EnterpriseProjectFluentHelper getAllEnterpriseProject()
EnterpriseProjectService
EnterpriseProject
entities.getAllEnterpriseProject
in interface EnterpriseProjectService
EnterpriseProject
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull public EnterpriseProjectByKeyFluentHelper getEnterpriseProjectByKey(UUID projectUUID)
EnterpriseProjectService
EnterpriseProject
entity using key fields.getEnterpriseProjectByKey
in interface EnterpriseProjectService
projectUUID
- Entity GuidConstraints: Not nullable
EnterpriseProject
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 execute
method on the fluent helper object.@Nonnull public EnterpriseProjectCreateFluentHelper createEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProjectService
EnterpriseProject
entity and save it to the S/4HANA system.createEnterpriseProject
in interface EnterpriseProjectService
enterpriseProject
- EnterpriseProject
entity object that will be created in the S/4HANA system.EnterpriseProject
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull public EnterpriseProjectUpdateFluentHelper updateEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProjectService
EnterpriseProject
entity and save it to the S/4HANA system.updateEnterpriseProject
in interface EnterpriseProjectService
enterpriseProject
- EnterpriseProject
entity object that will be updated in the S/4HANA system.EnterpriseProject
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull public EnterpriseProjectDeleteFluentHelper deleteEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProjectService
EnterpriseProject
entity in the S/4HANA system.deleteEnterpriseProject
in interface EnterpriseProjectService
enterpriseProject
- EnterpriseProject
entity object that will be deleted in the S/4HANA system.EnterpriseProject
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SetProcessingStatusFluentHelper setProcessingStatus(UUID projectUUID, String processingStatus)
EnterpriseProjectService
Creates a fluent helper for the SetProcessingStatus OData function import.
setProcessingStatus
in interface EnterpriseProjectService
projectUUID
- Entity GUIDConstraints: none
Original parameter name from the Odata EDM: ProjectUUID
processingStatus
- Processing StatusConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ProcessingStatus
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.