libepp_nicbr
Functions
BrOrgFunctions.H File Reference

EPP BrOrg related functions. More...

#include "SheppCommandFunctions.H"
#include "BrOrgCheck.H"
#include "BrOrgInfo.H"
#include "BrOrgCreate.H"
#include "BrOrgUpdate.H"
#include "BrOrgDelete.H"

Go to the source code of this file.

Functions

int cmd_brorg_help (string error_msg, string specific="")
 print brorg command usage info More...
 
int cmd_brorg_check (vector< string > &args)
 brorg check command function More...
 
int cmd_brorg_info (vector< string > &args)
 brorg info command function More...
 
int cmd_brorg_transfer (vector< string > &args)
 brorg transfer command function More...
 
int cmd_brorg_create (vector< string > &args)
 brorg create command function More...
 
int cmd_brorg_delete (vector< string > &args)
 brorg delete command function More...
 
int cmd_brorg_renew (vector< string > &args)
 brorg renew command function More...
 
int cmd_brorg_update (vector< string > &args)
 brorg update command function More...
 
int cmd_brorg (vector< string > &args)
 main brorg command More...
 

Detailed Description

EPP BrOrg related functions.

Function Documentation

int cmd_brorg ( vector< string > &  args)

main brorg command

Parameters
argcommand-line input arguments
Returns
0 if ok, -1 otherwise

References cmd_brorg_check(), cmd_brorg_create(), cmd_brorg_delete(), cmd_brorg_help(), cmd_brorg_info(), cmd_brorg_renew(), cmd_brorg_transfer(), and cmd_brorg_update().

Referenced by init_commands().

int cmd_brorg_check ( vector< string > &  args)

brorg check command function

Parameters
argsvector with command-line arguments
Returns
0 if ok, -1 otherwise

References cmd_brorg_help(), SheppStrUtil::doc2id(), BrOrgCheck::get_command(), ContactCheckCmd::get_id_list(), BrOrgCheckCmd::get_organization_list(), ContactCheckCmd::insert_id(), BrOrgCheckCmd::insert_organization(), and process_action().

Referenced by cmd_brorg().

int cmd_brorg_create ( vector< string > &  args)

brorg create command function

Parameters
argsvector with command-line arguments
Returns
0 if ok, -1 otherwise

References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_brorg_help(), cmd_contact_help(), SheppObjSet::contacts(), SheppPrint::disclose(), SheppObjSet::disclose(), SheppStrUtil::doc2id(), ContactCreateCmd::get_authInfo(), BrOrgCreate::get_command(), ContactCreateCmd::get_common_data(), BrOrgCreateCmd::get_contact_list(), CommonData::get_disclose(), CommonData::get_email(), BrOrgCreateCmd::get_epp_ips(), BrOrgCreateCmd::get_epp_password(), CommonData::get_fax(), CommonData::get_id(), BrOrgCreateCmd::get_organization(), CommonData::get_postal_info(), BrOrgCreateCmd::get_renewal_types(), BrOrgCreateCmd::get_resources_class(), AuthInfo::get_roid_f(), BrOrgCreateCmd::get_type(), CommonData::get_voice(), BrOrgCreateCmd::insert_contact(), BrOrgCreateCmd::insert_epp_ip(), CommonData::insert_postal_info(), BrOrgCreateCmd::insert_renewal_type(), SheppPrint::phone(), SheppObjSet::phone(), SheppPrint::postal_info(), SheppObjSet::postalInfo(), process_action(), SheppStrUtil::quote_gathering(), ContactCreateCmd::set_authInfo(), ContactCreateCmd::set_common_data(), CommonData::set_disclose(), CommonData::set_email(), BrOrgCreateCmd::set_epp_password(), CommonData::set_fax(), CommonData::set_id(), BrOrgCreateCmd::set_organization(), BrOrgCreateCmd::set_resources_class(), BrOrgCreateCmd::set_responsible(), BrOrgCreateCmd::set_type(), and CommonData::set_voice().

Referenced by cmd_brorg().

int cmd_brorg_delete ( vector< string > &  args)

brorg delete command function

Parameters
argsvector with command-line arguments
Returns
0

References cmd_brorg_help(), SheppStrUtil::doc2id(), BrOrgDelete::get_command(), process_action(), ContactDeleteCmd::set_id(), and BrOrgDeleteCmd::set_organization().

Referenced by cmd_brorg().

int cmd_brorg_help ( string  error_msg,
string  specific = "" 
)

print brorg command usage info

Parameters
error_msgerror message to be printed
specificoptional, choses specific sub-command
Returns
0 if ok, -1 otherwise

Referenced by cmd_brorg(), cmd_brorg_check(), cmd_brorg_create(), cmd_brorg_delete(), cmd_brorg_info(), cmd_brorg_renew(), cmd_brorg_transfer(), and cmd_brorg_update().

int cmd_brorg_info ( vector< string > &  args)
int cmd_brorg_renew ( vector< string > &  args)

brorg renew command function

Parameters
argsvector with command-line arguments
Returns
0

References cmd_brorg_help().

Referenced by cmd_brorg().

int cmd_brorg_transfer ( vector< string > &  args)

brorg transfer command function

Parameters
argsvector with command-line arguments
Returns
0

References cmd_brorg_help().

Referenced by cmd_brorg().

int cmd_brorg_update ( vector< string > &  args)

brorg update command function

Parameters
argsvector with command-line arguments
Returns
0 if ok, -1 otherwise

References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_brorg_help(), SheppObjSet::contacts(), SheppPrint::disclose(), SheppObjSet::disclose(), SheppStrUtil::doc2id(), ContactUpdateCmd::get_authInfo(), BrOrgUpdate::get_command(), ContactUpdateCmd::get_common_data(), BrOrgUpdateCmd::get_contact_list_add(), BrOrgUpdateCmd::get_contact_list_rem(), CommonData::get_disclose(), CommonData::get_email(), BrOrgUpdateCmd::get_epp_ips_add(), BrOrgUpdateCmd::get_epp_ips_rem(), BrOrgUpdateCmd::get_epp_password(), BrOrgUpdateCmd::get_epp_status(), CommonData::get_fax(), CommonData::get_id(), BrOrgUpdateCmd::get_organization(), CommonData::get_postal_info(), AuthInfo::get_pw(), BrOrgUpdateCmd::get_renewal_types_add(), BrOrgUpdateCmd::get_renewal_types_rem(), BrOrgUpdateCmd::get_resources_class(), AuthInfo::get_roid_f(), ContactUpdateCmd::get_status_list_add(), ContactUpdateCmd::get_status_list_rem(), BrOrgUpdateCmd::get_type(), CommonData::get_voice(), BrOrgUpdateCmd::insert_contact_add(), BrOrgUpdateCmd::insert_contact_rem(), BrOrgUpdateCmd::insert_epp_ip_add(), BrOrgUpdateCmd::insert_epp_ip_rem(), CommonData::insert_postal_info(), BrOrgUpdateCmd::insert_renewal_type_add(), BrOrgUpdateCmd::insert_renewal_type_rem(), ContactUpdateCmd::insert_status_list_add(), ContactUpdateCmd::insert_status_list_rem(), SheppPrint::phone(), SheppObjSet::phone(), SheppPrint::postal_info(), SheppObjSet::postalInfo(), process_action(), SheppStrUtil::quote_gathering(), ContactUpdateCmd::set_authInfo(), ContactUpdateCmd::set_common_data(), CommonData::set_disclose(), CommonData::set_email(), BrOrgUpdateCmd::set_epp_password(), BrOrgUpdateCmd::set_epp_status(), BrOrgUpdateCmd::set_exDate(), CommonData::set_fax(), CommonData::set_id(), BrOrgUpdateCmd::set_organization(), BrOrgUpdateCmd::set_password(), BrOrgUpdateCmd::set_resources_class(), BrOrgUpdateCmd::set_responsible(), BrOrgUpdateCmd::set_suspended(), BrOrgUpdateCmd::set_type(), CommonData::set_voice(), and SheppStrUtil::split().

Referenced by cmd_brorg().