Interface InstanceView<T>

  • Type Parameters:
    T - type of the instance this view corresponds to
    All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    CaseInstanceView, ProcessInstanceView, TaskInstanceView, TaskOperationView

    public interface InstanceView<T>
    extends Serializable
    Generic view of an instance that is triggering an event. This view is to provide simple data access to event data, though it does provide handle (getSource) to get hold of "raw" instance if more information is required.
    • Method Detail

      • getSource

        T getSource()
        Returns "raw" object instance for this view
        Returns:
        source of this view
      • copyFromSource

        void copyFromSource()
        Triggers to copy data from source to view. Different implementations of the view might have different needs on when this would happen. PersistentEventManager will invoke it before delivering if it was not done before.
      • getCompositeId

        String getCompositeId()
        Returns the id of the view. Might be used by implementors to determine if two views are representations of the same underlying object