#include <DomainCreateCmd.H>
Public Member Functions | |
DomainCreateCmd (bool reset=true) | |
Default constructor. | |
void | set_name (const string &name) |
Sets domain name. | |
string | get_name () const |
Returns domain name. | |
void | set_period (const int time, const string &unit) |
Sets domain registration period. | |
RegistrationPeriod | get_period () const |
Returns domain registration period. | |
void | insert_nameserver (const struct NameServer &nameserver) |
Inserts a nameserver to the list of nameservers. | |
vector< struct NameServer > | get_nameservers () const |
Returns a list of nameservers. | |
void | set_registrant (const string ®istrant) |
Sets registrant. | |
string | get_registrant () const |
Returns registrant. | |
void | insert_contact (const string &type, const string &identification) |
Inserts a contact in the map of other contacts. | |
map< string, string, less < string > > | get_contacts () const |
Returns map of other contacts. | |
void | set_authInfo (const AuthInfo &authInfo) |
Sets authorization information. | |
AuthInfo | get_authInfo () const |
Returns authorization information. | |
void | add_dsInfo (const DSInfo &ds_info) |
Sets ds info attribute. | |
list< DSInfo > | get_dsInfo () const |
Returns ds info attribute. | |
bool | has_extension () const |
Check if there is any extension. | |
bool | has_ds_extension () const |
Check if there is secDNS extension. | |
void | reset () |
Reset object attributes. | |
Protected Attributes | |
string | _name |
fully qualified domain name | |
RegistrationPeriod | _period |
initial registration period of the domain object | |
vector< struct NameServer > | _nameservers |
name servers associated with domain object | |
string | _registrant |
registrant | |
map< string, string, less < string > > | _contacts |
other contact objects | |
AuthInfo | _authInfo |
Authorization information. | |
list< DSInfo > | _ds_info |
DS info. |
void DomainCreateCmd::add_dsInfo | ( | const DSInfo & | ds_info | ) | [inline] |
Sets ds info attribute.
ds | info attribute |
References _ds_info.
Referenced by cmd_domain_create().
AuthInfo DomainCreateCmd::get_authInfo | ( | ) | const [inline] |
Returns authorization information.
References _authInfo.
Referenced by cmd_domain_create().
map< string, string, less<string> > DomainCreateCmd::get_contacts | ( | ) | const [inline] |
Returns map of other contacts.
References _contacts.
Referenced by cmd_domain_create().
list<DSInfo> DomainCreateCmd::get_dsInfo | ( | ) | const [inline] |
string DomainCreateCmd::get_name | ( | ) | const [inline] |
Returns domain name.
References _name.
Referenced by cmd_domain_create().
vector<struct NameServer> DomainCreateCmd::get_nameservers | ( | ) | const [inline] |
Returns a list of nameservers.
References _nameservers.
Referenced by cmd_domain_create().
RegistrationPeriod DomainCreateCmd::get_period | ( | ) | const [inline] |
Returns domain registration period.
References _period.
Referenced by cmd_domain_create().
string DomainCreateCmd::get_registrant | ( | ) | const [inline] |
Returns registrant.
References _registrant.
Referenced by cmd_domain_create().
void DomainCreateCmd::insert_contact | ( | const string & | type, | |
const string & | identification | |||
) | [inline] |
Inserts a contact in the map of other contacts.
type | contact type | |
identification | contact identification |
References _contacts.
Referenced by cmd_domain_create().
void DomainCreateCmd::insert_nameserver | ( | const struct NameServer & | nameserver | ) | [inline] |
Inserts a nameserver to the list of nameservers.
nameserver | a name server |
References _nameservers.
Referenced by cmd_domain_create().
void DomainCreateCmd::set_authInfo | ( | const AuthInfo & | authInfo | ) | [inline] |
Sets authorization information.
authInfo | domain authorization information |
References _authInfo.
Referenced by cmd_domain_create().
void DomainCreateCmd::set_name | ( | const string & | name | ) | [inline] |
Sets domain name.
name | fully qualified domain name |
References _name.
Referenced by cmd_domain_create().
void DomainCreateCmd::set_period | ( | const int | time, | |
const string & | unit | |||
) | [inline] |
Sets domain registration period.
time | amount of time | |
unit | measure unit |
References _period.
Referenced by cmd_domain_create().
void DomainCreateCmd::set_registrant | ( | const string & | registrant | ) | [inline] |
Sets registrant.
registrant | registrant identification |
References _registrant.
Referenced by cmd_domain_create().