#include "SheppCommandFunctions.H"
#include "ContactCheck.H"
#include "ContactInfo.H"
#include "ContactCreate.H"
#include "ContactUpdate.H"
Go to the source code of this file.
Functions | |
int | cmd_contact_help (string error_msg, string specific="") |
print contact command usage info | |
int | cmd_contact_check (vector< string > &args) |
contact check command function | |
int | cmd_contact_info (vector< string > &args) |
contact info command function | |
int | cmd_contact_transfer (vector< string > &args) |
contact transfer command function | |
int | cmd_contact_create (vector< string > &args) |
contact create command function | |
int | cmd_contact_delete (vector< string > &args) |
contact delete command function | |
int | cmd_contact_renew (vector< string > &args) |
contact renew command function | |
int | cmd_contact_update (vector< string > &args) |
contact update command function | |
int | cmd_contact (vector< string > &args) |
main contact command |
int cmd_contact | ( | vector< string > & | args | ) |
main contact command
arg | command-line input arguments |
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
args | vector with command-line arguments |
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 | ) |
contact create command function
args | vector with command-line arguments |
References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_contact_help(), SheppPrint::disclose(), SheppObjSet::disclose(), ContactCreateCmd::get_authInfo(), ContactCreate::get_command(), ContactCreateCmd::get_common_data(), CommonData::get_disclose(), CommonData::get_email(), CommonData::get_fax(), CommonData::get_id(), CommonData::get_postal_info(), CommonData::get_voice(), CommonData::insert_postal_info(), SheppPrint::phone(), SheppObjSet::phone(), SheppPrint::postal_info(), SheppObjSet::postalInfo(), process_action(), ContactCreateCmd::set_authInfo(), ContactCreateCmd::set_common_data(), CommonData::set_disclose(), CommonData::set_email(), CommonData::set_fax(), CommonData::set_id(), and CommonData::set_voice().
Referenced by cmd_contact().
int cmd_contact_delete | ( | vector< string > & | args | ) |
contact delete command function
args | vector with command-line arguments |
References cmd_contact_help().
Referenced by cmd_contact().
int cmd_contact_help | ( | string | error_msg, | |
string | specific = "" | |||
) |
print contact command usage info
error_msg | error message to be printed | |
specific | optional, choses specific sub-command |
Referenced by 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 | ) |
contact info command function
args | vector with command-line arguments |
References SheppPrint::authInfo(), SheppObjSet::authInfo(), cmd_contact_help(), ContactInfoCmd::get_authInfo(), ContactInfo::get_command(), ContactInfoCmd::get_id(), process_action(), ContactInfoCmd::set_authInfo(), and ContactInfoCmd::set_id().
Referenced by cmd_contact().
int cmd_contact_renew | ( | vector< string > & | args | ) |
contact renew command function
args | vector with command-line arguments |
References cmd_contact_help().
Referenced by cmd_contact().
int cmd_contact_transfer | ( | vector< string > & | args | ) |
contact transfer command function
args | vector with command-line arguments |
References cmd_contact_help().
Referenced by cmd_contact().
int cmd_contact_update | ( | vector< string > & | args | ) |
contact update command function
args | vector with command-line arguments |
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(), CommonData::get_postal_info(), AuthInfo::get_pw(), ContactUpdateCmd::get_status_list_add(), ContactUpdateCmd::get_status_list_rem(), CommonData::get_voice(), CommonData::get_voice_f(), CommonData::insert_postal_info(), ContactUpdateCmd::insert_status_list_add(), ContactUpdateCmd::insert_status_list_rem(), SheppPrint::phone(), SheppObjSet::phone(), SheppPrint::postal_info(), SheppObjSet::postalInfo(), process_action(), ContactUpdateCmd::set_authInfo(), ContactUpdateCmd::set_common_data(), CommonData::set_disclose(), CommonData::set_email(), CommonData::set_fax(), CommonData::set_id(), CommonData::set_voice(), and SheppStrUtil::split().
Referenced by cmd_contact().