Interface IOperable


public interface IOperable
Interface for objects supported Operations.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Perform the requested operation.
    boolean
    Check if an operation can be performed in the current object context.
  • Method Details

    • verifyOperation

      boolean verifyOperation(OperationRequest req)
      Check if an operation can be performed in the current object context.
      Parameters:
      req - an operation request
      Returns:
      true iff the operation can be performed
    • doOperation

      boolean doOperation(OperationRequest req)
      Perform the requested operation.
      Parameters:
      req - an operation request
      Returns:
      success indicator