libepp_nicbr
Public Types | Public Member Functions | Protected Attributes | List of all members
BrDomainUpdateCmd Class Reference

EPP BrDomainUpdateCmd extension Class. More...

#include <BrDomainUpdateCmd.H>

Inheritance diagram for BrDomainUpdateCmd:
DomainUpdateCmd Command

Public Types

enum  PublicationStatus { UNDEFINED, PUBLISHED, ONHOLD }
 

Public Member Functions

 BrDomainUpdateCmd (bool reset=true)
 Default constructor.
 
void set_ticketNumber (const int ticketNumber)
 Sets ticket number. More...
 
int get_ticketNumber () const
 Returns ticket number. More...
 
void set_releaseProcessFlags (const struct ReleaseProcessFlags &rpf)
 Sets the Release Process Flags. More...
 
struct ReleaseProcessFlags get_releaseProcessFlags () const
 Returns the Release Process Flags. More...
 
void set_auto_renew (const int auto_renew)
 Actives/Inactives domain auto renewal. More...
 
int get_auto_renew () const
 Return if the domain is with or without auto renewal. More...
 
void set_publication_status (const PublicationStatus status)
 Sets domain publication status. More...
 
PublicationStatus get_publication_status () const
 Returns domain publication status. More...
 
void set_organization (const string &organization)
 Sets domain's organization. More...
 
string get_organization () const
 Returns domain's organization. More...
 
void reset ()
 Reset object attributes.
 
void set_active (int active)
 Sets active attribute (***DEPRECATED***) More...
 
int get_active ()
 Returns active attribute (***DEPRECATED***) More...
 
bool has_extension ()
 Check if there is any extension.
 
bool has_br_extension ()
 Check if there is BR extension.
 
- Public Member Functions inherited from DomainUpdateCmd
 DomainUpdateCmd (bool reset=true)
 Default constructor.
 
void set_name (const string &name)
 Sets domain name. More...
 
string get_name () const
 Returns domain name. More...
 
void insert_nameserver_add (const struct NameServer &nameserver_add)
 Inserts a nameserver_add to the list of nameservers. More...
 
vector< struct NameServerget_nameserver_add () const
 Returns a list of nameserver_add. More...
 
void insert_nameserver_rem (const struct NameServer &nameserver_rem)
 Inserts a nameserver_rem to the list of nameservers. More...
 
vector< struct NameServerget_nameserver_rem () const
 Returns a list of nameserver_rem. More...
 
void insert_contact_add (const string &type, const string &identification)
 Inserts a contact_add in the map of contacts. More...
 
map< string, string, less< string > > get_contact_add () const
 Returns map of contacts. More...
 
void insert_contact_rem (const string &type, const string &identification)
 Inserts a contact_rem in the map of contacts. More...
 
map< string, string, less< string > > get_contact_rem () const
 Returns map of contacts. More...
 
void insert_status_add (const struct Status &status_add)
 Changes a status_add. More...
 
set< struct Statusget_status_add () const
 Returns set of domain status_add. More...
 
void insert_status_rem (const struct Status &status_rem)
 Changes a status_rem in _status_rem. More...
 
set< struct Statusget_status_rem () const
 Returns set of domain status_rem. More...
 
void set_registrant (const string &registrant)
 Sets registrant. More...
 
string get_registrant () const
 Returns registrant. More...
 
void set_registrant_f (const bool registrant_f)
 Sets the registrant change flag. More...
 
bool get_registrant_f () const
 Returns the registrant change flag. More...
 
void set_authInfo (const AuthInfo &authInfo)
 Sets authorization information. More...
 
AuthInfo get_authInfo () const
 Returns authorization information. More...
 
void set_secDnsVersion (string secDnsVersion)
 Sets secDNS extension version. More...
 
string get_secDnsVersion () const
 Returns secDNS extension version. More...
 
void set_max_sig_life (const unsigned int max_sig_life)
 Sets the maximum signature life. More...
 
unsigned int get_max_sig_life () const
 Returns the maximum signature life. More...
 
void insert_dnskey_add (const KeyData &keydata)
 Inserts one DNSKEY into the DNSKEY addition list. More...
 
list< KeyDataget_dnskey_add () const
 Returns the DNSKEY addition list. More...
 
void insert_dnskey_rem (const KeyData &keydata)
 Inserts one DNSKEY into the DNSKEY removal list. More...
 
list< KeyDataget_dnskey_rem () const
 Returns the DNSKEY removal list. More...
 
void insert_ds_add (const DSInfo &ds_info)
 Inserts one ds into the ds addition list. More...
 
list< DSInfoget_ds_add () const
 Returns the ds addition list. More...
 
void insert_ds_rem_1_1 (const DSInfo &ds_info)
 Inserts one ds into the ds removal list. More...
 
void insert_ds_rem (const unsigned int &keyTag)
 Inserts one ds into the ds removal list (RFC4310 - DEPRECATED!) More...
 
list< DSInfoget_ds_rem_1_1 () const
 Returns the ds removal list. More...
 
list< unsigned int > get_ds_rem () const
 Returns the ds removal list (RFC4310 - DEPRECATED!) More...
 
void insert_ds_chg (const DSInfo &ds_info)
 Inserts one ds into the ds change list. More...
 
list< DSInfoget_ds_chg () const
 Returns the ds change list. More...
 
void setUrgentFlag (const bool urgentFlag)
 Sets RFC4310 optional "urgent" attribute for domain:update. More...
 
bool isUrgent () const
 Getter for RFC4310 optional "urgent" attribute for domain:update. More...
 
void setRemoveAll (const bool removeAll)
 Sets RFC5910 alternative "remove all" attribute for domain:update. More...
 
bool getRemoveAll () const
 Getter for RFC5910 alternative "remove all" attribute for domain:update. More...
 
void set_rgp_restore (const RGPRestore &rgp_restore)
 Sets RFC3915 RGP restore structure. More...
 
RGPRestore get_rgp_restore () const
 Returns RFC3915 RGP restore structure. More...
 
void set_launch (const LaunchUpdateCmd &launch)
 Sets the launch. More...
 
LaunchUpdateCmd get_launch () const
 Returns the launch. More...
 
bool has_extension () const
 Check if there is any extension.
 
bool has_secdns_extension () const
 Check if there is secDNS extension.
 
bool has_launch_extension () const
 Check if there is launch extension.
 
void reset ()
 Reset object attributes.
 
- Public Member Functions inherited from Command
 Command (bool reset=true)
 Default constructor.
 
void reset ()
 Reset object attributes. More...
 
virtual ~Command ()
 virtual destructor
 
void set_clTRID (const string &clTRID)
 Sets clTRID. More...
 
string get_clTRID () const
 Returns clTRID. More...
 

Protected Attributes

int _ticketNumber
 ticket number
 
struct ReleaseProcessFlags _releaseProcessFlags
 release process flags
 
int _auto_renew
 domain auto renewal flag
 
PublicationStatus _publication_status
 domain status flag
 
string _organization
 Domain organization.
 
- Protected Attributes inherited from DomainUpdateCmd
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
 
string _secDnsVersion
 RFC 4310/5910 secDNS extension version.
 
unsigned int _max_sig_life
 RRSIG max signature life.
 
list< DSInfo_ds_list_add
 list of DS RR to be added to the domain object
 
list< DSInfo_ds_list_rem
 list of DS RR to be removed from the domain object
 
list< unsigned int > _ds_list_rem_1_0
 
list< DSInfo_ds_list_chg
 list of DS to be changed in the domain object (RFC 4310 only!)
 
list< KeyData_dnskey_list_add
 list of DNSKEY RR to be added to the domain object
 
list< KeyData_dnskey_list_rem
 list of DNSKEY RR to be removed from the domain object
 
bool _urgentFlag
 optinal domain:update urgent flag
 
bool _removeAll
 alternative secDNS:all for secDNS:rem
 
RGPRestore _rgp_restore
 RFC 3915 - RGP Restore.
 
LaunchUpdateCmd _launch
 draft-tan-epp-launchphase-11 - Launch
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP BrDomainUpdateCmd extension Class.

Member Function Documentation

int BrDomainUpdateCmd::get_active ( )
inline

Returns active attribute (***DEPRECATED***)

Returns
active attribute

References get_auto_renew().

int BrDomainUpdateCmd::get_auto_renew ( ) const
inline

Return if the domain is with or without auto renewal.

Returns
auto_renew attribute

References _auto_renew.

Referenced by get_active().

string BrDomainUpdateCmd::get_organization ( ) const
inline

Returns domain's organization.

Returns
Organization identifier

References _organization.

PublicationStatus BrDomainUpdateCmd::get_publication_status ( ) const
inline

Returns domain publication status.

Returns
domain publication status

References _publication_status.

struct ReleaseProcessFlags BrDomainUpdateCmd::get_releaseProcessFlags ( ) const
inline

Returns the Release Process Flags.

Returns
Release Process Flags

References _releaseProcessFlags.

int BrDomainUpdateCmd::get_ticketNumber ( ) const
inline

Returns ticket number.

Returns
ticket number

References _ticketNumber.

void BrDomainUpdateCmd::set_active ( int  active)
inline

Sets active attribute (***DEPRECATED***)

Parameters
activeattribute

References set_auto_renew().

void BrDomainUpdateCmd::set_auto_renew ( const int  auto_renew)
inline

Actives/Inactives domain auto renewal.

Parameters
auto_renewattribute

References _auto_renew.

Referenced by set_active().

void BrDomainUpdateCmd::set_organization ( const string &  organization)
inline

Sets domain's organization.

Parameters
organizationOrganization identifier

References _organization.

void BrDomainUpdateCmd::set_publication_status ( const PublicationStatus  status)
inline

Sets domain publication status.

Parameters
statusdomain publication status

References _publication_status.

void BrDomainUpdateCmd::set_releaseProcessFlags ( const struct ReleaseProcessFlags rpf)
inline

Sets the Release Process Flags.

Parameters
rpfRelease Process Flags

References _releaseProcessFlags.

void BrDomainUpdateCmd::set_ticketNumber ( const int  ticketNumber)
inline

Sets ticket number.

Parameters
ticketNumberticket number

References _ticketNumber.


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