###################################################################
# Copyright (C) 2006 RoyaltyShare, Inc.  All Rights Reserved
###################################################################

package BookPub::Script;

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

use base 'Common::Script';

sub _getProductionClientIDs {
    return Common::RSDB::GetAllBookPubClientIDs();
}

sub _getWebProductionClientIDs {
    return Common::RSDB::GetBookPubClientIDsByHost( Common::RSApp::GetRealHostname() );
}

sub _getLocalClientIDs {
    return Common::RSDB::GetLocalBookPubClientIDs();
}

sub _isValidClientType {
    my $self = shift;
    Common::RSDB::_isBookPubClient(shift);
}

1;
