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

EPP ContactInfoRsp Class. More...

#include <ContactInfoRsp.H>

Inheritance diagram for ContactInfoRsp:
Response BrOrgInfoRsp

Public Member Functions

 ContactInfoRsp (bool reset=true)
 Default constructor.
 
void set_roid (const string &roid)
 Sets the repository object id. More...
 
void insert_status (const string &status)
 Inserts a status to the object. More...
 
void set_clID (const string &clID)
 Sets the client id. More...
 
void set_crID (const string &crID)
 Sets the creator client id. More...
 
void set_crDate (const string &crDate)
 Sets the creation date. More...
 
void set_upID (const string &upID)
 Sets the last update client id. More...
 
void set_upDate (const string &upDate)
 Sets the last update. More...
 
void set_trDate (const string &trDate)
 Sets the last transfer date. More...
 
string get_roid () const
 Returns the repository object id. More...
 
set< string > get_status_set () const
 Returns the status list of the object. More...
 
string get_clID () const
 Returns the client id. More...
 
string get_crID () const
 Returns the creator client id. More...
 
string get_crDate () const
 Returns the creation date. More...
 
string get_upID () const
 Returns the last update client id. More...
 
string get_upDate () const
 Returns the last update. More...
 
string get_trDate () const
 Returns the last transfer date. More...
 
void set_common_data (const CommonData &common)
 Sets the common data object. More...
 
CommonData get_common_data () const
 Returns the common data of the object. More...
 
void set_authInfo (const AuthInfo &authInfo)
 Sets authorization information. More...
 
AuthInfo get_authInfo () const
 Returns authorization information. More...
 
void set_reminder (const string &reminder)
 Sets the reminder. More...
 
string get_reminder ()
 Returns the reminder for the contact's password. More...
 
void set_language (const string &language)
 Sets the contact's language. More...
 
string get_language ()
 Returns the contact's preferred language. More...
 
void set_properties (const vector< string > &properties)
 Sets the properties associated with the contact. More...
 
void add_property (const string &property)
 Adds a property to the vector of properties. More...
 
vector< string > get_properties ()
 Returns the vector of properties associated with the contact. More...
 
void set_legacy (const bool legacy)
 Sets the legacy flag of a contact.
 
bool is_legacy () const
 Returns the legacy flag of a contact.
 
void reset ()
 reset attributes
 
- Public Member Functions inherited from Response
 Response (bool reset=true)
 Default constructor.
 
void set_clTRID (const string &clTRID)
 Sets the client transaction ID. More...
 
void set_svTRID (const string &svTRID)
 Sets the server transaction ID. More...
 
void set_result_lang (const string &result_lang)
 Sets the result message language. More...
 
void insert_result (const ResultCode &code, const string &msg, const string &value="", const string &xmlns="", const string &reason="")
 Sets a result element. More...
 
string get_clTRID () const
 Returns the client transaction ID. More...
 
string get_svTRID () const
 Returns the servers transaction ID. More...
 
string get_result_lang ()
 Returns the result message language. More...
 
map< ResultCode, ResultInfoget_result_list () const
 Returns the list of result elements. More...
 
void reset ()
 reset attributes
 
virtual ~Response ()
 virtual destructor
 

Protected Attributes

string _roid
 Repository id.
 
set< string > _status_set
 Status list.
 
string _clID
 Sponsoring client id.
 
string _crID
 Creator client id.
 
string _crDate
 Creation date and time.
 
string _upID
 last client id that updated the object
 
string _upDate
 Last modification date and time.
 
string _trDate
 Last transfer date and time.
 
CommonData _common
 Common data object.
 
AuthInfo _authInfo
 authorization information
 
string _reminder
 tip for the contact's password (lacnic contact extension)
 
string _language
 contact's preferred language (lacnic contact extension)
 
vector< string > _properties
 current properties associated with the contact (lacnic contact extension)
 
bool _legacy
 
- Protected Attributes inherited from Response
string _clTRID
 Client transaction ID.
 
string _svTRID
 Server transaction ID.
 
string _result_lang
 Result language.
 
map< ResultCode, ResultInfo_result_list
 Result elements list.
 

Additional Inherited Members

- Public Types inherited from Response
enum  ResultCode {
  UNSET = -1, OK = 1000, OK_ACTION_PENDING = 1001, OK_NO_MESSAGES = 1300,
  OK_ACK_DEQUEUE = 1301, OK_ENDING_SESSION = 1500, UNKNOWN_COMMAND = 2000, COMMAND_SYNTAX_ERROR = 2001,
  COMMAND_USE_ERROR = 2002, PARAMETER_MISSING = 2003, PARAMETER_RANGE_ERROR = 2004, PARAMETER_SYNTAX_ERROR = 2005,
  UNIMPLEMENTED_VERSION = 2100, UNIMPLEMENTED_COMMAND = 2101, UNIMPLEMENTED_OPTION = 2102, UNIMPLEMENTED_EXTENSION = 2103,
  BILLING_FAILURE = 2104, NOT_RENEWABLE = 2105, NOT_TRANSFERABLE = 2106, AUTHENTICATION_ERROR = 2200,
  AUTHORIZATION_ERROR = 2201, INVALID_AUTHORIZATION_INFO = 2202, PENDING_TRANSFER = 2300, NOT_PENDING_TRANSFER = 2301,
  OBJECT_EXISTS = 2302, OBJECT_DOESNT_EXIST = 2303, STATUS_PROHIBITS_OPERATION = 2304, ASSOCIATION_PROHIBITS_OPERATION = 2305,
  PARAMETER_POLICY_ERROR = 2306, UNIMPLEMENTED_SERVICE = 2307, DATA_MGMT_POLICY_VIOLATION = 2308, COMMAND_FAILED = 2400,
  COMMAND_FAILED_CLOSING_CONN = 2500, AUTHENTICATION_ERROR_CLOSING_CONN = 2501, SESSION_LIMIT_EXCEEDED = 2502
}
 Result Codes - See RFC 3730 - Session 3.
 

Detailed Description

EPP ContactInfoRsp Class.

Member Function Documentation

void ContactInfoRsp::add_property ( const string &  property)
inline

Adds a property to the vector of properties.

Parameters
aproperty

References _properties.

AuthInfo ContactInfoRsp::get_authInfo ( ) const
inline

Returns authorization information.

Returns
authorization information

References _authInfo.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_clID ( ) const
inline

Returns the client id.

Returns
clID

References _clID.

Referenced by BrOrgInfoRsp::copy_parent_data().

CommonData ContactInfoRsp::get_common_data ( ) const
inline

Returns the common data of the object.

Returns
a common data object pointer

References _common.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_crDate ( ) const
inline

Returns the creation date.

Returns
crDate

References _crDate.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_crID ( ) const
inline

Returns the creator client id.

Returns
crID

References _crID.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_language ( )
inline

Returns the contact's preferred language.

Returns
the language

References _language.

vector<string> ContactInfoRsp::get_properties ( )
inline

Returns the vector of properties associated with the contact.

Returns
the properties

References _properties.

string ContactInfoRsp::get_reminder ( )
inline

Returns the reminder for the contact's password.

Returns
the reminder

References _reminder.

string ContactInfoRsp::get_roid ( ) const
inline

Returns the repository object id.

Returns
roid

References _roid.

Referenced by BrOrgInfoRsp::copy_parent_data().

set<string> ContactInfoRsp::get_status_set ( ) const
inline

Returns the status list of the object.

Returns
status list

References _status_set.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_trDate ( ) const
inline

Returns the last transfer date.

Returns
trDate

References _trDate.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_upDate ( ) const
inline

Returns the last update.

Returns
upDate

References _upDate.

Referenced by BrOrgInfoRsp::copy_parent_data().

string ContactInfoRsp::get_upID ( ) const
inline

Returns the last update client id.

Returns
upID

References _upID.

Referenced by BrOrgInfoRsp::copy_parent_data().

void ContactInfoRsp::insert_status ( const string &  status)
inline

Inserts a status to the object.

Parameters
statusof contact object

References _status_set.

void ContactInfoRsp::set_authInfo ( const AuthInfo authInfo)
inline

Sets authorization information.

Parameters
authInfodomain authorization information

References _authInfo.

void ContactInfoRsp::set_clID ( const string &  clID)
inline

Sets the client id.

Parameters
clIDsponsoring client id

References _clID.

void ContactInfoRsp::set_common_data ( const CommonData common)
inline

Sets the common data object.

Parameters
commoncommon data object

References _common.

void ContactInfoRsp::set_crDate ( const string &  crDate)
inline

Sets the creation date.

Parameters
crDatecreation date and time

References _crDate.

void ContactInfoRsp::set_crID ( const string &  crID)
inline

Sets the creator client id.

Parameters
crIDcreator client id

References _crID.

void ContactInfoRsp::set_language ( const string &  language)
inline

Sets the contact's language.

Parameters
thelanguage

References _language.

void ContactInfoRsp::set_properties ( const vector< string > &  properties)
inline

Sets the properties associated with the contact.

Parameters
vectorof properties

References _properties.

void ContactInfoRsp::set_reminder ( const string &  reminder)
inline

Sets the reminder.

Parameters
reminderfor the contact's password

References _reminder.

void ContactInfoRsp::set_roid ( const string &  roid)
inline

Sets the repository object id.

Parameters
roidrepository object id

References _roid.

void ContactInfoRsp::set_trDate ( const string &  trDate)
inline

Sets the last transfer date.

Parameters
trDatemost recent date and time object transfer

References _trDate.

void ContactInfoRsp::set_upDate ( const string &  upDate)
inline

Sets the last update.

Parameters
upDatemost recent date and time object modification

References _upDate.

void ContactInfoRsp::set_upID ( const string &  upID)
inline

Sets the last update client id.

Parameters
upIDclient id that last updated the object

References _upID.

Member Data Documentation

bool ContactInfoRsp::_legacy
protected

Flag that indicates if the contact was created before LACNIC exists or not (ARIN database - lacnic contact extension)

Referenced by is_legacy(), reset(), and set_legacy().


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