2014-01-15 18:29:15 +00:00
|
|
|
#ifndef __OTE_DOMAIN_MODIFY_REGISTRANT_COMMAND_HPP
|
|
|
|
#define __OTE_DOMAIN_MODIFY_REGISTRANT_COMMAND_HPP
|
|
|
|
|
|
|
|
#include "common/Deprecated.hpp"
|
|
|
|
#include "se/DomainUpdateCommand.hpp"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An extension of the domain mapping of the EPP update command, as defined in
|
|
|
|
* RFC3730 and RFC3731, to .ae domain names, the specification of which is in
|
|
|
|
* the XML schema definition urn:X-ae:params:xml:ns:aeext-1.0.
|
|
|
|
* This class should only be used to correct ae extension data for .ae domain
|
|
|
|
* names, and only where the legal registrant has not changed.
|
|
|
|
* Use this class to generate a standards-compliant XML document, given simple
|
|
|
|
* input parameters. The toXML method in Command serialises this object to
|
|
|
|
* XML.
|
|
|
|
*
|
|
|
|
* @deprecated AE eligibility extensions should now be managed through the
|
|
|
|
* @c <kvlist> extension defined in the
|
|
|
|
* <tt>urn:X-ar:params:xml:ns:kv-1.0</tt> namespace. This can be done
|
|
|
|
* through the toolkit by using a @c DomainUpdateCommand and
|
|
|
|
* appending a @c DomainKVCommandExtension object containing
|
|
|
|
* the AE eligibility extensions.
|
|
|
|
*
|
|
|
|
* See
|
|
|
|
* {@link DomainUpdateCommand.appendExtension(CommandExtension)}
|
|
|
|
* and
|
|
|
|
* {@link DomainKVCommandExtension}.
|
|
|
|
*/
|
2014-01-15 21:41:16 +00:00
|
|
|
class OteDomainModifyRegistrantCommand : public DomainUpdateCommand
|
2014-01-15 18:29:15 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
DEPRECATED(
|
2014-01-15 21:41:16 +00:00
|
|
|
OteDomainModifyRegistrantCommand(const std::string& name,
|
2014-01-15 18:29:15 +00:00
|
|
|
const std::string& registrantName,
|
|
|
|
const std::string& explanation,
|
|
|
|
const std::string* eligibilityType = NULL,
|
|
|
|
int policyReason = 0,
|
|
|
|
const std::string* registrantID = NULL,
|
|
|
|
const std::string* registrantIDType = NULL,
|
|
|
|
const std::string* eligibilityName = NULL,
|
|
|
|
const std::string* eligibilityID = NULL,
|
|
|
|
const std::string* eligibilityIDType = NULL));
|
|
|
|
};
|
|
|
|
|
2014-01-15 21:41:16 +00:00
|
|
|
#endif // __OTE_DOMAIN_MODIFY_REGISTRANT_COMMAND_HPP
|
2014-01-15 18:29:15 +00:00
|
|
|
|