Interface ChangeItemOriginationHandler

All Known Implementing Classes:
DefaultChangeItemOriginationHandler

public interface ChangeItemOriginationHandler
Validates if the originatedBy and originatingLocation is a valid for the change item.

Supported API: true

Extendable: true
  • Method Details

    • setChangeItem

      void setChangeItem(VersionableChangeItem changeItem)
      Setter method for the change item

      Supported API: true
      Parameters:
      changeItem -
    • getChangeItem

      VersionableChangeItem getChangeItem()
      The change item is stored on the handler when instantiated.

      Supported API: true
      Returns:
      the change item
    • getSupportedOriginatedByClasses

      Class<?>[] getSupportedOriginatedByClasses()
      An array of supported classes for originatedBy attribute on a change item.

      Supported API: true
    • getSupportedOriginatingLocationClasses

      Class<?>[] getSupportedOriginatingLocationClasses()
      An array of supported classes for originatingLocation attribute on a change item.

      Supported API: true
    • isOriginatedByValid

      boolean isOriginatedByValid(ObjectReference originatedBy)
      Validates if the originatedBy is a valid for the change item.

      Supported API: true
      Parameters:
      originatedBy - - the proposed originatedBy value
      Returns:
      true if valid
    • isOriginatingLocationValid

      boolean isOriginatingLocationValid(ObjectReference originatingLocation)
      Validates if the originatingLocation is a valid for the change item.

      Supported API: true
      Parameters:
      originatingLocation - - the proposed originatingLocation value
      Returns:
      true if valid