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

EPP BrOrgCreateCmd Class. More...

#include <BrOrgCreateCmd.H>

Inheritance diagram for BrOrgCreateCmd:
ContactCreateCmd Command

Public Member Functions

 BrOrgCreateCmd (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 the responsible for the organization. More...
 
string get_responsible () const
 Returns the 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 insert_contact (const string &type, const string &id)
 Inserts a Contact into the list. More...
 
map< string, string, less< string > > get_contact_list () const
 Returns the Contact List. More...
 
void set_type (const string &type)
 Sets the organization type. More...
 
string get_type () const
 Returns the organization type. 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 (const string &ip)
 
vector< string > get_epp_ips () const
 
void insert_renewal_type (const string &type)
 Inserts a renewal type.
 
void set_renewal_types (const vector< string > &types)
 Sets the organization category and characteristics.
 
vector< string > get_renewal_types () const
 Returns list of renewal types of an organization.
 
void set_resources_class (const string &resources_class)
 Sets the organization resources class.
 
string get_resources_class () const
 Returns the organization resources class.
 
void reset ()
 reset attributes
 
- Public Member Functions inherited from ContactCreateCmd
 ContactCreateCmd (bool reset=true)
 Default constructor.
 
void set_common_data (const CommonData &common)
 Sets the common data object. More...
 
CommonData get_common_data () const
 Returns a common data object raw pointer. More...
 
void set_authInfo (const AuthInfo &authInfo)
 Sets authorization information. More...
 
AuthInfo get_authInfo ()
 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...
 
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 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

string _organization
 map with organization attribute
 
string _responsible
 Person responsible for the organization.
 
bool _responsible_f
 Responsible change flag.
 
map< string, string, less< string > > _contact_list
 Human Contacts.
 
string _type
 Define the organization type.
 
string _epp_password
 EPP password for authentication.
 
vector< string > _epp_ips
 
vector< string > _renewal_types
 List of category and characteristics of the organization.
 
string _resources_class
 
- Protected Attributes inherited from ContactCreateCmd
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)
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP BrOrgCreateCmd Class.

Member Function Documentation

map< string, string, less<string> > BrOrgCreateCmd::get_contact_list ( ) const
inline

Returns the Contact List.

Returns
Contact List

References _contact_list.

Referenced by cmd_brorg_create().

vector<string> BrOrgCreateCmd::get_epp_ips ( ) const
inline

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

References _epp_ips.

Referenced by cmd_brorg_create().

string BrOrgCreateCmd::get_epp_password ( ) const
inline

Returns the EPP password.

Returns
EPP password

References _epp_password.

Referenced by cmd_brorg_create().

string BrOrgCreateCmd::get_organization ( ) const
inline

Returns the Organization.

Returns
organization attribute

References _organization.

Referenced by cmd_brorg_create().

string BrOrgCreateCmd::get_responsible ( ) const
inline

Returns the responsible for the organization.

Returns
Person responsible

References _responsible.

bool BrOrgCreateCmd::get_responsible_f ( ) const
inline

Returns the responsible change flag.

Returns
The responsible change flag

References _responsible_f.

string BrOrgCreateCmd::get_type ( ) const
inline

Returns the organization type.

Returns
organization type

References _type.

Referenced by cmd_brorg_create().

void BrOrgCreateCmd::insert_contact ( const string &  type,
const string &  id 
)
inline

Inserts a Contact into the list.

Parameters
idContact Id
typeContact Type

References _contact_list.

Referenced by cmd_brorg_create().

void BrOrgCreateCmd::insert_epp_ip ( const string &  ip)
inline

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

References _epp_ips.

Referenced by cmd_brorg_create().

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

Sets the EPP password.

Parameters
passwordEPP password

References _epp_password.

Referenced by cmd_brorg_create().

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

Sets Organization attribute.

Parameters
organizationOrganization Identifier

References _organization.

Referenced by cmd_brorg_create().

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

Sets the responsible for the organization.

Parameters
responsiblePerson responsible

References _responsible, and _responsible_f.

Referenced by cmd_brorg_create().

void BrOrgCreateCmd::set_responsible_f ( const bool  responsible_f)
inline

Sets the responsible change flag.

Parameters
responsible_fresponsible change flag

References _responsible_f.

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

Sets the organization type.

Parameters
typeorganization type

References _type.

Referenced by cmd_brorg_create().

Member Data Documentation

vector<string> BrOrgCreateCmd::_epp_ips
protected

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

Referenced by get_epp_ips(), insert_epp_ip(), and reset().

string BrOrgCreateCmd::_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: