Class BlogService.RangedDateProperty

  • Enclosing interface:
    BlogService

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

      Constructors 
      Constructor Description
      RangedDateProperty​(java.util.Date fromDate, java.util.Date toDate, org.alfresco.service.namespace.QName dateProperty)
      Constructs a ConstrainedDateProperty object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.alfresco.service.namespace.QName getDateProperty()  
      java.util.Date getFromDate()  
      java.util.Date getToDate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RangedDateProperty

        public RangedDateProperty​(java.util.Date fromDate,
                                  java.util.Date toDate,
                                  org.alfresco.service.namespace.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 Detail

      • getFromDate

        public java.util.Date getFromDate()
      • getToDate

        public java.util.Date getToDate()
      • getDateProperty

        public org.alfresco.service.namespace.QName getDateProperty()