com.logicboxes.foundation.sfnb
Class Website

java.lang.Object
  extended by com.logicboxes.foundation.sfnb.Website

public class Website
extends java.lang.Object


Constructor Summary
Website()
           
 
Method Summary
 java.util.HashMap list(java.lang.String SERVICE_USERNAME, java.lang.String SERVICE_PASSWORD, java.lang.String SERVICE_ROLE, java.lang.String SERVICE_LANGPREF, int SERVICE_PARENTID, int[] resellerId, int[] customerId, boolean showChildWebSites, java.lang.String websiteName, java.lang.String[] status, java.lang.String[] productKey, int numOfRecordPerPage, int pageNum, java.lang.String[] orderBy, boolean searchflag)
          Lists details of all websites .
 java.util.HashMap moveWebsite(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 websiteName, int newCustomerId, java.lang.String defaultcontact)
          Moves websitename from one customer to other customer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Website

public Website()
Method Detail

moveWebsite

public java.util.HashMap moveWebsite(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 websiteName,
                                     int newCustomerId,
                                     java.lang.String defaultcontact)
Moves websitename from one customer to other customer.

Parameters:
websiteName - Name of the website that is to be transfer.
newCustomerId - customerId to which the website is to be transfer.
defaultcontact - Value to indicate whether the oldcontact has to be retained or to use the default contact of the new customer Valid entries are: oldcontact,default.
Returns:
Return Hash will contain entityid entitytypeid actiontype actiontypedesc actionstatus actionstatusdesc priority actionadded actionstarted actioncompleted

list

public java.util.HashMap list(java.lang.String SERVICE_USERNAME,
                              java.lang.String SERVICE_PASSWORD,
                              java.lang.String SERVICE_ROLE,
                              java.lang.String SERVICE_LANGPREF,
                              int SERVICE_PARENTID,
                              int[] resellerId,
                              int[] customerId,
                              boolean showChildWebSites,
                              java.lang.String websiteName,
                              java.lang.String[] status,
                              java.lang.String[] productKey,
                              int numOfRecordPerPage,
                              int pageNum,
                              java.lang.String[] orderBy,
                              boolean searchflag)
Lists details of all websites . To get all the values just pass NumOfRecordPerPage i.e. 10 and PageNum i.e. 1.

Parameters:
resellerId - Comma separated list of resellerIds
customerId - Comma separated list of customerIds
showChildWebSites - Whether want to see child websites or not
websiteName - Name of the website
status - Comma separated list of status i.e. Active, pending etc
productKey - Comma separated list of product keys i.e. domorder, mailfwd etc
numOfRecordPerPage - No of records per page i.e. 10
pageNum - Page Number i.e. 1
orderBy - Comma separated list of column name u want to ordered i.e. customerid,websitename etc.
searchflag - True/false
Returns:
Return Hash will contain result in key-value format