#------------------------------------------------------------
# Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved
# $Id$
#------------------------------------------------------------
package RPS::Report::Command::UKMechRetentionRunSummary;
use strict;
use warnings;

use lib '/app/tools/common/lib';
use Common::Util;

use lib '/app/tools/rps/lib';
use RPS::Report::UKMechRetentionRunSummary;
use RPS::Report::Command::BaseReport;
use RPS::DB::Item::UKMechanicalRun;

use base 'RPS::Report::Command::BaseReport';

sub cmd  { return 'uk_mech_retention_run_summary'; }
sub area { return 'report'; }

sub _getReport {
    my ( $self, $page ) = @_;

    my $runID = $self->getParam('run_id');
    return RPS::Report::UKMechRetentionRunSummary->new( page => $page, runID => $runID );
}

sub _getFilenamePrefix {
    my ($self) = @_;

    my $runID = $self->getParam('run_id');

    return "Retention_Run_Summary_$runID";

}

1;
