Interface TaskCodeService

All Known Implementing Classes:
DefaultTaskCodeService

@Deprecated public interface 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..

Business Documentation

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 Details

  • Method Details

    • withServicePath

      @Nonnull TaskCodeService withServicePath(@Nonnull String servicePath)
      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

      @Nonnull BatchRequestBuilder batch()
      Deprecated.
      Creates a batch request builder object.
      Returns:
      A request builder to handle batch operation on this service. To perform execution, call the execute method on the request builder object.
    • getAllTaskCode

      @Nonnull GetAllRequestBuilder<TaskCode> getAllTaskCode()
      Deprecated.
      Fetch multiple TaskCode entities.
      Returns:
      A request builder to fetch multiple TaskCode 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.
    • countTaskCode

      @Nonnull CountRequestBuilder<TaskCode> countTaskCode()
      Deprecated.
      Fetch the number of entries from the TaskCode entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of TaskCode 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.
    • getTaskCodeByKey

      @Nonnull GetByKeyRequestBuilder<TaskCode> getTaskCodeByKey(String taskCodeGroup, String taskCode)
      Deprecated.
      Fetch a single TaskCode entity using key fields.
      Parameters:
      taskCodeGroup - Group of Task Codes

      Constraints: Not nullable, Maximum length: 8

      taskCode - Code for Classification of a Task

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A request builder to fetch a single TaskCode 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.
    • getAllTaskCodeText

      @Nonnull GetAllRequestBuilder<TaskCodeText> getAllTaskCodeText()
      Deprecated.
      Fetch multiple TaskCodeText entities.
      Returns:
      A request builder to fetch multiple TaskCodeText 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.
    • countTaskCodeText

      @Nonnull CountRequestBuilder<TaskCodeText> countTaskCodeText()
      Deprecated.
      Fetch the number of entries from the TaskCodeText entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of TaskCodeText 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.
    • getTaskCodeTextByKey

      @Nonnull GetByKeyRequestBuilder<TaskCodeText> getTaskCodeTextByKey(String taskCodeGroup, String taskCode, String language)
      Deprecated.
      Fetch a single TaskCodeText entity using key fields.
      Parameters:
      taskCodeGroup - Group of Task Codes

      Constraints: Not nullable, Maximum length: 8

      taskCode - Code for Classification of a Task

      Constraints: Not nullable, Maximum length: 4

      language - Language Key

      Constraints: Not nullable, Maximum length: 2

      Returns:
      A request builder to fetch a single TaskCodeText 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.