#include <DomainUpdateCmd.H>
Inheritance diagram for DomainUpdateCmd:
Public Member Functions | |
DomainUpdateCmd (bool reset=true) | |
Default constructor. | |
void | set_name (string name) |
Sets domain name. | |
string | get_name () |
Returns domain name. | |
void | insert_nameserver_add (const struct NameServer &nameserver_add) |
Inserts a nameserver_add to the list of nameservers. | |
vector< struct NameServer > | get_nameserver_add () |
Returns a list of nameserver_add. | |
void | insert_nameserver_rem (const struct NameServer &nameserver_rem) |
Inserts a nameserver_rem to the list of nameservers. | |
vector< struct NameServer > | get_nameserver_rem () |
Returns a list of nameserver_rem. | |
void | insert_contact_add (string type, string identification) |
Inserts a contact_add in the map of contacts. | |
map< string, string, less< string > > | get_contact_add () |
Returns map of contacts. | |
void | insert_contact_rem (string type, string identification) |
Inserts a contact_rem in the map of contacts. | |
map< string, string, less< string > > | get_contact_rem () |
Returns map of contacts. | |
void | insert_status_add (const struct Status &status_add) |
Changes a status_add. | |
set< struct Status > | get_status_add () |
Returns set of domain status_add. | |
void | insert_status_rem (const struct Status &status_rem) |
Changes a status_rem in _status_rem. | |
set< struct Status > | get_status_rem () |
Returns set of domain status_rem. | |
void | set_registrant (const string ®istrant) |
Sets registrant. | |
string | get_registrant () |
Returns registrant. | |
void | set_registrant_f (bool registrant_f) |
Sets the registrant change flag. | |
bool | get_registrant_f () |
Returns the registrant change flag. | |
void | set_authInfo (const AuthInfo &authInfo) |
Sets authorization information. | |
AuthInfo | get_authInfo () |
Returns authorization information. | |
void | insert_ds_add (const DSInfo &ds_info) |
Inserts one ds into the ds addition list. | |
list< DSInfo > | get_ds_add () |
Returns the ds addition list. | |
void | insert_ds_rem (const unsigned int &key_tag) |
Inserts one ds into the ds removal list. | |
list< unsigned int > | get_ds_rem () |
Returns the ds removal list. | |
void | insert_ds_chg (const DSInfo &ds_info) |
Inserts one ds into the ds change list. | |
list< DSInfo > | get_ds_chg () |
Returns the ds change list. | |
void | setUrgentFlag (bool urgentFlag) |
Sets RFC4310 optional "urgent" attribute for domain:update. | |
bool | isUrgent () |
Getter for RFC4310 optional "urgent" attribute for domain:update. | |
bool | has_extension () |
Check if there is any extension. | |
bool | has_ds_extension () |
Check if there is secDNS extension. | |
void | reset () |
Reset object attributes. | |
Protected Attributes | |
string | _name |
fully qualified domain name | |
vector< struct NameServer > | _nameserver_add |
name servers to be added to the domain object | |
vector< struct NameServer > | _nameserver_rem |
name servers to be removed from the domain object | |
map< string, string, less< string > > | _contact_add |
contacts to be added to the domain object | |
map< string, string, less< string > > | _contact_rem |
contacts to be removed from the domain object | |
set< struct Status > | _status_add |
set of status to be added to the domain object | |
set< struct Status > | _status_rem |
set of status to be removed from the domain object | |
string | _registrant |
registrant | |
bool | _registrant_f |
registrant change flag | |
AuthInfo | _authInfo |
authorization information | |
list< DSInfo > | _ds_add |
list of ds to be added to the domain object | |
list< unsigned int > | _ds_rem |
list of ds (identified by key tags) to be removed from the domain object | |
list< DSInfo > | _ds_chg |
list of ds to be changed in the domain object | |
bool | _urgentFlag |
optinal domain:update urgent flag | |
Classes | |
struct | Status |
AuthInfo DomainUpdateCmd::get_authInfo | ( | ) | [inline] |
Returns authorization information.
map< string, string, less<string> > DomainUpdateCmd::get_contact_add | ( | ) | [inline] |
Returns map of contacts.
map< string, string, less<string> > DomainUpdateCmd::get_contact_rem | ( | ) | [inline] |
Returns map of contacts.
list<DSInfo> DomainUpdateCmd::get_ds_add | ( | ) | [inline] |
Returns the ds addition list.
list<DSInfo> DomainUpdateCmd::get_ds_chg | ( | ) | [inline] |
Returns the ds change list.
list<unsigned int> DomainUpdateCmd::get_ds_rem | ( | ) | [inline] |
Returns the ds removal list.
string DomainUpdateCmd::get_name | ( | ) | [inline] |
Returns domain name.
vector<struct NameServer> DomainUpdateCmd::get_nameserver_add | ( | ) | [inline] |
Returns a list of nameserver_add.
vector<struct NameServer> DomainUpdateCmd::get_nameserver_rem | ( | ) | [inline] |
Returns a list of nameserver_rem.
string DomainUpdateCmd::get_registrant | ( | ) | [inline] |
Returns registrant.
bool DomainUpdateCmd::get_registrant_f | ( | ) | [inline] |
Returns the registrant change flag.
set<struct Status> DomainUpdateCmd::get_status_add | ( | ) | [inline] |
Returns set of domain status_add.
set<struct Status> DomainUpdateCmd::get_status_rem | ( | ) | [inline] |
Returns set of domain status_rem.
void DomainUpdateCmd::insert_contact_add | ( | string | type, | |
string | identification | |||
) | [inline] |
Inserts a contact_add in the map of contacts.
type_add | contact type | |
identification_add | contact identification |
void DomainUpdateCmd::insert_contact_rem | ( | string | type, | |
string | identification | |||
) | [inline] |
Inserts a contact_rem in the map of contacts.
type_rem | contact type | |
identification_rem | contact identification |
void DomainUpdateCmd::insert_ds_add | ( | const DSInfo & | ds_info | ) | [inline] |
Inserts one ds into the ds addition list.
ds_info | ds information |
void DomainUpdateCmd::insert_ds_chg | ( | const DSInfo & | ds_info | ) | [inline] |
Inserts one ds into the ds change list.
ds_info | ds information |
void DomainUpdateCmd::insert_ds_rem | ( | const unsigned int & | key_tag | ) | [inline] |
Inserts one ds into the ds removal list.
key_tag | key tag to identify the ds to be removed |
void DomainUpdateCmd::insert_nameserver_add | ( | const struct NameServer & | nameserver_add | ) | [inline] |
Inserts a nameserver_add to the list of nameservers.
nameserver_add | fully qualified domain name |
void DomainUpdateCmd::insert_nameserver_rem | ( | const struct NameServer & | nameserver_rem | ) | [inline] |
Inserts a nameserver_rem to the list of nameservers.
nameserver_rem | fully qualified domain name |
void DomainUpdateCmd::insert_status_add | ( | const struct Status & | status_add | ) | [inline] |
Changes a status_add.
status_add | status to be changed |
void DomainUpdateCmd::insert_status_rem | ( | const struct Status & | status_rem | ) | [inline] |
Changes a status_rem in _status_rem.
status_rem | the status_rem to be changed |
bool DomainUpdateCmd::isUrgent | ( | ) | [inline] |
Getter for RFC4310 optional "urgent" attribute for domain:update.
void DomainUpdateCmd::set_authInfo | ( | const AuthInfo & | authInfo | ) | [inline] |
Sets authorization information.
authInfo | domain authorization information |
void DomainUpdateCmd::set_name | ( | string | name | ) | [inline] |
Sets domain name.
name | fully qualified domain name |
void DomainUpdateCmd::set_registrant | ( | const string & | registrant | ) | [inline] |
Sets registrant.
registrant | The domain registrant |
void DomainUpdateCmd::set_registrant_f | ( | bool | registrant_f | ) | [inline] |
Sets the registrant change flag.
registrant_f | registrant change flag |
void DomainUpdateCmd::setUrgentFlag | ( | bool | urgentFlag | ) | [inline] |
Sets RFC4310 optional "urgent" attribute for domain:update.
urgentFlag | domain:update urgent attribute value |