Class DefaultTaskCodeService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultTaskCodeService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,TaskCodeService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultTaskCodeService")
@Deprecated
public class DefaultTaskCodeService
extends Object
implements ServiceWithNavigableEntities, TaskCodeService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
You can read data of task codes or task code short texts and the task code group they are assigned to..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | TASKCODE_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Maintenance Processing Integration(SAP_COM_0397) |
| Scope Items: | Reactive Maintenance(4HH), Proactive Maintenance(4HI), Improvement Maintenance(4VT), Operational and Overhead Maintenance(4WM), Corrective Maintenance(BH1), Emergency Maintenance(BH2), Preventive Maintenance(BJ2), Reactive Maintenance(OHH), Proactive Maintenance(OHI), Improvement Maintenance(OVT), Operational and Overhead Maintenance(OWM) |
| Authentication Methods: | x509 |
| Service Group Name: | API_TASKCODE |
| Business Object: | Code Group for Tasks |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.TaskCodeService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingTaskCodeService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theTaskCodeentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theTaskCodeTextentity collection matching the filter and search expressions.Deprecated.Fetch multipleTaskCodeentities.Deprecated.Fetch multipleTaskCodeTextentities.Deprecated.getTaskCodeByKey(String taskCodeGroup, String taskCode) Deprecated.Fetch a singleTaskCodeentity using key fields.getTaskCodeTextByKey(String taskCodeGroup, String taskCode, String language) Deprecated.Fetch a singleTaskCodeTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultTaskCodeService
public DefaultTaskCodeService()Deprecated.Creates a service usingTaskCodeService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:TaskCodeServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceTaskCodeService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:TaskCodeServiceCreates a batch request builder object.- Specified by:
batchin interfaceTaskCodeService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllTaskCode
Deprecated.Description copied from interface:TaskCodeServiceFetch multipleTaskCodeentities.- Specified by:
getAllTaskCodein interfaceTaskCodeService- Returns:
- A request builder to fetch multiple
TaskCodeentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countTaskCode
Deprecated.Description copied from interface:TaskCodeServiceFetch the number of entries from theTaskCodeentity collection matching the filter and search expressions.- Specified by:
countTaskCodein interfaceTaskCodeService- Returns:
- A request builder to fetch the count of
TaskCodeentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getTaskCodeByKey
@Nonnull public GetByKeyRequestBuilder<TaskCode> getTaskCodeByKey(String taskCodeGroup, String taskCode) Deprecated.Description copied from interface:TaskCodeServiceFetch a singleTaskCodeentity using key fields.- Specified by:
getTaskCodeByKeyin interfaceTaskCodeService- Parameters:
taskCodeGroup- Group of Task CodesConstraints: Not nullable, Maximum length: 8
taskCode- Code for Classification of a TaskConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
TaskCodeentity 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 theexecutemethod on the request builder object.
-
getAllTaskCodeText
Deprecated.Description copied from interface:TaskCodeServiceFetch multipleTaskCodeTextentities.- Specified by:
getAllTaskCodeTextin interfaceTaskCodeService- Returns:
- A request builder to fetch multiple
TaskCodeTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countTaskCodeText
Deprecated.Description copied from interface:TaskCodeServiceFetch the number of entries from theTaskCodeTextentity collection matching the filter and search expressions.- Specified by:
countTaskCodeTextin interfaceTaskCodeService- Returns:
- A request builder to fetch the count of
TaskCodeTextentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getTaskCodeTextByKey
@Nonnull public GetByKeyRequestBuilder<TaskCodeText> getTaskCodeTextByKey(String taskCodeGroup, String taskCode, String language) Deprecated.Description copied from interface:TaskCodeServiceFetch a singleTaskCodeTextentity using key fields.- Specified by:
getTaskCodeTextByKeyin interfaceTaskCodeService- Parameters:
taskCodeGroup- Group of Task CodesConstraints: Not nullable, Maximum length: 8
taskCode- Code for Classification of a TaskConstraints: Not nullable, Maximum length: 4
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A request builder to fetch a single
TaskCodeTextentity 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 theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-