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..

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
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultTaskCodeService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: TaskCodeService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface TaskCodeService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public BatchRequestBuilder batch()
      Deprecated.
      Description copied from interface: TaskCodeService
      Creates a batch request builder object.
      Specified by:
      batch in interface TaskCodeService
      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 public GetAllRequestBuilder<TaskCode> getAllTaskCode()
      Deprecated.
      Description copied from interface: TaskCodeService
      Fetch multiple TaskCode entities.
      Specified by:
      getAllTaskCode in interface TaskCodeService
      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 public CountRequestBuilder<TaskCode> countTaskCode()
      Deprecated.
      Description copied from interface: TaskCodeService
      Fetch the number of entries from the TaskCode entity collection matching the filter and search expressions.
      Specified by:
      countTaskCode in interface TaskCodeService
      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 public GetByKeyRequestBuilder<TaskCode> getTaskCodeByKey(String taskCodeGroup, String taskCode)
      Deprecated.
      Description copied from interface: TaskCodeService
      Fetch a single TaskCode entity using key fields.
      Specified by:
      getTaskCodeByKey in interface TaskCodeService
      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 public GetAllRequestBuilder<TaskCodeText> getAllTaskCodeText()
      Deprecated.
      Description copied from interface: TaskCodeService
      Fetch multiple TaskCodeText entities.
      Specified by:
      getAllTaskCodeText in interface TaskCodeService
      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 public CountRequestBuilder<TaskCodeText> countTaskCodeText()
      Deprecated.
      Description copied from interface: TaskCodeService
      Fetch the number of entries from the TaskCodeText entity collection matching the filter and search expressions.
      Specified by:
      countTaskCodeText in interface TaskCodeService
      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 public GetByKeyRequestBuilder<TaskCodeText> getTaskCodeTextByKey(String taskCodeGroup, String taskCode, String language)
      Deprecated.
      Description copied from interface: TaskCodeService
      Fetch a single TaskCodeText entity using key fields.
      Specified by:
      getTaskCodeTextByKey in interface TaskCodeService
      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.
    • getServicePath

      @Nonnull public String getServicePath()
      Deprecated.
      Specified by:
      getServicePath in interface ServiceWithNavigableEntities