Class DefaultEnterpriseProjectService
- All Implemented Interfaces:
BatchService<EnterpriseProjectServiceBatch>,EnterpriseProjectService
This service enables you to create, read, update or delete the project definition or the project elements of enterprise projects. The service is based on the OData protocol and can be consumed by apps and other user interfaces..
Reference: SAP Business Accelerator Hub
Details:
| 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 (1YF), Project Financial Control (ONT) |
| Authentication Methods: | Basic, x509, OAuth2 |
| Business Object: | EnterpriseProject |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.EnterpriseProjectService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingEnterpriseProjectService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createEnterpriseProjBlkFunc(EnterpriseProjBlkFunc enterpriseProjBlkFunc) Deprecated.Create a newEnterpriseProjBlkFuncentity and save it to the S/4HANA system.createEnterpriseProject(EnterpriseProject enterpriseProject) Deprecated.Create a newEnterpriseProjectentity and save it to the S/4HANA system.createEnterpriseProjectElement(EnterpriseProjectElement enterpriseProjectElement) Deprecated.Create a newEnterpriseProjectElemententity and save it to the S/4HANA system.createEntProjElmntBlockFunc(EntProjElmntBlockFunc entProjElmntBlockFunc) Deprecated.Create a newEntProjElmntBlockFuncentity and save it to the S/4HANA system.deleteEnterpriseProject(EnterpriseProject enterpriseProject) Deprecated.Deletes an existingEnterpriseProjectentity in the S/4HANA system.deleteEnterpriseProjectElement(EnterpriseProjectElement enterpriseProjectElement) Deprecated.Deletes an existingEnterpriseProjectElemententity in the S/4HANA system.Deprecated.Fetch multipleEnterpriseProjBlkFuncentities.Deprecated.Fetch multipleEnterpriseProjectentities.Deprecated.Fetch multipleEnterpriseProjectElemententities.Deprecated.Fetch multipleEntProjectElmntPublicSectorentities.Deprecated.Fetch multipleEntProjectPublicSectorentities.Deprecated.Fetch multipleEntProjElmntBlockFuncentities.getEnterpriseProjBlkFuncByKey(UUID projectUUID) Deprecated.Fetch a singleEnterpriseProjBlkFuncentity using key fields.getEnterpriseProjectByKey(UUID projectUUID) Deprecated.Fetch a singleEnterpriseProjectentity using key fields.getEnterpriseProjectElementByKey(UUID projectElementUUID) Deprecated.Fetch a singleEnterpriseProjectElemententity using key fields.getEntProjectElmntPublicSectorByKey(UUID projectElementUUID) Deprecated.Fetch a singleEntProjectElmntPublicSectorentity using key fields.getEntProjectPublicSectorByKey(UUID projectUUID) Deprecated.Fetch a singleEntProjectPublicSectorentity using key fields.getEntProjElmntBlockFuncByKey(UUID projectElementUUID) Deprecated.Fetch a singleEntProjElmntBlockFuncentity using key fields.setProcessingStatus(UUID projectUUID, String processingStatus) Deprecated.Creates a fluent helper for the SetProcessingStatus OData function import.setProjElemProcessingStatus(UUID projectElementUUID, String processingStatus) Deprecated.Creates a fluent helper for the SetProjElemProcessingStatus OData function import.updateEnterpriseProjBlkFunc(EnterpriseProjBlkFunc enterpriseProjBlkFunc) Deprecated.Update an existingEnterpriseProjBlkFuncentity and save it to the S/4HANA system.updateEnterpriseProject(EnterpriseProject enterpriseProject) Deprecated.Update an existingEnterpriseProjectentity and save it to the S/4HANA system.updateEnterpriseProjectElement(EnterpriseProjectElement enterpriseProjectElement) Deprecated.Update an existingEnterpriseProjectElemententity and save it to the S/4HANA system.updateEntProjectElmntPublicSector(EntProjectElmntPublicSector entProjectElmntPublicSector) Deprecated.Update an existingEntProjectElmntPublicSectorentity and save it to the S/4HANA system.updateEntProjectPublicSector(EntProjectPublicSector entProjectPublicSector) Deprecated.Update an existingEntProjectPublicSectorentity and save it to the S/4HANA system.updateEntProjElmntBlockFunc(EntProjElmntBlockFunc entProjElmntBlockFunc) Deprecated.Update an existingEntProjElmntBlockFuncentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultEnterpriseProjectService
public DefaultEnterpriseProjectService()Deprecated.Creates a service usingEnterpriseProjectService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:EnterpriseProjectServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceEnterpriseProjectService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<EnterpriseProjectServiceBatch>
-
getAllEnterpriseProjBlkFunc
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch multipleEnterpriseProjBlkFuncentities.- Specified by:
getAllEnterpriseProjBlkFuncin interfaceEnterpriseProjectService- Returns:
- A fluent helper to fetch multiple
EnterpriseProjBlkFuncentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getEnterpriseProjBlkFuncByKey
@Nonnull public EnterpriseProjBlkFuncByKeyFluentHelper getEnterpriseProjBlkFuncByKey(UUID projectUUID) Deprecated.Description copied from interface:EnterpriseProjectServiceFetch a singleEnterpriseProjBlkFuncentity using key fields.- Specified by:
getEnterpriseProjBlkFuncByKeyin interfaceEnterpriseProjectService- Parameters:
projectUUID- Entity GuidConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
EnterpriseProjBlkFuncentity 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 theexecutemethod on the fluent helper object.
-
createEnterpriseProjBlkFunc
@Nonnull public EnterpriseProjBlkFuncCreateFluentHelper createEnterpriseProjBlkFunc(@Nonnull EnterpriseProjBlkFunc enterpriseProjBlkFunc) Deprecated.Description copied from interface:EnterpriseProjectServiceCreate a newEnterpriseProjBlkFuncentity and save it to the S/4HANA system.- Specified by:
createEnterpriseProjBlkFuncin interfaceEnterpriseProjectService- Parameters:
enterpriseProjBlkFunc-EnterpriseProjBlkFuncentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
EnterpriseProjBlkFuncentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateEnterpriseProjBlkFunc
@Nonnull public EnterpriseProjBlkFuncUpdateFluentHelper updateEnterpriseProjBlkFunc(@Nonnull EnterpriseProjBlkFunc enterpriseProjBlkFunc) Deprecated.Description copied from interface:EnterpriseProjectServiceUpdate an existingEnterpriseProjBlkFuncentity and save it to the S/4HANA system.- Specified by:
updateEnterpriseProjBlkFuncin interfaceEnterpriseProjectService- Parameters:
enterpriseProjBlkFunc-EnterpriseProjBlkFuncentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
EnterpriseProjBlkFuncentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllEnterpriseProject
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch multipleEnterpriseProjectentities.- Specified by:
getAllEnterpriseProjectin interfaceEnterpriseProjectService- Returns:
- A fluent helper to fetch multiple
EnterpriseProjectentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getEnterpriseProjectByKey
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch a singleEnterpriseProjectentity using key fields.- Specified by:
getEnterpriseProjectByKeyin interfaceEnterpriseProjectService- Parameters:
projectUUID- Entity GuidConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
EnterpriseProjectentity 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 theexecutemethod on the fluent helper object.
-
createEnterpriseProject
@Nonnull public EnterpriseProjectCreateFluentHelper createEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject) Deprecated.Description copied from interface:EnterpriseProjectServiceCreate a newEnterpriseProjectentity and save it to the S/4HANA system.- Specified by:
createEnterpriseProjectin interfaceEnterpriseProjectService- Parameters:
enterpriseProject-EnterpriseProjectentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
EnterpriseProjectentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateEnterpriseProject
@Nonnull public EnterpriseProjectUpdateFluentHelper updateEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject) Deprecated.Description copied from interface:EnterpriseProjectServiceUpdate an existingEnterpriseProjectentity and save it to the S/4HANA system.- Specified by:
updateEnterpriseProjectin interfaceEnterpriseProjectService- Parameters:
enterpriseProject-EnterpriseProjectentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
EnterpriseProjectentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteEnterpriseProject
@Nonnull public EnterpriseProjectDeleteFluentHelper deleteEnterpriseProject(@Nonnull EnterpriseProject enterpriseProject) Deprecated.Description copied from interface:EnterpriseProjectServiceDeletes an existingEnterpriseProjectentity in the S/4HANA system.- Specified by:
deleteEnterpriseProjectin interfaceEnterpriseProjectService- Parameters:
enterpriseProject-EnterpriseProjectentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
EnterpriseProjectentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllEnterpriseProjectElement
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch multipleEnterpriseProjectElemententities.- Specified by:
getAllEnterpriseProjectElementin interfaceEnterpriseProjectService- Returns:
- A fluent helper to fetch multiple
EnterpriseProjectElemententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getEnterpriseProjectElementByKey
@Nonnull public EnterpriseProjectElementByKeyFluentHelper getEnterpriseProjectElementByKey(UUID projectElementUUID) Deprecated.Description copied from interface:EnterpriseProjectServiceFetch a singleEnterpriseProjectElemententity using key fields.- Specified by:
getEnterpriseProjectElementByKeyin interfaceEnterpriseProjectService- Parameters:
projectElementUUID- Entity GuidConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
EnterpriseProjectElemententity 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 theexecutemethod on the fluent helper object.
-
createEnterpriseProjectElement
@Nonnull public EnterpriseProjectElementCreateFluentHelper createEnterpriseProjectElement(@Nonnull EnterpriseProjectElement enterpriseProjectElement) Deprecated.Description copied from interface:EnterpriseProjectServiceCreate a newEnterpriseProjectElemententity and save it to the S/4HANA system.- Specified by:
createEnterpriseProjectElementin interfaceEnterpriseProjectService- Parameters:
enterpriseProjectElement-EnterpriseProjectElemententity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
EnterpriseProjectElemententity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateEnterpriseProjectElement
@Nonnull public EnterpriseProjectElementUpdateFluentHelper updateEnterpriseProjectElement(@Nonnull EnterpriseProjectElement enterpriseProjectElement) Deprecated.Description copied from interface:EnterpriseProjectServiceUpdate an existingEnterpriseProjectElemententity and save it to the S/4HANA system.- Specified by:
updateEnterpriseProjectElementin interfaceEnterpriseProjectService- Parameters:
enterpriseProjectElement-EnterpriseProjectElemententity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
EnterpriseProjectElemententity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteEnterpriseProjectElement
@Nonnull public EnterpriseProjectElementDeleteFluentHelper deleteEnterpriseProjectElement(@Nonnull EnterpriseProjectElement enterpriseProjectElement) Deprecated.Description copied from interface:EnterpriseProjectServiceDeletes an existingEnterpriseProjectElemententity in the S/4HANA system.- Specified by:
deleteEnterpriseProjectElementin interfaceEnterpriseProjectService- Parameters:
enterpriseProjectElement-EnterpriseProjectElemententity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
EnterpriseProjectElemententity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllEntProjectElmntPublicSector
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch multipleEntProjectElmntPublicSectorentities.- Specified by:
getAllEntProjectElmntPublicSectorin interfaceEnterpriseProjectService- Returns:
- A fluent helper to fetch multiple
EntProjectElmntPublicSectorentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getEntProjectElmntPublicSectorByKey
@Nonnull public EntProjectElmntPublicSectorByKeyFluentHelper getEntProjectElmntPublicSectorByKey(UUID projectElementUUID) Deprecated.Description copied from interface:EnterpriseProjectServiceFetch a singleEntProjectElmntPublicSectorentity using key fields.- Specified by:
getEntProjectElmntPublicSectorByKeyin interfaceEnterpriseProjectService- Parameters:
projectElementUUID- Entity GuidConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
EntProjectElmntPublicSectorentity 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 theexecutemethod on the fluent helper object.
-
updateEntProjectElmntPublicSector
@Nonnull public EntProjectElmntPublicSectorUpdateFluentHelper updateEntProjectElmntPublicSector(@Nonnull EntProjectElmntPublicSector entProjectElmntPublicSector) Deprecated.Description copied from interface:EnterpriseProjectServiceUpdate an existingEntProjectElmntPublicSectorentity and save it to the S/4HANA system.- Specified by:
updateEntProjectElmntPublicSectorin interfaceEnterpriseProjectService- Parameters:
entProjectElmntPublicSector-EntProjectElmntPublicSectorentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
EntProjectElmntPublicSectorentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllEntProjectPublicSector
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch multipleEntProjectPublicSectorentities.- Specified by:
getAllEntProjectPublicSectorin interfaceEnterpriseProjectService- Returns:
- A fluent helper to fetch multiple
EntProjectPublicSectorentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getEntProjectPublicSectorByKey
@Nonnull public EntProjectPublicSectorByKeyFluentHelper getEntProjectPublicSectorByKey(UUID projectUUID) Deprecated.Description copied from interface:EnterpriseProjectServiceFetch a singleEntProjectPublicSectorentity using key fields.- Specified by:
getEntProjectPublicSectorByKeyin interfaceEnterpriseProjectService- Parameters:
projectUUID- Entity GuidConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
EntProjectPublicSectorentity 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 theexecutemethod on the fluent helper object.
-
updateEntProjectPublicSector
@Nonnull public EntProjectPublicSectorUpdateFluentHelper updateEntProjectPublicSector(@Nonnull EntProjectPublicSector entProjectPublicSector) Deprecated.Description copied from interface:EnterpriseProjectServiceUpdate an existingEntProjectPublicSectorentity and save it to the S/4HANA system.- Specified by:
updateEntProjectPublicSectorin interfaceEnterpriseProjectService- Parameters:
entProjectPublicSector-EntProjectPublicSectorentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
EntProjectPublicSectorentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllEntProjElmntBlockFunc
Deprecated.Description copied from interface:EnterpriseProjectServiceFetch multipleEntProjElmntBlockFuncentities.- Specified by:
getAllEntProjElmntBlockFuncin interfaceEnterpriseProjectService- Returns:
- A fluent helper to fetch multiple
EntProjElmntBlockFuncentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getEntProjElmntBlockFuncByKey
@Nonnull public EntProjElmntBlockFuncByKeyFluentHelper getEntProjElmntBlockFuncByKey(UUID projectElementUUID) Deprecated.Description copied from interface:EnterpriseProjectServiceFetch a singleEntProjElmntBlockFuncentity using key fields.- Specified by:
getEntProjElmntBlockFuncByKeyin interfaceEnterpriseProjectService- Parameters:
projectElementUUID- Entity GuidConstraints: Not nullable
- Returns:
- A fluent helper to fetch a single
EntProjElmntBlockFuncentity 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 theexecutemethod on the fluent helper object.
-
createEntProjElmntBlockFunc
@Nonnull public EntProjElmntBlockFuncCreateFluentHelper createEntProjElmntBlockFunc(@Nonnull EntProjElmntBlockFunc entProjElmntBlockFunc) Deprecated.Description copied from interface:EnterpriseProjectServiceCreate a newEntProjElmntBlockFuncentity and save it to the S/4HANA system.- Specified by:
createEntProjElmntBlockFuncin interfaceEnterpriseProjectService- Parameters:
entProjElmntBlockFunc-EntProjElmntBlockFuncentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
EntProjElmntBlockFuncentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateEntProjElmntBlockFunc
@Nonnull public EntProjElmntBlockFuncUpdateFluentHelper updateEntProjElmntBlockFunc(@Nonnull EntProjElmntBlockFunc entProjElmntBlockFunc) Deprecated.Description copied from interface:EnterpriseProjectServiceUpdate an existingEntProjElmntBlockFuncentity and save it to the S/4HANA system.- Specified by:
updateEntProjElmntBlockFuncin interfaceEnterpriseProjectService- Parameters:
entProjElmntBlockFunc-EntProjElmntBlockFuncentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
EntProjElmntBlockFuncentity. To perform execution, call theexecutemethod on the fluent helper object.
-
setProcessingStatus
@Nonnull public SetProcessingStatusFluentHelper setProcessingStatus(@Nonnull UUID projectUUID, @Nullable String processingStatus) Deprecated.Description copied from interface:EnterpriseProjectServiceCreates a fluent helper for the SetProcessingStatus OData function import.
- Specified by:
setProcessingStatusin interfaceEnterpriseProjectService- Parameters:
projectUUID- Entity GUIDConstraints: none
Original parameter name from the Odata EDM: ProjectUUID
processingStatus- Processing StatusConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: ProcessingStatus
- Returns:
- A fluent helper object that will execute the SetProcessingStatus OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
setProjElemProcessingStatus
@Nonnull public SetProjElemProcessingStatusFluentHelper setProjElemProcessingStatus(@Nonnull UUID projectElementUUID, @Nullable String processingStatus) Deprecated.Description copied from interface:EnterpriseProjectServiceCreates a fluent helper for the SetProjElemProcessingStatus OData function import.
- Specified by:
setProjElemProcessingStatusin interfaceEnterpriseProjectService- Parameters:
projectElementUUID- Entity GUIDConstraints: none
Original parameter name from the Odata EDM: ProjectElementUUID
processingStatus- Processing StatusConstraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: ProcessingStatus
- Returns:
- A fluent helper object that will execute the SetProjElemProcessingStatus OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-