public interface 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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
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. |
EnterpriseProjectService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.EnterpriseProjectService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull EnterpriseProjectFluentHelper getAllEnterpriseProject()
EnterpriseProject
entities.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 EnterpriseProjectByKeyFluentHelper getEnterpriseProjectByKey(UUID projectUUID)
EnterpriseProject
entity using key fields.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 EnterpriseProjectCreateFluentHelper createEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProject
entity and save it to the S/4HANA system.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 EnterpriseProjectUpdateFluentHelper updateEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProject
entity and save it to the S/4HANA system.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 EnterpriseProjectDeleteFluentHelper deleteEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject)
EnterpriseProject
entity in the S/4HANA system.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 SetProcessingStatusFluentHelper setProcessingStatus(UUID projectUUID, String processingStatus)
Creates a fluent helper for the SetProcessingStatus OData function import.
processingStatus
- Processing StatusConstraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ProcessingStatus
projectUUID
- Entity GUIDConstraints: none
Original parameter name from the Odata EDM: ProjectUUID
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.