Interface ChangeStateOperations


public interface ChangeStateOperations
Provides state operations for the EBX™ Match and Merge Add-on. These operations must be called within different EBX context, such as: user service, script/user task.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    updateState(com.onwbp.adaptation.AdaptationTable table, State targetState)
    Updates the states for an entire EBX table.
    void
    updateState(com.onwbp.adaptation.AdaptationTable table, State targetState, com.onwbp.adaptation.Request request)
    Updates the states for records with a specific request on a EBX table
  • Method Details

    • updateState

      void updateState(com.onwbp.adaptation.AdaptationTable table, State targetState) throws com.orchestranetworks.addon.mame.common.InvalidStateException, com.orchestranetworks.service.OperationException, com.orchestranetworks.addon.mame.common.InvalidParameterException

      Updates the states for an entire EBX table.

      Parameters:
      table - An EBX table
      targetState - The target state of the record
      Throws:
      com.orchestranetworks.addon.mame.common.InvalidStateException - When one of the following errors occur: 1. Another process is operating 2. Dataspace locked by another process 3. Dataspace locked by undefined process
      com.orchestranetworks.service.OperationException - when unexpected errors occurs
      com.orchestranetworks.addon.mame.common.InvalidParameterException - when the EBX table does not exist
    • updateState

      void updateState(com.onwbp.adaptation.AdaptationTable table, State targetState, com.onwbp.adaptation.Request request) throws com.orchestranetworks.addon.mame.common.InvalidStateException, com.orchestranetworks.service.OperationException, com.orchestranetworks.addon.mame.common.NotFoundException, com.orchestranetworks.addon.mame.common.InvalidParameterException

      Updates the states for records with a specific request on a EBX table

      Parameters:
      table - An EBX table
      targetState - The target state of the record
      request - Request from an EBX table
      Throws:
      com.orchestranetworks.addon.mame.common.InvalidStateException - when one of the following errors occur: 1. Another process is operating 2. Dataspace locked by another process 3. Dataspace locked by undefined process
      com.orchestranetworks.service.OperationException - When unexpected errors occurs
      com.orchestranetworks.addon.mame.common.NotFoundException - When a resource requested by the client was not found by the server
      com.orchestranetworks.addon.mame.common.InvalidParameterException - When the EBX table does not exist