Interface TaskCodeService
- All Known Implementing Classes:
DefaultTaskCodeService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
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.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.
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Creates a batch request builder object.- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllTaskCode
Deprecated.Fetch multipleTaskCodeentities. -
countTaskCode
Deprecated.Fetch the number of entries from theTaskCodeentity collection matching the filter and search expressions. -
getTaskCodeByKey
Deprecated.Fetch a singleTaskCodeentity using key fields.- 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.Fetch multipleTaskCodeTextentities.- 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.Fetch the number of entries from theTaskCodeTextentity collection matching the filter and search expressions.- 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 GetByKeyRequestBuilder<TaskCodeText> getTaskCodeTextByKey(String taskCodeGroup, String taskCode, String language) Deprecated.Fetch a singleTaskCodeTextentity using key fields.- 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.
-