@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultEnterpriseProjectInternalTypeService") public class DefaultEnterpriseProjectInternalTypeService extends Object implements ServiceWithNavigableEntities, EnterpriseProjectInternalTypeService
This service enables you to read the internal project type 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: | ENTPROJECTTYPE_0001 |
API Version: | 1 |
Communication Scenario: | Enterprise Project - Internal Project Type Integration (SAP_COM_0723) |
Scope Items: | Project Financial Control (1NT), Project Review (1YF) |
Authentication Methods: | Basic, x509, OAuth2 |
Service Group Name: | API_ENTERPRISEPROJECTTYPE |
Business Object: | EnterpriseProject |
ServiceWithNavigableEntities.NavigableEntity<EntityT extends VdmEntity<EntityT>>
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultEnterpriseProjectInternalTypeService()
Creates a service using
EnterpriseProjectInternalTypeService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
BatchRequestBuilder |
batch()
Creates a batch request builder object.
|
CountRequestBuilder<EntProjectType> |
countEntProjectType()
Fetch the number of entries from the
EntProjectType entity collection matching the filter and search expressions. |
CountRequestBuilder<EntProjectTypeText> |
countEntProjectTypeText()
Fetch the number of entries from the
EntProjectTypeText entity collection matching the filter and search expressions. |
GetAllRequestBuilder<EntProjectType> |
getAllEntProjectType()
Fetch multiple
EntProjectType entities. |
GetAllRequestBuilder<EntProjectTypeText> |
getAllEntProjectTypeText()
Fetch multiple
EntProjectTypeText entities. |
GetByKeyRequestBuilder<EntProjectType> |
getEntProjectTypeByKey(String entProjectTypeInternal)
Fetch a single
EntProjectType entity using key fields. |
GetByKeyRequestBuilder<EntProjectTypeText> |
getEntProjectTypeTextByKey(String language,
String entProjectTypeInternal)
Fetch a single
EntProjectTypeText entity using key fields. |
String |
getServicePath()
Getter for the OData service root path.
|
DefaultEnterpriseProjectInternalTypeService |
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 DefaultEnterpriseProjectInternalTypeService()
EnterpriseProjectInternalTypeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultEnterpriseProjectInternalTypeService withServicePath(@Nonnull String servicePath)
EnterpriseProjectInternalTypeService
withServicePath
in interface EnterpriseProjectInternalTypeService
servicePath
- Service path that will override the default.@Nonnull public BatchRequestBuilder batch()
EnterpriseProjectInternalTypeService
batch
in interface EnterpriseProjectInternalTypeService
execute
method on the request builder object.@Nonnull public GetAllRequestBuilder<EntProjectType> getAllEntProjectType()
EnterpriseProjectInternalTypeService
EntProjectType
entities.getAllEntProjectType
in interface EnterpriseProjectInternalTypeService
EntProjectType
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<EntProjectType> countEntProjectType()
EnterpriseProjectInternalTypeService
EntProjectType
entity collection matching the filter and search expressions.countEntProjectType
in interface EnterpriseProjectInternalTypeService
EntProjectType
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<EntProjectType> getEntProjectTypeByKey(@Nonnull String entProjectTypeInternal)
EnterpriseProjectInternalTypeService
EntProjectType
entity using key fields.getEntProjectTypeByKey
in interface EnterpriseProjectInternalTypeService
entProjectTypeInternal
- Project Type
Constraints: Not nullable, Maximum length: 15
EntProjectType
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<EntProjectTypeText> getAllEntProjectTypeText()
EnterpriseProjectInternalTypeService
EntProjectTypeText
entities.getAllEntProjectTypeText
in interface EnterpriseProjectInternalTypeService
EntProjectTypeText
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<EntProjectTypeText> countEntProjectTypeText()
EnterpriseProjectInternalTypeService
EntProjectTypeText
entity collection matching the filter and search expressions.countEntProjectTypeText
in interface EnterpriseProjectInternalTypeService
EntProjectTypeText
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<EntProjectTypeText> getEntProjectTypeTextByKey(@Nonnull String language, @Nonnull String entProjectTypeInternal)
EnterpriseProjectInternalTypeService
EntProjectTypeText
entity using key fields.getEntProjectTypeTextByKey
in interface EnterpriseProjectInternalTypeService
language
- Language Key
Constraints: Not nullable, Maximum length: 2
entProjectTypeInternal
- Project Type
Constraints: Not nullable, Maximum length: 15
EntProjectTypeText
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.