#include <DomainUpdateCmd.H>
Classes | |
struct | Status |
Public Member Functions | |
DomainUpdateCmd (bool reset=true) | |
Default constructor. | |
void | set_name (const string &name) |
Sets domain name. | |
string | get_name () const |
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 () const |
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 () const |
Returns a list of nameserver_rem. | |
void | insert_contact_add (const string &type, const string &identification) |
Inserts a contact_add in the map of contacts. | |
map< string, string, less < string > > | get_contact_add () const |
Returns map of contacts. | |
void | insert_contact_rem (const string &type, const string &identification) |
Inserts a contact_rem in the map of contacts. | |
map< string, string, less < string > > | get_contact_rem () const |
Returns map of contacts. | |
void | insert_status_add (const struct Status &status_add) |
Changes a status_add. | |
set< struct Status > | get_status_add () const |
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 () const |
Returns set of domain status_rem. | |
void | set_registrant (const string ®istrant) |
Sets registrant. | |
string | get_registrant () const |
Returns registrant. | |
void | set_registrant_f (const bool registrant_f) |
Sets the registrant change flag. | |
bool | get_registrant_f () const |
Returns the registrant change flag. | |
void | set_authInfo (const AuthInfo &authInfo) |
Sets authorization information. | |
AuthInfo | get_authInfo () const |
Returns authorization information. | |
void | insert_ds_add (const DSInfo &ds_info) |
Inserts one ds into the ds addition list. | |
list< DSInfo > | get_ds_add () const |
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 () const |
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 () const |
Returns the ds change list. | |
void | setUrgentFlag (const bool urgentFlag) |
Sets RFC4310 optional "urgent" attribute for domain:update. | |
bool | isUrgent () const |
Getter for RFC4310 optional "urgent" attribute for domain:update. | |
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 | |
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 |
AuthInfo DomainUpdateCmd::get_authInfo | ( | ) | const [inline] |
Returns authorization information.
References _authInfo.
Referenced by cmd_domain_update().
map< string, string, less<string> > DomainUpdateCmd::get_contact_add | ( | ) | const [inline] |
Returns map of contacts.
References _contact_add.
Referenced by cmd_domain_update().
map< string, string, less<string> > DomainUpdateCmd::get_contact_rem | ( | ) | const [inline] |
Returns map of contacts.
References _contact_rem.
Referenced by cmd_domain_update().
list<DSInfo> DomainUpdateCmd::get_ds_add | ( | ) | const [inline] |
Returns the ds addition list.
References _ds_add.
Referenced by cmd_domain_update().
list<DSInfo> DomainUpdateCmd::get_ds_chg | ( | ) | const [inline] |
Returns the ds change list.
References _ds_chg.
Referenced by cmd_domain_update().
list<unsigned int> DomainUpdateCmd::get_ds_rem | ( | ) | const [inline] |
Returns the ds removal list.
References _ds_rem.
Referenced by cmd_domain_update().
string DomainUpdateCmd::get_name | ( | ) | const [inline] |
Returns domain name.
References _name.
Referenced by cmd_domain_update().
vector<struct NameServer> DomainUpdateCmd::get_nameserver_add | ( | ) | const [inline] |
Returns a list of nameserver_add.
References _nameserver_add.
Referenced by cmd_domain_update().
vector<struct NameServer> DomainUpdateCmd::get_nameserver_rem | ( | ) | const [inline] |
Returns a list of nameserver_rem.
References _nameserver_rem.
Referenced by cmd_domain_update().
string DomainUpdateCmd::get_registrant | ( | ) | const [inline] |
Returns registrant.
References _registrant.
Referenced by cmd_domain_update().
bool DomainUpdateCmd::get_registrant_f | ( | ) | const [inline] |
set<struct Status> DomainUpdateCmd::get_status_add | ( | ) | const [inline] |
Returns set of domain status_add.
References _status_add.
Referenced by cmd_domain_update().
set<struct Status> DomainUpdateCmd::get_status_rem | ( | ) | const [inline] |
Returns set of domain status_rem.
References _status_rem.
Referenced by cmd_domain_update().
void DomainUpdateCmd::insert_contact_add | ( | const string & | type, | |
const string & | identification | |||
) | [inline] |
Inserts a contact_add in the map of contacts.
type_add | contact type | |
identification_add | contact identification |
References _contact_add.
Referenced by cmd_domain_update().
void DomainUpdateCmd::insert_contact_rem | ( | const string & | type, | |
const string & | identification | |||
) | [inline] |
Inserts a contact_rem in the map of contacts.
type_rem | contact type | |
identification_rem | contact identification |
References _contact_rem.
Referenced by cmd_domain_update().
void DomainUpdateCmd::insert_ds_add | ( | const DSInfo & | ds_info | ) | [inline] |
Inserts one ds into the ds addition list.
ds_info | ds information |
References _ds_add.
Referenced by cmd_domain_update().
void DomainUpdateCmd::insert_ds_chg | ( | const DSInfo & | ds_info | ) | [inline] |
Inserts one ds into the ds change list.
ds_info | ds information |
References _ds_chg.
Referenced by cmd_domain_update().
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 |
References _ds_rem.
Referenced by cmd_domain_update().
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 |
References _nameserver_add.
Referenced by cmd_domain_update().
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 |
References _nameserver_rem.
Referenced by cmd_domain_update().
void DomainUpdateCmd::insert_status_add | ( | const struct Status & | status_add | ) | [inline] |
Changes a status_add.
status_add | status to be changed |
References _status_add.
Referenced by cmd_domain_update().
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 |
References _status_rem.
Referenced by cmd_domain_update().
bool DomainUpdateCmd::isUrgent | ( | ) | const [inline] |
Getter for RFC4310 optional "urgent" attribute for domain:update.
References _urgentFlag.
void DomainUpdateCmd::set_authInfo | ( | const AuthInfo & | authInfo | ) | [inline] |
Sets authorization information.
authInfo | domain authorization information |
References _authInfo.
Referenced by cmd_domain_update().
void DomainUpdateCmd::set_name | ( | const string & | name | ) | [inline] |
Sets domain name.
name | fully qualified domain name |
References _name.
Referenced by cmd_domain_update().
void DomainUpdateCmd::set_registrant | ( | const string & | registrant | ) | [inline] |
Sets registrant.
registrant | The domain registrant |
References _registrant, and _registrant_f.
Referenced by cmd_domain_update().
void DomainUpdateCmd::set_registrant_f | ( | const bool | registrant_f | ) | [inline] |
Sets the registrant change flag.
registrant_f | registrant change flag |
References _registrant_f.
void DomainUpdateCmd::setUrgentFlag | ( | const bool | urgentFlag | ) | [inline] |
Sets RFC4310 optional "urgent" attribute for domain:update.
urgentFlag | domain:update urgent attribute value |
References _urgentFlag.
Referenced by cmd_domain_update().