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

EPP BrOrgUpdateCmd Class. More...

#include <BrOrgUpdateCmd.H>

Inheritance diagram for BrOrgUpdateCmd:
ContactUpdateCmd Command

Public Member Functions

 BrOrgUpdateCmd (bool reset=true)
 Default constructor.
 
void set_organization (const string &organization)
 Sets Organization attribute. More...
 
string get_organization () const
 Returns the Organization. More...
 
void set_responsible (const string &responsible)
 Sets Responsible for the organization. More...
 
string get_responsible () const
 Returns Responsible for the organization. More...
 
void set_responsible_f (const bool responsible_f)
 Sets the responsible change flag. More...
 
bool get_responsible_f () const
 Returns the responsible change flag. More...
 
void set_exDate (const string &exDate)
 Sets expiration date. More...
 
string get_exDate () const
 Returns expiration date. More...
 
void insert_contact_add (const string &type, const string &id)
 Inserts a Contact into the list of additions. More...
 
map< string, string, less< string > > get_contact_list_add () const
 Returns the Contact List of additions. More...
 
void insert_contact_rem (const string &type, const string &id)
 Inserts a Contact into the list of deletions. More...
 
map< string, string, less< string > > get_contact_list_rem () const
 Returns the Contact List. More...
 
void set_suspended (const bool suspended)
 Sets suspended by payment flag. More...
 
SuspendedStatus::Value get_suspended () const
 Returns suspended by payment flag. More...
 
void set_type (const string &type)
 Sets the organization type. More...
 
string get_type () const
 Returns the organization type. More...
 
void set_epp_status (const string &epp_status)
 Sets the EPP Status. More...
 
string get_epp_status () const
 Returns the EPP Status. More...
 
void set_epp_password (const string &password)
 Sets the EPP password. More...
 
string get_epp_password () const
 Returns the EPP password. More...
 
void insert_epp_ip_add (const string &ip)
 
vector< string > get_epp_ips_add () const
 
void insert_epp_ip_rem (const string &ip)
 
vector< string > get_epp_ips_rem () const
 
void insert_renewal_type_add (const string &type)
 Inserts a renewal type to be added.
 
vector< string > get_renewal_types_add () const
 Returns the renewal types to be added.
 
void insert_renewal_type_rem (const string &type)
 Inserts a renewal type to be removed.
 
vector< string > get_renewal_types_rem () const
 Returns the renewal types to be removed.
 
void set_resources_class (const string &resources_class)
 Sets the organization resources class.
 
string get_resources_class () const
 Returns the organization resources class.
 
void set_password (const string &password)
 Sets the legacy organization password.
 
string get_password () const
 Returns the legacy organization password.
 
void reset ()
 reset attributes
 
- Public Member Functions inherited from ContactUpdateCmd
 ContactUpdateCmd (bool reset=true)
 Default constructor.
 
void insert_status_list_add (const string &status_add)
 Inserts a status to the object. More...
 
void insert_status_list_rem (const string &status_rem)
 Removes a status from the object. More...
 
set< string > get_status_list_add () const
 Returns the list of status to be added to the object. More...
 
set< string > get_status_list_rem () const
 Returns the list of status to be removed from the object. More...
 
void set_common_data (const CommonData &common)
 Sets the common data object. More...
 
CommonData get_common_data () const
 Returns the common data object. More...
 
void set_authInfo (const AuthInfo &authInfo)
 Sets authorization information. More...
 
AuthInfo get_authInfo () const
 Returns authorization information. More...
 
void set_password (const string &password)
 Sets password attribute. More...
 
string get_password () const
 Returns the password. More...
 
void set_reminder (const string &reminder)
 Sets reminder attribute. More...
 
string get_reminder () const
 Returns the reminder. More...
 
void set_language (const string &language)
 Sets language attribute. More...
 
string get_language () const
 Returns the language. More...
 
void set_properties_add (const vector< string > &properties)
 Sets the properties to be associated with the contact. More...
 
void insert_property_add (const string &property)
 Adds a property to the vector of properties. More...
 
vector< string > get_properties_add ()
 
void set_properties_rem (const vector< string > &properties)
 Sets the properties that are going to be removed of the contact. More...
 
void insert_property_rem (const string &property)
 Adds a property to be removed from the contact. More...
 
vector< string > get_properties_rem ()
 
bool has_extension () const
 Check if there is any extension.
 
bool has_lacnic_contact_extension () const
 Check if there is lacnic contact extension.
 
void reset ()
 Resets the data in the object.
 
- 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

string _organization
 map with organization attribute
 
string _responsible
 Person responsible for the organization.
 
bool _responsible_f
 Responsible change flag.
 
string _exDate
 
map< string, string, less< string > > _contact_list_add
 Human Contacts to add.
 
map< string, string, less< string > > _contact_list_rem
 Human Contacts to remove.
 
SuspendedStatus::Value _suspended
 Suspend organization by payment.
 
string _type
 Define the organization type.
 
string _epp_status
 Define the EPP Status.
 
string _epp_password
 EPP password for authentication.
 
vector< string > _epp_ips_add
 
vector< string > _epp_ips_rem
 
vector< string > _renewal_types_add
 
vector< string > _renewal_types_rem
 
string _resources_class
 
string _password
 Authenticate updates of legacy organizations.
 
- Protected Attributes inherited from ContactUpdateCmd
set< string > _status_list_add
 Status List to be added to the object.
 
set< string > _status_list_rem
 Status list to be removed to the object.
 
CommonData _common
 Common data object.
 
AuthInfo _authInfo
 authorization information
 
string _password
 contact's password (lacnic contact extension)
 
string _reminder
 contact's tip to remember the password (lacnic contact extension)
 
string _language
 contact's preferred language (lacnic contact extension)
 
vector< string > _properties_add
 properties to be added to the object (lacnic contact extension)
 
vector< string > _properties_rem
 properties to be removed of the object (lacnic contact extension)
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP BrOrgUpdateCmd Class.

Member Function Documentation

map< string, string, less<string> > BrOrgUpdateCmd::get_contact_list_add ( ) const
inline

Returns the Contact List of additions.

Returns
Contact List

References _contact_list_add.

Referenced by cmd_brorg_update().

map< string, string, less<string> > BrOrgUpdateCmd::get_contact_list_rem ( ) const
inline

Returns the Contact List.

Returns
Contact List

References _contact_list_rem.

Referenced by cmd_brorg_update().

vector<string> BrOrgUpdateCmd::get_epp_ips_add ( ) const
inline

Returns list of IPs or ranges to be added that will be allowed in the EPP server

References _epp_ips_add.

Referenced by cmd_brorg_update().

vector<string> BrOrgUpdateCmd::get_epp_ips_rem ( ) const
inline

Returns list of IPs or ranges to be removed that will be allowed in the EPP server

References _epp_ips_rem.

Referenced by cmd_brorg_update().

string BrOrgUpdateCmd::get_epp_password ( ) const
inline

Returns the EPP password.

Returns
EPP password

References _epp_password.

Referenced by cmd_brorg_update().

string BrOrgUpdateCmd::get_epp_status ( ) const
inline

Returns the EPP Status.

Returns
EPP Status

References _epp_status.

Referenced by cmd_brorg_update().

string BrOrgUpdateCmd::get_exDate ( ) const
inline

Returns expiration date.

Returns
expiration date

References _exDate.

string BrOrgUpdateCmd::get_organization ( ) const
inline

Returns the Organization.

Returns
organization attribute

References _organization.

Referenced by cmd_brorg_update().

string BrOrgUpdateCmd::get_responsible ( ) const
inline

Returns Responsible for the organization.

Returns
Person Responsible

References _responsible.

bool BrOrgUpdateCmd::get_responsible_f ( ) const
inline

Returns the responsible change flag.

Returns
The responsible change flag

References _responsible_f.

SuspendedStatus::Value BrOrgUpdateCmd::get_suspended ( ) const
inline

Returns suspended by payment flag.

Returns
Suspended flag

References _suspended.

string BrOrgUpdateCmd::get_type ( ) const
inline

Returns the organization type.

Returns
organization type

References _type.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::insert_contact_add ( const string &  type,
const string &  id 
)
inline

Inserts a Contact into the list of additions.

Parameters
idContact Id
typeContact Type

References _contact_list_add.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::insert_contact_rem ( const string &  type,
const string &  id 
)
inline

Inserts a Contact into the list of deletions.

Parameters
idContact Id
typeContact Type

References _contact_list_rem.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::insert_epp_ip_add ( const string &  ip)
inline

Inserts an EPP IP or range to be added that will be allowed in the EPP server

References _epp_ips_add.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::insert_epp_ip_rem ( const string &  ip)
inline

Inserts an EPP IP or range to be removed that will be allowed in the EPP server

References _epp_ips_rem.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::set_epp_password ( const string &  password)
inline

Sets the EPP password.

Parameters
passwordEPP password

References _epp_password.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::set_epp_status ( const string &  epp_status)
inline

Sets the EPP Status.

Parameters
epp_statusEPP Status

References _epp_status.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::set_exDate ( const string &  exDate)
inline

Sets expiration date.

Parameters
exDateobject expiration date

References _exDate.

Referenced by cmd_brorg_update().

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

Sets Organization attribute.

Parameters
organizationOrganization Identifier

References _organization.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::set_responsible ( const string &  responsible)
inline

Sets Responsible for the organization.

Parameters
responsiblePerson Responsible

References _responsible, and _responsible_f.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::set_responsible_f ( const bool  responsible_f)
inline

Sets the responsible change flag.

Parameters
responsible_fresponsible change flag

References _responsible_f.

void BrOrgUpdateCmd::set_suspended ( const bool  suspended)
inline

Sets suspended by payment flag.

Parameters
suspendedtrue if the organization is suspended by payment or false otherwise

References _suspended.

Referenced by cmd_brorg_update().

void BrOrgUpdateCmd::set_type ( const string &  type)
inline

Sets the organization type.

Parameters
typeorganization type

References _type.

Referenced by cmd_brorg_update().

Member Data Documentation

vector<string> BrOrgUpdateCmd::_epp_ips_add
protected

IP addresses or ranges to be added that are allowed to connect to the EPP interface

Referenced by get_epp_ips_add(), insert_epp_ip_add(), and reset().

vector<string> BrOrgUpdateCmd::_epp_ips_rem
protected

IP addresses or ranges to be removed that are allowed to connect to the EPP interface

Referenced by get_epp_ips_rem(), insert_epp_ip_rem(), and reset().

string BrOrgUpdateCmd::_exDate
protected

date and time identifying the end of the organization object's registration period

Referenced by get_exDate(), reset(), and set_exDate().

vector<string> BrOrgUpdateCmd::_renewal_types_add
protected

List of category and characteristics of the organization to be added

Referenced by get_renewal_types_add(), insert_renewal_type_add(), and reset().

vector<string> BrOrgUpdateCmd::_renewal_types_rem
protected

List of category and characteristics of the organization to be removed

Referenced by get_renewal_types_rem(), insert_renewal_type_rem(), and reset().

string BrOrgUpdateCmd::_resources_class
protected

There are some options when categorizing an organization. We can use all resouces to categorize or only the non legacy resources. The possible values are "all-resources" and "non-legacy-only"

Referenced by get_resources_class(), reset(), and set_resources_class().


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