com.logicboxes.foundation.sfnb.order
Class DomOrderSetup

java.lang.Object
  extended by com.logicboxes.foundation.sfnb.order.DomOrderSetup

public class DomOrderSetup
extends java.lang.Object


Constructor Summary
DomOrderSetup()
           
 
Method Summary
 java.util.HashMap getCustomerCostPrice(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId)
          Returns the cost price of a particular given customer.
 java.util.HashMap getCustomerDefaultParams(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId, java.lang.String type)
           
 java.util.HashMap getResellerCostPrice(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID)
          Returns the cost price of a reseller .
 java.util.HashMap getResellerTldsSettingsPref(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID)
          Returns the resellers tld settings preferences
 java.util.HashMap listResellerTldsPricingDetails(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int customerId)
          Lists the tld pricing details of the reseller
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DomOrderSetup

public DomOrderSetup()
Method Detail

getCustomerDefaultParams

public java.util.HashMap getCustomerDefaultParams(java.lang.String SERVICE_USERNAME,
                                                  java.lang.String SERVICE_PASSWORD,
                                                  java.lang.String SERVICE_ROLE,
                                                  java.lang.String SERVICE_LANGPREF,
                                                  int SERVICE_PARENTID,
                                                  int customerId,
                                                  java.lang.String type)
Returns:
Return the default nameservers of the reseller.
Throws:
LogicBoxesException - DataConstraintException if any Data passed as parameter are not proper SqlException if any Database related Exception occurs LogicBoxesException if any internal errors occur

getResellerTldsSettingsPref

public java.util.HashMap getResellerTldsSettingsPref(java.lang.String SERVICE_USERNAME,
                                                     java.lang.String SERVICE_PASSWORD,
                                                     java.lang.String SERVICE_ROLE,
                                                     java.lang.String SERVICE_LANGPREF,
                                                     int SERVICE_PARENTID)
Returns the resellers tld settings preferences

Returns:
A hashmap containing the resellers tld setting preferences.
Throws:
LogicBoxesException - DataConstraintException if any Data passed as parameter are not proper SqlException if any Database related Exception occurs LogicBoxesException if any internal errors occur

listResellerTldsPricingDetails

public java.util.HashMap listResellerTldsPricingDetails(java.lang.String SERVICE_USERNAME,
                                                        java.lang.String SERVICE_PASSWORD,
                                                        java.lang.String SERVICE_ROLE,
                                                        java.lang.String SERVICE_LANGPREF,
                                                        int SERVICE_PARENTID,
                                                        int customerId)
Lists the tld pricing details of the reseller

Parameters:
customerId - Specifies the id of the customer for which you want to know the tld pricing details
Returns:
Hashmap containing the list of the tld pricing details of a reseller for the given customer.
Throws:
LogicBoxesException - DataConstraintException if any Data passed as parameter are not proper SqlException if any Database related Exception occurs LogicBoxesException if any internal errors occur

getCustomerCostPrice

public java.util.HashMap getCustomerCostPrice(java.lang.String SERVICE_USERNAME,
                                              java.lang.String SERVICE_PASSWORD,
                                              java.lang.String SERVICE_ROLE,
                                              java.lang.String SERVICE_LANGPREF,
                                              int SERVICE_PARENTID,
                                              int customerId)
Returns the cost price of a particular given customer.

Parameters:
customerId - Specifies the id of the particular customer for which you want to know the cost price.
Returns:
Hashmap containing the costprice for the given customer.
Throws:
LogicBoxesException - DataConstraintException if any Data passed as parameter are not proper SqlException if any Database related Exception occurs LogicBoxesException if any internal errors occur

getResellerCostPrice

public java.util.HashMap getResellerCostPrice(java.lang.String SERVICE_USERNAME,
                                              java.lang.String SERVICE_PASSWORD,
                                              java.lang.String SERVICE_ROLE,
                                              java.lang.String SERVICE_LANGPREF,
                                              int SERVICE_PARENTID)
Returns the cost price of a reseller .

Returns:
Hashmap containing the costprice of the reseller.
Throws:
LogicBoxesException - DataConstraintException if any Data passed as parameter are not proper SqlException if any Database related Exception occurs LogicBoxesException if any internal errors occur