#------------------------------------------------------------
# Copyright (C) 2006 RoyaltyShare, Inc.   All Rights Reserved
# $Id$
#------------------------------------------------------------
package RPS::Publisher::BaseListLicensesForm;

use strict;
use warnings;
use lib '/app/tools/common/lib';
use Common::Assert;


use lib '/app/tools/rps/lib';
use Common::FormObject;
use RPS::Product::TypeList;


use base 'Common::FormObject';


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

	$self->SUPER::_init(%args);

    my $publisherID = $args{publisherID};
    my $payorID = $args{payorID};
    my $page = $args{page};

    assert($page);

    $self->{LicenseList} = $self->_getLicenseList($publisherID, $payorID, $page);
	$self->{ProductTypeList} = RPS::Product::TypeList->new(includeTrackProducts => 1);

	return $self;
}

sub _getLicenseList
{
    my ($publisherID, $payorID, $page) = @_;

    assert(0, 'override');
}


###
1;#
###
