DomainCreateCmd Class Reference

EPP DomainCreateCmd Class. More...

#include <DomainCreateCmd.H>

Inheritance diagram for DomainCreateCmd:

Command BrDomainCreateCmd

List of all members.

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 &registrant)
 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< DSInfoget_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.


Detailed Description

EPP DomainCreateCmd Class.

Member Function Documentation

void DomainCreateCmd::add_dsInfo ( const DSInfo ds_info  )  [inline]

Sets ds info attribute.

Parameters:
ds info attribute

References _ds_info.

Referenced by cmd_domain_create().

AuthInfo DomainCreateCmd::get_authInfo (  )  const [inline]

Returns authorization information.

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.

Returns:
map of other contacts

References _contacts.

Referenced by cmd_domain_create().

list<DSInfo> DomainCreateCmd::get_dsInfo (  )  const [inline]

Returns ds info attribute.

Returns:
ds info attribute

References _ds_info.

string DomainCreateCmd::get_name (  )  const [inline]

Returns domain name.

Returns:
fully qualified domain name

References _name.

Referenced by cmd_domain_create().

vector<struct NameServer> DomainCreateCmd::get_nameservers (  )  const [inline]

Returns a list of nameservers.

Returns:
list of nameservers associated with domain object

References _nameservers.

Referenced by cmd_domain_create().

RegistrationPeriod DomainCreateCmd::get_period (  )  const [inline]

Returns domain registration period.

Returns:
domain registration period

References _period.

Referenced by cmd_domain_create().

string DomainCreateCmd::get_registrant (  )  const [inline]

Returns registrant.

Returns:
registrant identification

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.

Parameters:
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.

Parameters:
nameserver a name server

References _nameservers.

Referenced by cmd_domain_create().

void DomainCreateCmd::set_authInfo ( const AuthInfo authInfo  )  [inline]

Sets authorization information.

Parameters:
authInfo domain authorization information

References _authInfo.

Referenced by cmd_domain_create().

void DomainCreateCmd::set_name ( const string &  name  )  [inline]

Sets domain name.

Parameters:
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.

Parameters:
time amount of time
unit measure unit

References _period.

Referenced by cmd_domain_create().

void DomainCreateCmd::set_registrant ( const string &  registrant  )  [inline]

Sets registrant.

Parameters:
registrant registrant identification

References _registrant.

Referenced by cmd_domain_create().


The documentation for this class was generated from the following file:

Generated on Thu Jan 21 14:44:04 2010 for libepp_nicbr by  doxygen 1.5.9