@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 project definition of enterprise projects.The service is based on the OData protocol and can be consumed by apps and other user interfaces.The information is sent in the request as a payload. All information is utilized when processing data, including appropriate checks for restricted values and authorizations. If any issues arise during an operation, the system displays error messages in the response.
Reference: SAP API Business Hub
OData Service: | API_ENTERPRISE_PROJECT_SRV |
API Version: | 1 |
Communication Scenario: | Enterprise Project Integration (SAP_COM_0308) |
Scope Items: | Project Financial Control (1NT), Project Review in Steering Committee Meetings (1YF) |
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 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.Copyright © 2018 SAP SE. All rights reserved.