DeregisterServiceType


NAME

DeregisterServiceType.pl - Script to register a new BioMOBY Service Type

Top


SYNOPSIS

DeregisterServiceType.pl --central_conf=``list_of_central_config_files'' --servicetype_conf=``list_of_servicetype_config_files''

Top


DESCRIPTION

 This script permit to deregister a new BioMOBY service type 
 using 2 types of configuration files:

 * central_conf:
    This file contains where to deregister your object,
    which mobycentral
    You can give a list of config files to deregister
    many centrals in one shot !

 * servicetype_conf:
    This file contains information on the service type,
    like, type, description, URI, relationships
    You can give a list of config files: in that case,
    if a key is duplicated, the last value (in the 
    same order as your file list) overwrite the previous.

Top


SUBROUTINES

function GetRelationShips

 Title        : GetRelationShips
 Usage        : &GetRelationShips()
 Prerequisite : none
 Function     : Parse config file to get Relationships descriptions
 Returns      : $rh_relationships
 Args         : none
 Globals      : $RH_PARAM

procedure executeDeregistering

 Title        : executeDeregistering
 Usage        : &executeDeregistering($rh_relationships)
 Prerequisite : none
 Function     : Execute service type deregistering on each mobycentral given as parameters
 Returns      : undef if OK 
 Args         : $rh_relationships Hash ref for relationships definitions
 Globals      : $RH_PARAM

procedure ControlUsage

 Title        : ControlUsage
 Usage        : &ControlUsage()
 Prerequisite : none
 Function     : Control usage of program
 Returns      : undef if OK 
 Args         : $param_name Param to control
 Globals      : $RH_PARAM

procedure PrintUsage

 Title        : PrintUsage
 Usage        : &PrintUsage()
 Prerequisite : none
 Function     : print usage of the program
 Returns      : none 
 Args         : none
 Globals      : none

Top

 DeregisterServiceType