Class DefaultPdoFinder<T extends org.tentackle.pdo.PersistentDomainObject<T>>

  • Type Parameters:
    T - the PDO type
    All Implemented Interfaces:
    org.tentackle.fx.FxController, org.tentackle.pdo.DomainContextProvider, org.tentackle.pdo.PdoHolder<T>, org.tentackle.validate.ScopeConfigurator

    @FxControllerService(binding=NO)
    public class DefaultPdoFinder<T extends org.tentackle.pdo.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 Detail

      • DefaultPdoFinder

        public DefaultPdoFinder()
    • Method Detail

      • runSearch

        public javafx.collections.ObservableList<T> runSearch()
        Description copied from class: PdoFinder
        Runs the search.
        Specified by:
        runSearch in class PdoFinder<T extends org.tentackle.pdo.PersistentDomainObject<T>>
        Returns:
        the search result
      • getPdo

        public T getPdo()
      • setPdo

        public void setPdo​(T 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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.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 org.tentackle.pdo.PersistentDomainObject<T>>
        Returns:
        the search action property, null if there is no such property