@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultEnterpriseProjectProfileService") public class DefaultEnterpriseProjectProfileService extends Object implements ServiceWithNavigableEntities, EnterpriseProjectProfileService
This service enables you to read the project profile code list for enterprise projects. You can use it to make the code list values available for the corresponding Enterprise Project service.
Reference: SAP API Business Hub
OData Service: | ENTPROJECTPROFILECODE_0001 |
API Version: | 1 |
Communication Scenario: | Enterprise Project - Project Profile Integration (SAP_COM_0724) |
Scope Items: | Project Financial Control (1NT), Project Review (1YF) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_ENTPROJECTPROFILECODE |
Business Object: | EnterpriseProject |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultEnterpriseProjectProfileService()
Creates a service using
EnterpriseProjectProfileService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<ProjectProfileCode> |
countProjectProfileCode()
Fetch the number of entries from the
ProjectProfileCode entity collection matching the filter and search expressions. |
CountRequestBuilder<ProjectProfileCodeText> |
countProjectProfileCodeText()
Fetch the number of entries from the
ProjectProfileCodeText entity collection matching the filter and search expressions. |
GetAllRequestBuilder<ProjectProfileCode> |
getAllProjectProfileCode()
Fetch multiple
ProjectProfileCode entities. |
GetAllRequestBuilder<ProjectProfileCodeText> |
getAllProjectProfileCodeText()
Fetch multiple
ProjectProfileCodeText entities. |
GetByKeyRequestBuilder<ProjectProfileCode> |
getProjectProfileCodeByKey(String projectProfileCode)
Fetch a single
ProjectProfileCode entity using key fields. |
GetByKeyRequestBuilder<ProjectProfileCodeText> |
getProjectProfileCodeTextByKey(String language,
String projectProfileCode)
Fetch a single
ProjectProfileCodeText entity using key fields. |
String |
getServicePath()
Getter for the OData service root path.
|
DefaultEnterpriseProjectProfileService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEntity
public DefaultEnterpriseProjectProfileService()
EnterpriseProjectProfileService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultEnterpriseProjectProfileService withServicePath(@Nonnull String servicePath)
EnterpriseProjectProfileService
withServicePath
in interface EnterpriseProjectProfileService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
EnterpriseProjectProfileService
batch
in interface EnterpriseProjectProfileService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ProjectProfileCode> getAllProjectProfileCode()
EnterpriseProjectProfileService
ProjectProfileCode
entities.getAllProjectProfileCode
in interface EnterpriseProjectProfileService
ProjectProfileCode
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ProjectProfileCode> countProjectProfileCode()
EnterpriseProjectProfileService
ProjectProfileCode
entity collection matching the filter and search expressions.countProjectProfileCode
in interface EnterpriseProjectProfileService
ProjectProfileCode
entities. This request builder allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ProjectProfileCode> getProjectProfileCodeByKey(@Nonnull String projectProfileCode)
EnterpriseProjectProfileService
ProjectProfileCode
entity using key fields.getProjectProfileCodeByKey
in interface EnterpriseProjectProfileService
projectProfileCode
- Project Profile
Constraints: Not nullable, Maximum length: 7
ProjectProfileCode
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<ProjectProfileCodeText> getAllProjectProfileCodeText()
EnterpriseProjectProfileService
ProjectProfileCodeText
entities.getAllProjectProfileCodeText
in interface EnterpriseProjectProfileService
ProjectProfileCodeText
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public CountRequestBuilder<ProjectProfileCodeText> countProjectProfileCodeText()
EnterpriseProjectProfileService
ProjectProfileCodeText
entity collection matching the filter and search expressions.countProjectProfileCodeText
in interface EnterpriseProjectProfileService
ProjectProfileCodeText
entities. This request builder allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public GetByKeyRequestBuilder<ProjectProfileCodeText> getProjectProfileCodeTextByKey(@Nonnull String language, @Nonnull String projectProfileCode)
EnterpriseProjectProfileService
ProjectProfileCodeText
entity using key fields.getProjectProfileCodeTextByKey
in interface EnterpriseProjectProfileService
language
- Language Key
Constraints: Not nullable, Maximum length: 2
projectProfileCode
- Project Profile
Constraints: Not nullable, Maximum length: 7
ProjectProfileCodeText
entity using key fields. This request builder allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the request builder object.@Nonnull public String getServicePath()
ServiceWithNavigableEntities
getServicePath
in interface ServiceWithNavigableEntities
Copyright © 2021 SAP SE. All rights reserved.