@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 and to read the project elements of enterprise projects.
Reference: SAP API Business Hub
OData Service: | API_ENTERPRISE_PROJECT_SRV |
API Version: | 1 |
Communication Scenario: | Enterprise Project - 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. |
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 DefaultEnterpriseProjectServiceBatch batch()
batch
in interface BatchService<EnterpriseProjectServiceBatch>
@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 Guid
Constraints: 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 EnterpriseProjectElementFluentHelper getAllEnterpriseProjectElement()
EnterpriseProjectService
EnterpriseProjectElement
entities.getAllEnterpriseProjectElement
in interface EnterpriseProjectService
EnterpriseProjectElement
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 EnterpriseProjectElementByKeyFluentHelper getEnterpriseProjectElementByKey(UUID projectElementUUID)
EnterpriseProjectService
EnterpriseProjectElement
entity using key fields.getEnterpriseProjectElementByKey
in interface EnterpriseProjectService
projectElementUUID
- Entity Guid
Constraints: Not nullable
EnterpriseProjectElement
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 EnterpriseProjectElementCreateFluentHelper createEnterpriseProjectElement(@Nonnull EnterpriseProjectElement enterpriseProjectElement)
EnterpriseProjectService
EnterpriseProjectElement
entity and save it to the S/4HANA system.createEnterpriseProjectElement
in interface EnterpriseProjectService
enterpriseProjectElement
- EnterpriseProjectElement
entity object that will be created in the S/4HANA system.EnterpriseProjectElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EnterpriseProjectElementUpdateFluentHelper updateEnterpriseProjectElement(@Nonnull EnterpriseProjectElement enterpriseProjectElement)
EnterpriseProjectService
EnterpriseProjectElement
entity and save it to the S/4HANA system.updateEnterpriseProjectElement
in interface EnterpriseProjectService
enterpriseProjectElement
- EnterpriseProjectElement
entity object that will be updated in the S/4HANA system.EnterpriseProjectElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public EnterpriseProjectElementDeleteFluentHelper deleteEnterpriseProjectElement(@Nonnull EnterpriseProjectElement enterpriseProjectElement)
EnterpriseProjectService
EnterpriseProjectElement
entity in the S/4HANA system.deleteEnterpriseProjectElement
in interface EnterpriseProjectService
enterpriseProjectElement
- EnterpriseProjectElement
entity object that will be deleted in the S/4HANA system.EnterpriseProjectElement
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 GUID
Constraints: none
Original parameter name from the Odata EDM: ProjectUUID
processingStatus
- Processing Status
Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: ProcessingStatus
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.