com.logicboxes.foundation.sfnb.order.domorder
Class DotEu

java.lang.Object
  extended by com.logicboxes.foundation.sfnb.order.domorder.DotEu

public class DotEu
extends java.lang.Object


Constructor Summary
DotEu()
           
 
Method Summary
 java.util.HashMap add(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String domainName, int noOfYears, java.util.Vector nameServers, int registrantContactId, int technicalContactId, int customerId, java.lang.String invoiceOption)
          Deprecated. Instead use DomOrder.registerDomain(Hashtable domainHash, Vector nameServersList, int registrantContactId, int adminContactId, int technicalContactId, int billingContactId, int customerId, String invoiceOption)
 java.util.Vector getEUCountryList(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID)
          This method can be used through API Interface.
static boolean isEUCountry(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String countryCode)
          This method can be used through API Interface.
 java.util.HashMap trade(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String domainName, int registrantContactId, int customerId, java.util.Vector nameServers, java.util.HashMap childNameServers, java.lang.String invoiceOption)
          This method is exposed to API Interface, providing the users an ability to Trade (Modify Company name of) a .EU domain name, under different registrar.
 java.util.HashMap tradeDomain(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String domainName, int registrantContactId, int technicalContactId, int customerId, java.lang.String invoiceOption)
          Deprecated. 
 java.util.HashMap transfer(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String domainName, int customerId, java.util.Vector nameServers, java.util.HashMap childNameServers, java.lang.String invoiceOption)
          This method is exposed to API interface to provide users an ability to Transfer a .EU Domain name, under different registrar, without changing the owner (registrant) details of the domain name.
 java.util.HashMap transferDomain(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, java.lang.String domainName, int technicalContactId, int customerId, java.lang.String invoiceOption)
          Deprecated. 
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotEu

public DotEu()
Method Detail

getEUCountryList

public java.util.Vector getEUCountryList(java.lang.String SERVICE_USERNAME,
                                         java.lang.String SERVICE_PASSWORD,
                                         java.lang.String SERVICE_ROLE,
                                         java.lang.String SERVICE_LANGPREF,
                                         int SERVICE_PARENTID)
This method can be used through API Interface. Method returns the List of .EU Countries.

Returns:
List - List of european countries

tradeDomain

@Deprecated
public java.util.HashMap tradeDomain(java.lang.String SERVICE_USERNAME,
                                                java.lang.String SERVICE_PASSWORD,
                                                java.lang.String SERVICE_ROLE,
                                                java.lang.String SERVICE_LANGPREF,
                                                int SERVICE_PARENTID,
                                                java.lang.String domainName,
                                                int registrantContactId,
                                                int technicalContactId,
                                                int customerId,
                                                java.lang.String invoiceOption)
Deprecated. 

This method is to be used through API Interface. Method will Trade (Modify Company name of) a .EU domain name, under different registrar. The main purpose of the method is to change the registrant (identity) of the domain. The registrant & technical contacts must be provided by the user. This method will generate new order for the customer. All the parameters of method are mandatory.

Parameters:
domainName - - String domain name. E.g. "myeudomain.eu"
registrantContactId - - Registrant (Owner) ContactId of the domain.
technicalContactId - - Technical ContactId of the domain.
customerId - - Customer Id.
invoiceOption - - Payment Option. User has to choose any one of following options available : {NoInvoice, PayInvoice, KeepInvoice, OnlyAdd}
Returns:
Hashtable - Returns Hashtable containing domainname, entityid, actionid, actionstatus, description etc.
Throws:
LogicBoxesException

transferDomain

@Deprecated
public java.util.HashMap transferDomain(java.lang.String SERVICE_USERNAME,
                                                   java.lang.String SERVICE_PASSWORD,
                                                   java.lang.String SERVICE_ROLE,
                                                   java.lang.String SERVICE_LANGPREF,
                                                   int SERVICE_PARENTID,
                                                   java.lang.String domainName,
                                                   int technicalContactId,
                                                   int customerId,
                                                   java.lang.String invoiceOption)
Deprecated. 

This method is to be used thorough API interface. Method will transfer a .EU Domain name, under different registrar, without changing the owner (registrant) details of the domain name. The new registrant, if does not exists, will be created a registrar who has initiated this Transfer Request. The Technical Contact has to be provided by the user. This method will generate new order for the customer. All the parameters of method are mandatory.

Parameters:
domainName - - String domain name. E.g. "myeudomain.eu"
technicalContactId - - Technical ContactId of the domain.
customerId - - Customer Id.
invoiceOption - - Payment Option. User has to choose any one of following options available : {NoInvoice, PayInvoice, KeepInvoice, OnlyAdd}
Returns:
Hashtable - Returns Hashtable containing domainname, entityid, actionid, actionstatus, description etc.
Throws:
LogicBoxesException

add

@Deprecated
public java.util.HashMap add(java.lang.String SERVICE_USERNAME,
                                        java.lang.String SERVICE_PASSWORD,
                                        java.lang.String SERVICE_ROLE,
                                        java.lang.String SERVICE_LANGPREF,
                                        int SERVICE_PARENTID,
                                        java.lang.String domainName,
                                        int noOfYears,
                                        java.util.Vector nameServers,
                                        int registrantContactId,
                                        int technicalContactId,
                                        int customerId,
                                        java.lang.String invoiceOption)
Deprecated. Instead use DomOrder.registerDomain(Hashtable domainHash, Vector nameServersList, int registrantContactId, int adminContactId, int technicalContactId, int billingContactId, int customerId, String invoiceOption)

This method is implemented to register only .EU domainnames through API Interface. Only 1 domainname can be registered at a time. User can Register .EU domain names for multiple years (Max. 5 Years). All the parameters of the method, except nameservers, are mandatory. Namesevers can be null.

Parameters:
domainName - - String domain name. E.g. "myeudomain.eu"
noOfYears - - Number of (1- 5) years the domain name can be registered.
nameServers - - Nameserver of domain name. Optional parameter (0 - 13). Can be null.
registrantContactId - - Registrant (Owner) ContactId of the domain.
technicalContactId - - Technical ContactId of the domain.
customerId - - Customer Id.
invoiceOption - - Payment Option. User has to choose any one of following options available : {NoInvoice, PayInvoice, KeepInvoice, OnlyAdd}
Returns:
Hashtable - Returns Hashtable containing domainname, entityid, actionid, actionstatus, description etc.
Throws:
LogicBoxesException - - LogicBoxesException

isEUCountry

public static boolean isEUCountry(java.lang.String SERVICE_USERNAME,
                                  java.lang.String SERVICE_PASSWORD,
                                  java.lang.String SERVICE_ROLE,
                                  java.lang.String SERVICE_LANGPREF,
                                  int SERVICE_PARENTID,
                                  java.lang.String countryCode)
This method can be used through API Interface. Method return boolean value "true" or "false" depending on the countrycode value. "true" if the countrycode exists in the list of european countries. "false" otherwise.

Parameters:
countryCode - - E.g. IT for Italy
Returns:
boolean

trade

public java.util.HashMap trade(java.lang.String SERVICE_USERNAME,
                               java.lang.String SERVICE_PASSWORD,
                               java.lang.String SERVICE_ROLE,
                               java.lang.String SERVICE_LANGPREF,
                               int SERVICE_PARENTID,
                               java.lang.String domainName,
                               int registrantContactId,
                               int customerId,
                               java.util.Vector nameServers,
                               java.util.HashMap childNameServers,
                               java.lang.String invoiceOption)
This method is exposed to API Interface, providing the users an ability to Trade (Modify Company name of) a .EU domain name, under different registrar. The main purpose of the method is to change the registrant (identity) of the domain. So the registrant contact must be provided by the user. Also, user can mention the nameservers/cns to be associated with the domainname. This method will generate a new order for the customer. All the parameters of method are mandatory, except nameServers & childNameServers.

Parameters:
domainName - - String domain name. E.g. "myeudomain.eu"
registrantContactId - - Registrant (Owner) ContactId of the domain.
customerId - - Customer Id.
nameServers - - List of NameServers of the domain (optional).
childNameServers - - Child name servers (optional). Mention the "cns" as key and list of "ip's" as comma-separated value. So that the key value pair of hashtable will be {String, String} For e.g. childNameServer = {"ns1.abc.eu"="1.2.3.4,2.3.4.5,3.4.5.6", "ns2.abc.eu"="4.5.6.7"}
invoiceOption - - Payment Option. User has to choose any one of following options available : {NoInvoice, PayInvoice, KeepInvoice, OnlyAdd}
Returns:
Hashtable - Returns Hashtable containing domainname, entityid, actionid, actionstatus, description etc.
Throws:
LogicBoxesException

transfer

public java.util.HashMap transfer(java.lang.String SERVICE_USERNAME,
                                  java.lang.String SERVICE_PASSWORD,
                                  java.lang.String SERVICE_ROLE,
                                  java.lang.String SERVICE_LANGPREF,
                                  int SERVICE_PARENTID,
                                  java.lang.String domainName,
                                  int customerId,
                                  java.util.Vector nameServers,
                                  java.util.HashMap childNameServers,
                                  java.lang.String invoiceOption)
This method is exposed to API interface to provide users an ability to Transfer a .EU Domain name, under different registrar, without changing the owner (registrant) details of the domain name. The new registrant, if does not exists, will be created under the new registrar who has initiated this Transfer Request. User can mention the nameservers/cns to be associated with the domain name. This method will generate a new order for the customer. All the parameters of method are mandatory, except nameServers & childNameServers.

Parameters:
domainName - - String domain name. E.g. "myeudomain.eu"
customerId - - Customer Id.
nameServers - - List of NameServers of the domain. (Optional)
childNameServers - - Child name servers (optional). Mention the "cns" as key and list of "ip's" as comma-separated value. So that the key value pair of hashtable will be {String, String} For e.g. childNameServer = {"ns1.abc.eu"="1.2.3.4,2.3.4.5,3.4.5.6", "ns2.abc.eu"="4.5.6.7"}
invoiceOption - - Payment Option. User can choose any one of following payment options available : {NoInvoice, PayInvoice, KeepInvoice, OnlyAdd}
Returns:
Hashtable - Returns Hashtable containing domainname, entityid, actionid, actionstatus, description etc.
Throws:
LogicBoxesException