Class Publication.AdateSelector

java.lang.Object
com.jalios.jcms.Publication.AdateSelector
All Implemented Interfaces:
DataSelector, Predicate<Data>
Enclosing class:
Publication

public static class Publication.AdateSelector extends Object implements DataSelector
AdateSelector selects all the publications with a adate in a given range
Since:
jcms-4.1.1
  • Constructor Details

    • AdateSelector

      public AdateSelector(Date begin, Date end)
  • Method Details

    • isSelected

      public boolean isSelected(Data data)
      Description copied from interface: DataSelector
      Evaluates if a data must be selected or not.
      Specified by:
      isSelected in interface DataSelector
      Parameters:
      data - the data to evaluate.
      Returns:
      true if the data is selected. False otherwise.