#------------------------------------------------------------
# Copyright (C) 2015 RoyaltyShare, Inc.   All Rights Reserved
#------------------------------------------------------------
package RPS::Report::Dynamic::Sales::SourceFieldHash;

use strict;
use warnings;

use lib '/app/tools/common/lib';
use lib '/app/tools/rps/lib';

use RPS::Report::Dynamic::Sales::SourceField;

use base 'Common::FormHash';

sub _tagName { 'SourceField' }

sub _keyMethodName { 'ReportParamSourceFieldKey' }

sub _getItemCollection {
    my ( $self, %args ) = @_;

    if ( !$args{reportID} ) {
        return undef;
    }

    my $collection;
    return $collection;
}

sub _getNewObject {
    my ( $self, %args ) = @_;

    return RPS::Report::Dynamic::Sales::CatalogField->new();
}

sub _getObjectFromDBItem {
    die "not overloaded";

    #pull report parameter by dbitem
}

1;
