Class PersistSelector<T>

java.lang.Object
ch.tocco.nice2.persist.security.api.provider.PersistSelector<T>
All Implemented Interfaces:
EntityBasedSelector, Selector, Serializable
Direct Known Subclasses:
EntitySelectorFactory.EntitySelector, ManagerSelectorFactory.ManagerSelector

public abstract class PersistSelector<T> extends Object implements EntityBasedSelector
See Also:
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • select

      public boolean select(Object object)
      Specified by:
      select in interface Selector
    • contains

      public boolean contains(Selector selector)
      Specified by:
      contains in interface Selector
      Parameters:
      selector - another selector
      Returns:
      true if the argument is equal to or a subset of this collector
    • getEntities

      public Set<String> getEntities()
      Specified by:
      getEntities in interface EntityBasedSelector
      Returns:
      entities affected by this collector
    • getModel

      protected abstract EntityModel getModel(T object)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object