Klasse DisplayEntityHistory.HistoryData

java.lang.Object
org.obrel.core.RelatedObject
org.obrel.core.SerializableRelatedObject
Alle implementierten Schnittstellen:
de.esoco.lib.event.EditListener<String>, de.esoco.lib.manage.Initializable, Serializable, org.obrel.core.Relatable
Umschließende Klasse:
DisplayEntityHistory

public static class DisplayEntityHistory.HistoryData extends InteractionFragment implements de.esoco.lib.event.EditListener<String>
A fragment that displays the value of a history record.
Siehe auch:
  • Felddetails

    • HISTORY_DATA_FRAGMENT

      public static final org.obrel.core.RelationType<List<org.obrel.core.RelationType<?>>> HISTORY_DATA_FRAGMENT
      A standard parameter that can be used to display this fragment as a sub-fragment.
  • Konstruktordetails

    • HistoryData

      public HistoryData(de.esoco.lib.property.Updatable optionsListener, boolean noteEditAllowed, boolean showOriginFilter)
      Creates a new instance.
      Parameter:
      optionsListener - A listener that will be notified of option changes
      noteEditAllowed - TRUE to allow the editing of history records of type HistoryRecord.HistoryType.NOTE
      showOriginFilter - TRUE to display a list of history origins to select from
  • Methodendetails

    • editFinished

      public void editFinished(String value, de.esoco.lib.event.EditListener.EditAction finishAction)
      Angegeben von:
      editFinished in Schnittstelle de.esoco.lib.event.EditListener<String>
    • editStarted

      public void editStarted(String value)
      Angegeben von:
      editStarted in Schnittstelle de.esoco.lib.event.EditListener<String>
    • getInputParameters

      public List<org.obrel.core.RelationType<?>> getInputParameters()
      Returns the collection of input parameters of this fragment. These must be a subset of InteractionFragment.getInteractionParameters(). The default implementation returns a mutable collection that can been modified directly by a subclass. Or it can be overridden by subclasses to return their own input parameter collection.
      Setzt außer Kraft:
      getInputParameters in Klasse InteractionFragment
      Gibt zurück:
      The list of this fragment's input parameters
    • getInteractionParameters

      public List<org.obrel.core.RelationType<?>> getInteractionParameters()
      Returns the list of interaction parameters for this fragment. The default implementation returns a mutable list that can been modified directly by a subclass. Or it can be overridden by subclasses to return their own interaction parameter list.
      Setzt außer Kraft:
      getInteractionParameters in Klasse InteractionFragment
      Gibt zurück:
      The list of this fragment's interaction parameters
    • init

      public void init() throws Exception
      Must be implemented to initialize the interaction parameters of this fragment.
      Angegeben von:
      init in Schnittstelle de.esoco.lib.manage.Initializable
      Angegeben von:
      init in Klasse InteractionFragment
      Löst aus:
      Exception - Any kind of exception may be thrown in case of errors
    • update

      public void update(HistoryRecord record, boolean stopEdit)
      Updates the display and state for a certain history record.
      Parameter:
      record - The history record (NULL to clear)
      stopEdit - TRUE if an active editor should be stopped