Class BlogService.RangedDateProperty

java.lang.Object
org.alfresco.service.cmr.blog.BlogService.RangedDateProperty
Enclosing interface:
BlogService

public static class BlogService.RangedDateProperty extends Object
A simple data object for expressing a date range search parameter.
  • Constructor Details

    • RangedDateProperty

      public RangedDateProperty(Date fromDate, Date toDate, QName dateProperty)
      Constructs a ConstrainedDateProperty object.
      Parameters:
      fromDate - the start date for the range (can be null for unbounded lower)
      toDate - the end date for the range (can be null for unbounded upper)
      dateProperty - the Alfresco node property which is to be checked against the range. (must be a valid date or datetime property)
  • Method Details

    • getFromDate

      public Date getFromDate()
    • getToDate

      public Date getToDate()
    • getDateProperty

      public QName getDateProperty()