Class DefaultPdoFinder<T extends PersistentDomainObject<T>>

Type Parameters:
T - the PDO type
All Implemented Interfaces:
FxController, PdoController<T>, DomainContextProvider, PdoProvider<T>, org.tentackle.validate.ScopeConfigurator

@FxControllerService(binding=NO) public class DefaultPdoFinder<T extends PersistentDomainObject<T>> extends PdoFinder<T>
The simple default finder.
Provides normtext-search criteria (if entity provides a normtext). If no normtext, all PDOs are selected immediately.
Author:
harald
  • Constructor Details

    • DefaultPdoFinder

      public DefaultPdoFinder()
  • Method Details

    • runSearch

      public List<T> runSearch()
      Description copied from class: PdoFinder
      Runs the search.
      Specified by:
      runSearch in class PdoFinder<T extends PersistentDomainObject<T>>
      Returns:
      the search result, null is allowed and treated as empty
    • getPdo

      public T getPdo()
    • setPdo

      public void setPdo(T pdo)
      Description copied from interface: PdoController
      Sets the PDO.
      Parameters:
      pdo - the pdo
    • isSearchRunningImmediately

      public boolean isSearchRunningImmediately()
      Description copied from class: PdoFinder
      Returns whether to run the search immediately without any futher user interaction.
      Overrides:
      isSearchRunningImmediately in class PdoFinder<T extends PersistentDomainObject<T>>
      Returns:
      true if immediate search
    • isVisible

      public boolean isVisible()
      Description copied from class: PdoFinder
      Returns whether the finder is visible.
      Overrides:
      isVisible in class PdoFinder<T extends PersistentDomainObject<T>>
      Returns:
      true if visible (default)
    • requestInitialFocus

      public void requestInitialFocus()
      Description copied from class: PdoFinder
      Requests the initial focus after stage is shown.
      Specified by:
      requestInitialFocus in class PdoFinder<T extends PersistentDomainObject<T>>
    • getSearchActionProperty

      public javafx.beans.property.ObjectProperty<javafx.event.EventHandler<javafx.event.ActionEvent>> getSearchActionProperty()
      Description copied from class: PdoFinder
      Gets the search action property.
      Specified by:
      getSearchActionProperty in class PdoFinder<T extends PersistentDomainObject<T>>
      Returns:
      the search action property, null if there is no such property