Interface ReportSort

    • Method Detail

      • getSortOrder

        Long getSortOrder()
        Get the value for SortOrder. (The priority ordered of the sort.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • isAscending

        boolean isAscending()
        Get the value for Ascending. (Whether the sort is ascending or not.)
        Returns:
        the field
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setSortOrder

        void setSortOrder​(Long newSortOrder)
        Set the value for SortOrder. (The priority ordered of the sort.) This value is mandatory.
        Parameters:
        newSortOrder - the new value for SortOrder. If this is null, then the object cannot be persisted.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setAscending

        void setAscending​(boolean newAscending)
        Set the value for Ascending. (Whether the sort is ascending or not.)
        Parameters:
        newAscending - the new value for Ascending.
        Throws:
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getReport

        Report getReport()
        Get the Report.
        Returns:
        Report
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • getReportColumn

        ReportColumn getReportColumn()
        Get the ReportColumn.
        Returns:
        ReportColumn
        Throws:
        com.redwood.scheduler.api.exception.ObjectDeletedException - If this method is called when the object has been marked for deletion.
        com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException - If this method is called when the object has been removed from it's session.
      • setReportColumn

        void setReportColumn​(ReportColumn newReportColumn)
        Set the value for ReportColumn. This value is mandatory.
        Parameters:
        newReportColumn - is the object to set ReportColumn to. The ReportColumn of this ReportSort If this is null, then the object cannot be persisted.