diff --git a/ACTK1_0/se/LPE/LPCheck.d b/ACTK1_0/se/LPE/LPCheck.d new file mode 100644 index 0000000..16c1d65 --- /dev/null +++ b/ACTK1_0/se/LPE/LPCheck.d @@ -0,0 +1,10 @@ +build/LPCheck.o se/LPE/LPCheck.d: se/LPE/LPCheck.cpp se/LPE/LPCheck.hpp \ + se/DomainCheckCommand.hpp se/CheckCommand.hpp se/ObjectCommand.hpp \ + se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp xml/XMLWriter.hpp \ + common/Logger.hpp common/Properties.hpp config/config.h \ + common/EPPException.hpp common/ConfigurationError.hpp \ + xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \ + se/ObjectType.hpp se/StandardCommandType.hpp se/EnumType.hpp \ + se/IllegalArgException.hpp se/CommandType.hpp common/StringUtils.hpp \ + se/StandardObjectType.hpp se/LPE/LPLaunch.hpp se/LPE/LPExtension.hpp \ + xml/XMLHelper.hpp xml/XStr.hpp diff --git a/ACTK1_0/se/LPE/LPCmdExtender.d b/ACTK1_0/se/LPE/LPCmdExtender.d new file mode 100644 index 0000000..9771511 --- /dev/null +++ b/ACTK1_0/se/LPE/LPCmdExtender.d @@ -0,0 +1,8 @@ +build/LPCmdExtender.o se/LPE/LPCmdExtender.d: se/LPE/LPCmdExtender.cpp \ + se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp xml/XMLWriter.hpp \ + common/Logger.hpp common/Properties.hpp config/config.h \ + common/EPPException.hpp common/ConfigurationError.hpp \ + xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \ + se/CommandType.hpp common/StringUtils.hpp se/LPE/LPExtension.hpp \ + xml/XMLHelper.hpp xml/XStr.hpp se/LPE/LPCmdExtender.hpp \ + se/ACExtensionCommand.hpp se/ObjectType.hpp se/LPE/LPLaunch.hpp diff --git a/ACTK1_0/se/LPE/LPCommandExtension.d b/ACTK1_0/se/LPE/LPCommandExtension.d new file mode 100644 index 0000000..8cb37b7 --- /dev/null +++ b/ACTK1_0/se/LPE/LPCommandExtension.d @@ -0,0 +1,8 @@ +build/LPCommandExtension.o se/LPE/LPCommandExtension.d: \ + se/LPE/LPCommandExtension.cpp se/Command.hpp se/SendSE.hpp \ + xml/EPPWriter.hpp xml/XMLWriter.hpp common/Logger.hpp \ + common/Properties.hpp config/config.h common/EPPException.hpp \ + common/ConfigurationError.hpp xml/ParsingException.hpp se/Extension.hpp \ + se/CommandExtension.hpp se/LPE/LPExtension.hpp xml/XMLHelper.hpp \ + xml/XStr.hpp se/LPE/LPCommandExtension.hpp se/LPE/LPMap.hpp \ + se/LPE/LPKey.hpp se/LPE/LPData.hpp diff --git a/ACTK1_0/se/LPE/LPCommands.d b/ACTK1_0/se/LPE/LPCommands.d new file mode 100644 index 0000000..1d7bee0 --- /dev/null +++ b/ACTK1_0/se/LPE/LPCommands.d @@ -0,0 +1,7 @@ +build/LPCommands.o se/LPE/LPCommands.d: se/LPE/LPCommands.cpp \ + se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp xml/XMLWriter.hpp \ + common/Logger.hpp common/Properties.hpp config/config.h \ + common/EPPException.hpp common/ConfigurationError.hpp \ + xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \ + se/LPE/LPExtension.hpp xml/XMLHelper.hpp xml/XStr.hpp \ + se/LPE/LPCommands.hpp se/LPE/LPLaunch.hpp diff --git a/ACTK1_0/se/LPE/LPCreate.cpp b/ACTK1_0/se/LPE/LPCreate.cpp new file mode 100644 index 0000000..f2193df --- /dev/null +++ b/ACTK1_0/se/LPE/LPCreate.cpp @@ -0,0 +1,22 @@ +#include "LPCreate.hpp" +#include "xml/XMLHelper.hpp" + + + namespace { + Extension& launchPhaseExtension() { + static Extension* lpExtension = new LPExtension(); + return *lpExtension; + } + }; // anonymous namespace + +void LPCreate::setExtension () +{ + + DOMElement *lpeCreate = + xmlWriter->appendChild( xmlWriter->appendChild( command, "extension"), + "launch:create", launchPhaseExtension().getURI()); + DOMElement *lpecd = + xmlWriter->appendChild( xmlWriter->appendChild( lpeCreate, "launch:phase"), + "launch:phase", launchPhaseExtension().getURI() ); + +} diff --git a/ACTK1_0/se/LPE/LPCreate.d b/ACTK1_0/se/LPE/LPCreate.d new file mode 100644 index 0000000..88d44b0 --- /dev/null +++ b/ACTK1_0/se/LPE/LPCreate.d @@ -0,0 +1,10 @@ +build/LPCreate.o se/LPE/LPCreate.d: se/LPE/LPCreate.cpp \ + se/LPE/LPCreate.hpp se/DomainCreateCommand.hpp se/CreateCommand.hpp \ + se/ObjectCommand.hpp se/Command.hpp se/SendSE.hpp xml/EPPWriter.hpp \ + xml/XMLWriter.hpp common/Logger.hpp common/Properties.hpp \ + config/config.h common/EPPException.hpp common/ConfigurationError.hpp \ + xml/ParsingException.hpp se/Extension.hpp se/CommandExtension.hpp \ + se/ObjectType.hpp se/StandardCommandType.hpp se/EnumType.hpp \ + se/IllegalArgException.hpp se/CommandType.hpp common/StringUtils.hpp \ + se/Period.hpp se/PeriodUnit.hpp se/LPE/LPLaunch.hpp \ + se/LPE/LPExtension.hpp xml/XMLHelper.hpp xml/XStr.hpp diff --git a/ACTK1_0/se/LPE/LPCreate.hpp b/ACTK1_0/se/LPE/LPCreate.hpp new file mode 100644 index 0000000..f6127e9 --- /dev/null +++ b/ACTK1_0/se/LPE/LPCreate.hpp @@ -0,0 +1,42 @@ +/* + * LPCreate.hpp + * + * Created on: Jan 23, 2014 + * Author: jdaugherty + */ + +#ifndef LPCREATE_HPP_ +#define LPCREATE_HPP_ + +#include "se/DomainCreateCommand.hpp" +#include "LPLaunch.hpp" + +class LPCreate : public DomainCreateCommand +{ +private: + + LPLaunch *draft_tan_epp_launchphase_12; + void setExtension (); + +public: + /** + * Constructor for a domain:create EPP command. All core EPP domain:create + * attributes may be set using this constructor. + */ + LPCreate (const std::string& name, + const std::string& pw, + const std::string* registrantID, + const std::vector* techContacts = NULL, + const std::vector* nameservers = NULL, + const std::vector* adminContacts = NULL, + const std::vector* billingContacts = NULL, + const Period* period = NULL) : + DomainCreateCommand( name, pw, registrantID, techContacts, nameservers, adminContacts, billingContacts, period) + { setExtension(); } + + virtual void addToCommand(const Command &command) const; +}; + + + +#endif /* LPCREATE_HPP_ */ diff --git a/ACTK1_0/se/LPE/LPData.d b/ACTK1_0/se/LPE/LPData.d new file mode 100644 index 0000000..c27a791 --- /dev/null +++ b/ACTK1_0/se/LPE/LPData.d @@ -0,0 +1,4 @@ +build/LPData.o se/LPE/LPData.d: se/LPE/LPData.cpp xml/XMLHelper.hpp \ + xml/XStr.hpp se/LPE/LPData.hpp xml/XMLWriter.hpp common/Logger.hpp \ + common/Properties.hpp config/config.h common/EPPException.hpp \ + common/ConfigurationError.hpp diff --git a/ACTK1_0/se/LPE/LPExtension.cpp b/ACTK1_0/se/LPE/LPExtension.cpp new file mode 100644 index 0000000..4acce67 --- /dev/null +++ b/ACTK1_0/se/LPE/LPExtension.cpp @@ -0,0 +1,30 @@ +/* + * LPExtension.cpp + * + * Created on: Jan 24, 2014 + * Author: jdaugherty + */ + +#include + +LPExtension::LPExtension() { + // TODO Auto-generated constructor stub + +} + +LPExtension::~LPExtension() { + // TODO Auto-generated destructor stub +} + + +std::string& LPExtension::getURI() const +{ + static std::string uri = "urn:ietf:params:xml:ns:launch-1.0"; + return uri; +} + +std::string& LPExtension::getSchemaLocation() const +{ + static std::string loc = "urn:ietf:params:xml:ns:launch-1.0 launch-1.0.xsd"; + return loc; +} diff --git a/ACTK1_0/se/LPE/LPExtension.d b/ACTK1_0/se/LPE/LPExtension.d new file mode 100644 index 0000000..0aacf84 --- /dev/null +++ b/ACTK1_0/se/LPE/LPExtension.d @@ -0,0 +1,2 @@ +build/LPExtension.o se/LPE/LPExtension.d: se/LPE/LPExtension.cpp \ + se/LPE/LPExtension.hpp se/Extension.hpp diff --git a/ACTK1_0/se/LPE/LPExtension.hpp b/ACTK1_0/se/LPE/LPExtension.hpp new file mode 100644 index 0000000..ae30d42 --- /dev/null +++ b/ACTK1_0/se/LPE/LPExtension.hpp @@ -0,0 +1,22 @@ +/* + * LPExtension.hpp + * + * Created on: Jan 24, 2014 + * Author: jdaugherty + */ + +#ifndef LPEXTENSION_HPP_ +#define LPEXTENSION_HPP_ + +#include "se/Extension.hpp" + +class LPExtension: public Extension { +public: + LPExtension(); + virtual ~LPExtension(); + + std::string& getURI() const; + std::string& getSchemaLocation() const; +}; + +#endif /* LPEXTENSION_HPP_ */ diff --git a/ACTK1_0/se/LPE/LPKey.d b/ACTK1_0/se/LPE/LPKey.d new file mode 100644 index 0000000..548a74b --- /dev/null +++ b/ACTK1_0/se/LPE/LPKey.d @@ -0,0 +1,4 @@ +build/LPKey.o se/LPE/LPKey.d: se/LPE/LPKey.cpp xml/XMLHelper.hpp \ + xml/XStr.hpp se/LPE/LPKey.hpp xml/XMLWriter.hpp common/Logger.hpp \ + common/Properties.hpp config/config.h common/EPPException.hpp \ + common/ConfigurationError.hpp diff --git a/ACTK1_0/se/LPE/LPLaunch.d b/ACTK1_0/se/LPE/LPLaunch.d new file mode 100644 index 0000000..9998de5 --- /dev/null +++ b/ACTK1_0/se/LPE/LPLaunch.d @@ -0,0 +1,4 @@ +build/LPLaunch.o se/LPE/LPLaunch.d: se/LPE/LPLaunch.cpp xml/XMLHelper.hpp \ + xml/XStr.hpp se/LPE/LPLaunch.hpp xml/XMLWriter.hpp common/Logger.hpp \ + common/Properties.hpp config/config.h common/EPPException.hpp \ + common/ConfigurationError.hpp se/LPE/LPExtension.hpp se/Extension.hpp diff --git a/ACTK1_0/se/LPE/LPMap.d b/ACTK1_0/se/LPE/LPMap.d new file mode 100644 index 0000000..123dcdd --- /dev/null +++ b/ACTK1_0/se/LPE/LPMap.d @@ -0,0 +1,4 @@ +build/LPMap.o se/LPE/LPMap.d: se/LPE/LPMap.cpp xml/XMLHelper.hpp \ + xml/XStr.hpp se/LPE/LPMap.hpp xml/XMLWriter.hpp common/Logger.hpp \ + common/Properties.hpp config/config.h common/EPPException.hpp \ + common/ConfigurationError.hpp se/LPE/LPKey.hpp se/LPE/LPData.hpp diff --git a/ACTK1_0/se/LPE/LPRespExtender.d b/ACTK1_0/se/LPE/LPRespExtender.d new file mode 100644 index 0000000..c39214c --- /dev/null +++ b/ACTK1_0/se/LPE/LPRespExtender.d @@ -0,0 +1,6 @@ +build/LPRespExtender.o se/LPE/LPRespExtender.d: se/LPE/LPRespExtender.cpp \ + se/LPE/LPLaunch.hpp xml/XMLWriter.hpp common/Logger.hpp \ + common/Properties.hpp config/config.h common/EPPException.hpp \ + common/ConfigurationError.hpp se/LPE/LPExtension.hpp se/Extension.hpp \ + se/LPE/LPRespExtender.hpp se/ResponseExtension.hpp se/ReceiveSE.hpp \ + xml/XMLDocument.hpp diff --git a/ACTK1_0/se/LPE/LPResponseExtension.d b/ACTK1_0/se/LPE/LPResponseExtension.d new file mode 100644 index 0000000..0097433 --- /dev/null +++ b/ACTK1_0/se/LPE/LPResponseExtension.d @@ -0,0 +1,6 @@ +build/LPResponseExtension.o se/LPE/LPResponseExtension.d: \ + se/LPE/LPResponseExtension.cpp se/LPE/LPMap.hpp xml/XMLWriter.hpp \ + common/Logger.hpp common/Properties.hpp config/config.h \ + common/EPPException.hpp common/ConfigurationError.hpp se/LPE/LPKey.hpp \ + se/LPE/LPData.hpp se/LPE/LPResponseExtension.hpp \ + se/ResponseExtension.hpp se/ReceiveSE.hpp xml/XMLDocument.hpp