|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.logicboxes.foundation.sfnb.order.DomOrder
public class DomOrder
Constructor Summary | |
---|---|
DomOrder()
|
Method Summary | |
---|---|
java.util.HashMap |
add(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
java.util.Vector ns,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
Deprecated. |
java.util.HashMap |
addChildNameServer(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.lang.String cns,
java.util.Vector ipAddress)
Adds child nameservers for a particular order |
java.util.HashMap |
addTransferDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.Vector addParamList,
java.util.Vector nameServersList,
int customerId,
java.lang.String invoiceOption,
boolean enablePrivacyProtection,
boolean validate,
java.util.HashMap extraInfo)
Attempts to place a Transfer order for the specified domain name(s) This method performs the action in three steps - 1. |
java.util.HashMap |
addTransferDomainWithoutvalidation(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId)
Deprecated. instead Use addTransferDomain(Hashtable domainHash, Vector nameServersList, int registrantContactId, int adminContactId, int technicalContactId, int billingContactId, int customerId, String invoiceOption, boolean enablePrivacyProtection, boolean validate, Hashtable extraInfo) throws LogicBoxesException |
java.util.HashMap |
addWithoutValidation(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
java.util.Vector ns,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
Attempts to Register the specified domain name(s) without performing any validation of data. |
java.util.HashMap |
bulkAdd(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.Vector domains,
int noOfYears,
java.util.Vector ns,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
Registers the specified domain name. |
java.util.HashMap |
bulkAddTransferDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
Places a transfer order for the specified domain name(s) This method performs the action in two steps - 1. |
java.util.HashMap |
bulkModifyByCustomerId(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int[] customerID,
int[] resellerId,
java.lang.String[] domainNames,
java.util.Vector ns,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId)
Modifies the details of various domains in bulk based on the given customers. |
java.util.HashMap |
bulkModifyByDomainName(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String[] domainNames,
java.util.Vector ns,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId)
|
java.lang.String |
cancelTransfer(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId)
Cancels the Transfer-In Order which is awaiting Admin approval |
java.util.HashMap |
changePrivacyProtectionStatus(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String lockerId,
int orderID,
boolean newIsPrivacyProtected,
java.lang.String reason)
Will add privacy protetion feature for domain name registration The main reason domain owners want to hide their contact information is because their email address listed on the whois record can be used to spam. |
java.util.HashMap |
checkAvailabilityMultiple(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String[] domainNames,
java.lang.String[] tlds,
boolean suggestAlternative)
Returns the availability status of a domainname. |
java.util.HashMap |
checkNameServer(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String[] nameServer,
java.lang.String[] productKeys)
Checks if a particular nameserver is valid or not. |
java.util.HashMap |
del(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId)
Deletes a given order. |
java.util.HashMap |
deleteChildNameServerIp(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.lang.String cns,
java.util.Vector ipAddress)
Deletes the ip address associated with a particular child nameserver of a given order. |
java.util.HashMap |
getDetails(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.util.Vector option)
Returns entity details depending upon various option values. |
java.util.HashMap |
getDetailsByDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String domainName,
java.util.Vector option)
Returns the complete details of a particular order from domainname. |
int |
getOrderIdByDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String domainName,
java.lang.String productkey)
Returns the orderid of a particular order from domainname. |
boolean |
isTransferRequestValid(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String domainName)
Verifies if the status of a given domain allows it to be transferred from one registrar to the other. |
java.util.HashMap |
list(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int[] orderId,
int[] resellerId,
int[] customerId,
boolean showChildOrders,
java.lang.String[] classKey,
java.lang.String[] currentStatus,
java.lang.String description,
java.lang.String[] ns,
java.lang.String contactName,
java.lang.String contactCompanyName,
java.lang.String creationDTRangStart,
java.lang.String creationDTRangEnd,
java.lang.String endTimeRangStart,
java.lang.String endTimeRangEnd,
int numOfRecordPerPage,
int pageNum,
java.lang.String[] orderBy)
Returns Hashtable of order details depending on different variables passed as parameter. |
java.util.HashMap |
modifyChildNameServerIp(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.lang.String cns,
java.lang.String oldIp,
java.lang.String newIp)
Modifies the ip addresses associated with the child name servers of a particular order. |
java.util.HashMap |
modifyChildNameServerName(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.lang.String oldCns,
java.lang.String newCns)
Modifies the child nameservers of the given order. |
java.util.HashMap |
modifyContact(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId)
Modifies the contact details of a particular order. |
java.util.HashMap |
modifyDomainSecret(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.lang.String newSecret)
Modifies the domain secret of the given order. |
java.util.HashMap |
modifyNameServer(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.util.HashMap nsHash)
Modifies the name servers of the given order. |
java.util.HashMap |
namesuggestion(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.lang.String domainname,
java.lang.String hyphenAllowed,
java.lang.String numberAllowed,
int domainNameLen,
int noofResults,
java.lang.String[] arrTlds)
Suggest the domain names similar to the domain nanem hat you specify which are available at the registry. |
java.util.HashMap |
registerDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.Vector addParamList,
java.util.Vector nameServersList,
int customerId,
java.lang.String invoiceOption,
boolean enablePrivacyProtection,
boolean validate,
java.util.HashMap extraInfo)
Attempts to Register the specified domain name(s). This method performs the action in three steps - 1) It validates data sent for registration. 2) It adds an order in the system for the domain name. 3) It attempts to register the domainname in the Registry. |
java.util.HashMap |
renewDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
java.lang.String invoiceOption)
Renews a domain. |
void |
resendTransferAuthorizationMail(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId)
Resends the transfer authorization mail |
java.util.HashMap |
restore(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
int orderId,
java.lang.String invoiceOption)
Restore domain |
java.util.HashMap |
transferDomain(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
Deprecated. |
java.util.HashMap |
validateDomainRegistrationParams(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
java.util.Vector ns,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
This method validated parameters which you will use for registration. |
java.util.HashMap |
validateDomainTransferParams(java.lang.String userName,
java.lang.String password,
java.lang.String role,
java.lang.String langpref,
int parentid,
java.util.HashMap domainHash,
int registrantContactId,
int adminContactId,
int techContactId,
int billingContactId,
int customerId,
java.lang.String invoiceOption)
This method validated parameters which you will use for registration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DomOrder()
Method Detail |
---|
public java.util.HashMap checkAvailabilityMultiple(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String[] domainNames, java.lang.String[] tlds, boolean suggestAlternative)
domainNames
- domainnames for which availability is to be checkedsuggestAlternative
- alternative domainName
If this parameter is true, then availability will be checked for
all supported TLD's. If it is false, then availability will be
checked only for the specified TLD
status
is available then domain is available. If value for key status
is regthroughus then domain is already registered through directi as
a registrar. If value for key status
is regthroughothers
then domain is already registered through other registrar.
The Hashtable has the domainname as the key and a Hashtable as the value
The inner Hashtable has two keys - status and classkey
{atestdomain.com={status=regthroughothers, classkey=domcno}}
Possible values for the status are: available, regthroughus
and regthroughothers
The classkey denotes the TLD type of the domainname.
LogicBoxesException
- if domainName value is null
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occur@Deprecated public java.util.HashMap transferDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domainHash
- This should contain the domain name(s) which are to be registered.
The Hashtable should have the domainname as the key, and the domain transfer secret as the value. In case of domains
which do not have a transfer secret, an empty string should be passed.
ex. {domain1.com=secret1,domain2.net=secret2}registrantContactId
- The contact to be used as the Registrant for all the specified domains.adminContactId
- The contact to be used as the Admin Contact for all the specified domains.techContactId
- The contact to be used as the Tech Contact for all the specified domains.billingContactId
- The contact to be used as the Billing Contact for all the specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the
first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid
and the domains will be registered. If a customer has less balance than required, then as many domains
as possible will be registered with the existing funds. All other orders will remain pending in the system.
KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains.
However, these invoices will not be paid. They will be kept pending, while the orders will be executed.
LogicBoxesException
- if domainName value is null
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occur@Deprecated public java.util.HashMap add(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, java.util.Vector ns, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domainHash
- This should contain the domain name(s) which are to be registered.
The Hashtable should have the domainname as the key, and the number
of years to register the domain for as the value.
ex. {domain1.com=1,domain2.net=2}ns
- The NameServers to be used for the domains being registered.
The same NS's will be used forall the domain names specified
in the domain hash.registrantContactId
- The contact to be used as the Registrant for all the
specified domains.adminContactId
- The contact to be used as the Admin Contact for all the
specified domains.techContactId
- The contact to be used as the Tech Contact for all the
specified domains.billingContactId
- The contact to be used as the Billing Contact for all the
specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices
will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the
domains in the first step. If there is sufficient balance in the
Customer's Debit Account, then the invoices will be paid and the domains
will be registered. If a customer has less balance than required,
then as many domains as possible will be registered with the existing funds.
All other orders will remain pending in the system.
KeepInvoice -If this value is passed, then a customer invoice will be generated
for the domains. However, these invoices will not be paid.
They will be kept pending, while the orders will be executed.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap renewDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, java.lang.String invoiceOption)
domainHash
- Contains the key-value pair for the orders that need to be renewed.
The domain names are keys and the values contain the entityid, noOfyears for which
the order needs to be renewed and the current expration timestampinvoiceOption
- This parameter will decide how the Customer Invoices will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the
first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid
and the domains will be registered. If a customer has less balance than required, then as many domains
as possible will be registered with the existing funds. All other orders will remain pending in the system.
KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains.
However, these invoices will not be paid. They will be kept pending, while the orders will be executed.
DataConstraintException
- if there invalid data passed as parameter
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap bulkAdd(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.Vector domains, int noOfYears, java.util.Vector ns, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domains
- This should contain the domain name which are to be registered. If the domains needs
to be privacy protected, then the vector should also conatain a value called 'isprivacyprotected'.ns
- The NameServers to be used for the domains being registered.
The same NS's will be used for all the domain names specified
in the domain hash.registrantContactId
- The contact to be used as the Registrant for all the
specified domains.adminContactId
- The contact to be used as the Admin Contact for all the
specified domains.techContactId
- The contact to be used as the Tech Contact for all the
specified domains.billingContactId
- The contact to be used as the Billing Contact for all the
specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices
will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the
domains in the first step. If there is sufficient balance in the
Customer's Debit Account, then the invoices will be paid and the domains
will be registered. If a customer has less balance than required,
then as many domains as possible will be registered with the existing funds.
All other orders will remain pending in the system.
KeepInvoice -If this value is passed, then a customer invoice will be generated
for the domains. However, these invoices will not be paid.
They will be kept pending, while the orders will be executed.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap bulkAddTransferDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domainHash
- This should contain the domain name(s) which are to be registered.
The Hashtable should have the domainname as the key, and the domain transfer secret as the value. In case of domains
which do not have a transfer secret, an empty string should be passed.
ex. {domain1.com=secret1,domain2.net=secret2}
The domainHash can have 'isPrivacyProtected' as a key The value of 'isPrivacyProtected' is as below
if priavcy protection have to be enabled
isPrivacyProtected = true
if privacy protection have to be disabled
isPrivacyProtected = falseregistrantContactId
- The contact to be used as the Registrant for all the specified domains.adminContactId
- The contact to be used as the Admin Contact for all the specified domains.techContactId
- The contact to be used as the Tech Contact for all the specified domains.billingContactId
- The contact to be used as the Billing Contact for all the specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the
first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid
and the domains will be registered. If a customer has less balance than required, then as many domains
as possible will be registered with the existing funds. All other orders will remain pending in the system.
KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains.
However, these invoices will not be paid. They will be kept pending, while the orders will be executed.
LogicBoxesException
- if domainName value is null
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap bulkModifyByDomainName(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String[] domainNames, java.util.Vector ns, int registrantContactId, int adminContactId, int techContactId, int billingContactId)
domainNames
- ns
- registrantContactId
- Specifies the new registrant contactid to be set.adminContactId
- Specifies the new admin contactid to be set.techContactId
- Specifies the new tech contactid to be set.billingContactId
- Specifies the new billing contactid to be set.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap bulkModifyByCustomerId(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int[] customerID, int[] resellerId, java.lang.String[] domainNames, java.util.Vector ns, int registrantContactId, int adminContactId, int techContactId, int billingContactId)
customerID
- Specifies the identification numbers of the various customers.resellerId
- Specifies the identification numbers of the various resellers.domainNames
- Specifies the varuious domains the details of which needs to be modified.ns
- Specifies the nameservers that need to be set for the corresponding domains.registrantContactId
- Specifies the new registrant contactid to be set.adminContactId
- Specifies the new admin contactid to be set.techContactId
- Specifies the new tech contactid to be set.billingContactId
- Specifies the new billing contactid to be set.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap addChildNameServer(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.lang.String cns, java.util.Vector ipAddress)
orderId
- Specifies the orderid for which the child name server needs to be added.cns
- Specifies the child nameserver that needs to be added.ipAddress
- Specifies the IP address that should be associated with the newly added child nameserver.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap deleteChildNameServerIp(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.lang.String cns, java.util.Vector ipAddress)
orderId
- Specifies the order the ip address of the childnameservers of which needs to be deleted.cns
- Specifies the child nameserver of which the IP address needs to be deleted.ipAddress
- Specifies the IP address that needs to be deleted.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap del(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId)
orderId
- Specifies the order to be deleted.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap modifyChildNameServerIp(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.lang.String cns, java.lang.String oldIp, java.lang.String newIp)
orderId
- Specifies the order, the ip addresses of whose child nameservers needs to be modifies.cns
- Specifies the child nameservers.oldIp
- Specifies the current IP address associated with the child nameserver.newIp
- Specifies the new IP address that needs to be associated with that child nameserver.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap modifyChildNameServerName(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.lang.String oldCns, java.lang.String newCns)
orderId
- Specifies the orderid whose child nameservers needs to be modified.oldCns
- Specifies the current child nameservers of the order.newCns
- Specifies the new child nameservers that need to be set.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap modifyContact(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, int registrantContactId, int adminContactId, int techContactId, int billingContactId)
orderId
- Specifies the orderid of whcih the contacts needs to be modified.registrantContactId
- Specifies the new registrant contactid to be set.adminContactId
- Specifies the new admin contactid to be set.techContactId
- Specifies the new tech contactid to be set.billingContactId
- Specifies the new billing contactid to be set.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap modifyDomainSecret(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.lang.String newSecret)
orderId
- Specifies the order of which you want to change the nameservers.newSecret
- Specifies the new domain secret to be set in modification process.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap modifyNameServer(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.util.HashMap nsHash)
orderId
- Specifies the order of which you want to change the nameservers.nsHash
- Specifies hash of the nameservers that you want to set for the given order.
This hash contains the no of the nameserver as the key and the actual nameserver as the value.
e.g key is ns1 and the value can be ns1.ditrecti.com
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap namesuggestion(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String domainname, java.lang.String hyphenAllowed, java.lang.String numberAllowed, int domainNameLen, int noofResults, java.lang.String[] arrTlds)
domainname
- Specifies the domain name similar to which are the domains available at the registry to register.hyphenAllowed
- Specifies if the suggested domain name can have hyphens in it.numberAllowed
- Specifies if the suggested domain name can have numbers in it.domainNameLen
- Specifies the maximum length of th domain.noofResults
- Specifies the number of domain name suggestion that you want.arrTlds
- Sprcifies the alternate tlds for which you want the name suggestion to be given.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic boolean isTransferRequestValid(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String domainName)
domainName
- Sprcifies the domain name for which the transfer status needs to be checked.
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap checkNameServer(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String[] nameServer, java.lang.String[] productKeys)
nameServer
- Specifies a list of nameservers that you want to check.productKeys
- Specifies a list of productKeys that you want to check the nameserver for.
public java.util.HashMap validateDomainRegistrationParams(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, java.util.Vector ns, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domainHash
- This should contain the domain name(s) which are to be registered.
The HashMap should have the domainname as the key, and the number
of years to register the domain for as the value.
ex. {domain1.com=1,domain2.net=2}ns
- The NameServers to be used for the domains being registered.
The same NS's will be used forall the domain names specified
in the domain hash.registrantContactId
- The contact to be used as the Registrant for all the
specified domains.adminContactId
- The contact to be used as the Admin Contact for all the
specified domains.techContactId
- The contact to be used as the Tech Contact for all the
specified domains.billingContactId
- The contact to be used as the Billing Contact for all the
specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices
will be handled.
This could be one of below
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the
domains in the first step. If there is sufficient balance in the
Customer's Debit Account, then the invoices will be paid and the domains
will be registered. If a customer has less balance than required,
then as many domains as possible will be registered with the existing funds.
All other orders will remain pending in the system.
KeepInvoice -If this value is passed, then a customer invoice will be generated
for the domains. However, these invoices will not be paid.
They will be kept pending, while the orders will be executed.
LogicBoxesException
public java.util.HashMap validateDomainTransferParams(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domainHash
- This should contain the domain name(s) which are to be transfered.
The HashMap should have the domainname as the key, and the domain
secret for the domain as the value.
ex. {domain1.com=secret1,domain2.net=secret2}registrantContactId
- The contact to be used as the Registrant for all the
specified domains.adminContactId
- The contact to be used as the Admin Contact for all the
specified domains.techContactId
- The contact to be used as the Tech Contact for all the
specified domains.billingContactId
- The contact to be used as the Billing Contact for all the
specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices
will be handled.
This could be one of below
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the
domains in the first step. If there is sufficient balance in the
Customer's Debit Account, then the invoices will be paid and the domains
will be registered. If a customer has less balance than required,
then as many domains as possible will be registered with the existing funds.
All other orders will remain pending in the system.
KeepInvoice -If this value is passed, then a customer invoice will be generated
for the domains. However, these invoices will not be paid.
They will be kept pending, while the orders will be executed.
LogicBoxesException
public java.util.HashMap addTransferDomainWithoutvalidation(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId)
domainHash
- This should contain the domain name(s) which are to be transfered.
The HashMap should have the domainname as the key, and the domain transfer secret as the value. In case of domains
which do not have a transfer secret, an empty string should be passed.
ex. {domain1.com=secret1,domain2.net=secret2}registrantContactId
- The contact to be used as the Registrant for all the specified domains.adminContactId
- The contact to be used as the Admin Contact for all the specified domains.techContactId
- The contact to be used as the Tech Contact for all the specified domains.billingContactId
- The contact to be used as the Billing Contact for all the specified domains.customerId
- The customer under whom the orders should be added
LogicBoxesException
- - LogicBoxesExceptionpublic java.util.HashMap addWithoutValidation(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.HashMap domainHash, java.util.Vector ns, int registrantContactId, int adminContactId, int techContactId, int billingContactId, int customerId, java.lang.String invoiceOption)
domainHash
- This should contain the domain name(s) which are to be registered.
The HashMap should have the domainname as the key, and the number
of years to register the domain for as the value.
ex. {domain1.com=1,domain2.net=2}ns
- The NameServers to be used for the domains being registered.
The same NS's will be used forall the domain names specified
in the domain hash.registrantContactId
- The contact to be used as the Registrant for all the
specified domains.adminContactId
- The contact to be used as the Admin Contact for all the
specified domains.techContactId
- The contact to be used as the Tech Contact for all the
specified domains.billingContactId
- The contact to be used as the Billing Contact for all the
specified domains.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices
will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the
domains in the first step. If there is sufficient balance in the
Customer's Debit Account, then the invoices will be paid and the domains
will be registered. If a customer has less balance than required,
then as many domains as possible will be registered with the existing funds.
All other orders will remain pending in the system.
KeepInvoice -If this value is passed, then a customer invoice will be generated
for the domains. However, these invoices will not be paid.
They will be kept pending, while the orders will be executed.
public java.util.HashMap getDetails(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.util.Vector option)
orderId
- OrderId for which details requiredoption
- Vector of different option for details listing.Allowed Option values are
All, OrderDetails, ContactIds, RegistrantContactDetails, AdminContactDetails, TechContactDetails,
BillingContactDetails, NsDetails, DomainStatus
LogicBoxesException
- if option value is null or Invalid
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap getDetailsByDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String domainName, java.util.Vector option)
domainName
- The domainName for which details are requiredoption
- The various details that are required for the order.
Valid entries are:
OrderDetails
StatusDetails
ContactIds
RegistrantContactDetails
AdminContactDetails
TechContactDetails
BillingContactDetails
NsDetails
DomainStatus
PricingDetails
All
LogicBoxesException
- if option value is null or Invalid
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic int getOrderIdByDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String domainName, java.lang.String productkey)
domainName
- The domainName for which details are requiredproductkey
- Productkey i.e. domcno, domorg, dotin etc
LogicBoxesException
- if option value is null or Invalid
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap list(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int[] orderId, int[] resellerId, int[] customerId, boolean showChildOrders, java.lang.String[] classKey, java.lang.String[] currentStatus, java.lang.String description, java.lang.String[] ns, java.lang.String contactName, java.lang.String contactCompanyName, java.lang.String creationDTRangStart, java.lang.String creationDTRangEnd, java.lang.String endTimeRangStart, java.lang.String endTimeRangEnd, int numOfRecordPerPage, int pageNum, java.lang.String[] orderBy)
orderId
- - Array of OrderIds for Listing of Specific orders or null for all ordersresellerId
- - Array of ResellerId for Listing of reseller specific orders or null for all
orders when called by AdmincustomerId
- - Array of CustomerId for Listing of customer specific orders or null for all
orders when called by Admin or ResellershowChildOrders
- - flag denoting whether to show child orders or notclassKey
- - Array of classKey for Listing of DomOrders of specific EntityType or null
for all EntityTypecurrentStatus
- - Array of CurrentStatus for Listing of DomOrders of specific CurrentStatus
or null for all CurrentStatusendTimeRangStart
- - UNIX TimeStamp for Listing of DomOrders whose endDT Greater
than endTimeRangStart or null for all ordersendTimeRangEnd
- - UNIX TimeStamp for Listing of DomOrders whose endDT Less
than endTimeRangEnd or null for all orderscreationDTRangStart
- - UNIX TimeStamp for Listing of DomOrders whose creationDT Greater
than creationDTRangStart or null for all orderscreationDTRangEnd
- - UNIX TimeStamp for Listing of DomOrders whose creationDT Less
than creationDTRangEnd or null for all ordersdescription
- - String for Listing of DomOrders whose Description is Like description
or null for all ordersnumOfRecordPerPage
- - No of Records Require per pagepageNum
- -Page Number from which records requireorderBy
- - Array of Field names for sorting Listing of DomOrders or null for default by
orderId
LogicBoxesException
- DataConstraintException if any Data passed as parameter are not proper
SqlException if any Database related Exception occurs
LogicBoxesException if any internal errors occurpublic java.util.HashMap registerDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.Vector addParamList, java.util.Vector nameServersList, int customerId, java.lang.String invoiceOption, boolean enablePrivacyProtection, boolean validate, java.util.HashMap extraInfo)
addParamList
- This should contain the list of hashtables grouped according to contact types.nameServersList
- The NameServers to be used for the domains being registered.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer InvoicesenablePrivacyProtection
- This parameter should contain either true or false. This field provides option to choosevalidate
- This parameter should contain either true or false. Setting it true will validateextraInfo
- This paramter can contain the extra details required to register a domain. The details should beLogicBoxesException
- - LogicBoxesExceptionpublic java.util.HashMap addTransferDomain(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.util.Vector addParamList, java.util.Vector nameServersList, int customerId, java.lang.String invoiceOption, boolean enablePrivacyProtection, boolean validate, java.util.HashMap extraInfo)
addParamList
- This should contain the list of hashtables grouped according to contact types.
This hashtables should contain the hash of domains & contacts.
E.g. {domainhash=Hash, contacthash=Hash}
The domain hash should contain domain name(s) which are to be transfered as the key, and the domain
secret as the value. In case of domains which do not have a transfer secret, an empty string should be passed.
ex. {domain1.com=secret1,domain2.net=secret2}
The contact hash should contain the contactids as values, the structure should be as follows:
{registrantcontactid=1, billingcontactid=2, technicalcontactid=3, admincontactid=4}, where order may vary.
Note: If a domain type doesnt support any of the above given contact types then they need not be mentioned
in the contact hash.
E.g. .EU domains contact hash would look like, {registrantcontactid=1, technicalcontactid=2}
Typically, the addParamList's structure while tranfer multiple types of domains would be:
[
{domainhash={{domain1.com=secret1,domain2.org=secret2}},contacthash={{registrantcontactid=1, billingcontactid=2, technicalcontactid=3, admincontactid=4}}},
{domainhash={{eudomain1.eu=,eudomain2.eu=,eudomain3.eu=}},contacthash={{registrantcontactid=5, technicalcontactid=6}}},
{domainhash={{thirdleveldomain1.co.uk=}},contacthash={registrantcontactid=7}}
]
ex. {domain1.com=secret1,domain2.net=secret2}nameServersList
- The NameServers to be used for the domains being transfered. If you pass the nameservers,
then the original nameservers will be replaced by the new ones otherwise the orinal nameservers will remain as it is.
The same NS's will be used for all the domain names specified in the domain hash.customerId
- The customer under whom the orders should be addedinvoiceOption
- This parameter will decide how the Customer Invoices will be handled.
NoInvoice - If this value is passed, then no customer invoice will be generated for the domains.
PayInvoice - If this value is passed, then a customer invoice will be generated for the domains in the
first step. If there is sufficient balance in the Customer's Debit Account, then the invoices will be paid
and the domains will be registered. If a customer has less balance than required, then as many domains
as possible will be registered with the existing funds. All other orders will remain pending in the system.
KeepInvoice - If this value is passed, then a customer invoice will be generated for the domains.
However, these invoices will not be paid. They will be kept pending, while the orders will be executed.enablePrivacyProtection
- This parameter should contain either true or false. This field provides option to choose
if you want to enable privacy protection service.validate
- This parameter should contain either true or false. Setting it true will validate
the NS's provided & Domain Availability before adding the order.extraInfo
- This paramter can contain the extra details required to transfer a domain. The details should beLogicBoxesException
- - LogicBoxesExceptionpublic java.util.HashMap changePrivacyProtectionStatus(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, java.lang.String lockerId, int orderID, boolean newIsPrivacyProtected, java.lang.String reason)
lockerId
- The userid (resellerid or customerid) who is going to do the
enable / disable Privacy Protection.orderID
- The orderID for which enable / disable Privacy Protection action to be donenewIsPrivacyProtected
- This is the flag shows what action (enable or disable Privacy Protection)
to be done.
if Privacy Protection enabled
newIsPrivacyProtected = true
if Privacy Protection disabled
newIsPrivacyProtected = falsereason
- The reason, why Privacy Protection enable or disable
LogicBoxesException
public java.util.HashMap restore(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId, java.lang.String invoiceOption)
orderId
- OrderId of the domain.invoiceOption
- This parameter will decide how the Customer Invoices will be handled.LogicBoxesException
- if any internal error occurspublic void resendTransferAuthorizationMail(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId)
orderId
- specifies the order for which you want to resend the authorization mail
LogicBoxesException
public java.lang.String cancelTransfer(java.lang.String userName, java.lang.String password, java.lang.String role, java.lang.String langpref, int parentid, int orderId)
orderId
- specifies the Order that you want to cancel
LogicBoxesException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |