public function loadHistoryForReport($reportUri, $limitByCurrentUser = true, $options = array()) {
        //Setup the options array
        $options['resource'] = $reportUri;

        //Restrict by the user if requested
        if ($limitByCurrentUser) {
            $options['username'] = $this->securityContext->getToken()->getUsername();
        }

        //Call the repository class and return the record entries
        return $this->getReportHistoryRepository()->filter($options);
    }