Class OperationTransactionImpl

java.lang.Object
ddf.catalog.operation.impl.OperationTransactionImpl
All Implemented Interfaces:
ddf.catalog.operation.OperationTransaction, Serializable

public class OperationTransactionImpl extends Object implements ddf.catalog.operation.OperationTransaction
Class for storing operation information. This is primarily for capturing the state before an operation is performed so it can be referenced later if needed.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from interface ddf.catalog.operation.OperationTransaction

    ddf.catalog.operation.OperationTransaction.OperationType
  • Constructor Summary

    Constructors
    Constructor
    Description
    OperationTransactionImpl(ddf.catalog.operation.OperationTransaction.OperationType type, Collection<ddf.catalog.data.Metacard> previousStateMetacards)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<ddf.catalog.data.Metacard>
     
    ddf.catalog.operation.OperationTransaction.OperationType
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OperationTransactionImpl

      public OperationTransactionImpl(ddf.catalog.operation.OperationTransaction.OperationType type, Collection<ddf.catalog.data.Metacard> previousStateMetacards)
  • Method Details

    • getPreviousStateMetacards

      public List<ddf.catalog.data.Metacard> getPreviousStateMetacards()
      Specified by:
      getPreviousStateMetacards in interface ddf.catalog.operation.OperationTransaction
    • getType

      public ddf.catalog.operation.OperationTransaction.OperationType getType()
      Specified by:
      getType in interface ddf.catalog.operation.OperationTransaction