libepp_nicbr
Functions
ContactFunctions.H File Reference

EPP Contact related functions. More...

#include "SheppCommandFunctions.H"
#include "ContactCheck.H"
#include "ContactInfo.H"
#include "ContactTransfer.H"
#include "ContactCreate.H"
#include "ContactUpdate.H"
#include "ContactDelete.H"

Go to the source code of this file.

Functions

int cmd_contact_help (string error_msg, string specific="")
 print contact command usage info More...
 
int cmd_contact_check (vector< string > &args)
 contact check command function More...
 
int cmd_contact_info (vector< string > &args)
 contact info command function More...
 
int cmd_contact_transfer (vector< string > &args)
 contact transfer command function More...
 
int cmd_contact_create (vector< string > &args)
 contact create command function More...
 
int cmd_contact_delete (vector< string > &args)
 contact delete command function More...
 
int cmd_contact_renew (vector< string > &args)
 contact renew command function More...
 
int cmd_contact_update (vector< string > &args)
 contact update command function More...
 
int cmd_contact (vector< string > &args)
 main contact command More...
 

Detailed Description

EPP Contact related functions.

Function Documentation

int cmd_contact ( vector< string > &  args)

main contact command

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

References cmd_contact_check(), cmd_contact_create(), cmd_contact_delete(), cmd_contact_help(), cmd_contact_info(), cmd_contact_renew(), cmd_contact_transfer(), and cmd_contact_update().

Referenced by init_commands().

int cmd_contact_check ( vector< string > &  args)

contact check command function

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

References cmd_contact_help(), ContactCheck::get_command(), ContactCheckCmd::get_id_list(), ContactCheckCmd::insert_id(), and process_action().

Referenced by cmd_contact().

int cmd_contact_create ( vector< string > &  args)
int cmd_contact_delete ( vector< string > &  args)

contact delete command function

Parameters
argsvector with command-line arguments
Returns
0

References cmd_contact_help(), ContactDelete::get_command(), process_action(), and ContactDeleteCmd::set_id().

Referenced by cmd_contact().

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

print contact 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_create(), cmd_brorg_info(), cmd_contact(), cmd_contact_check(), cmd_contact_create(), cmd_contact_delete(), cmd_contact_info(), cmd_contact_renew(), cmd_contact_transfer(), and cmd_contact_update().

int cmd_contact_info ( vector< string > &  args)
int cmd_contact_renew ( vector< string > &  args)

contact renew command function

Parameters
argsvector with command-line arguments
Returns
0

References cmd_contact_help().

Referenced by cmd_contact().

int cmd_contact_transfer ( vector< string > &  args)

contact transfer command function

Parameters
argsvector with command-line arguments
Returns
0

References SheppObjSet::authInfo(), cmd_contact_help(), ContactTransfer::get_command(), AuthInfo::get_roid_f(), process_action(), ContactTransferCmd::set_authInfo(), and ContactTransferCmd::set_id().

Referenced by cmd_contact().

int cmd_contact_update ( vector< string > &  args)

contact update command function

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

References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_contact_help(), SheppPrint::disclose(), SheppObjSet::disclose(), ContactUpdateCmd::get_authInfo(), ContactUpdate::get_command(), ContactUpdateCmd::get_common_data(), CommonData::get_disclose(), CommonData::get_email(), CommonData::get_email_f(), CommonData::get_fax(), CommonData::get_fax_f(), CommonData::get_id(), ContactUpdateCmd::get_language(), ContactUpdateCmd::get_password(), CommonData::get_postal_info(), ContactUpdateCmd::get_properties_add(), ContactUpdateCmd::get_properties_rem(), AuthInfo::get_pw(), ContactUpdateCmd::get_reminder(), AuthInfo::get_roid_f(), ContactUpdateCmd::get_status_list_add(), ContactUpdateCmd::get_status_list_rem(), CommonData::get_voice(), CommonData::get_voice_f(), CommonData::insert_postal_info(), ContactUpdateCmd::insert_property_add(), ContactUpdateCmd::insert_property_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(), CommonData::set_fax(), CommonData::set_id(), ContactUpdateCmd::set_language(), ContactUpdateCmd::set_password(), ContactUpdateCmd::set_reminder(), CommonData::set_voice(), and SheppStrUtil::split().

Referenced by cmd_contact().