com.logicboxes.foundation.sfnb
Class Website
java.lang.Object
com.logicboxes.foundation.sfnb.Website
public class Website
- extends java.lang.Object
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 |
Website
public Website()
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 resellerIdscustomerId
- Comma separated list of customerIdsshowChildWebSites
- Whether want to see child websites or notwebsiteName
- Name of the websitestatus
- Comma separated list of status i.e. Active, pending etcproductKey
- Comma separated list of product keys i.e. domorder, mailfwd etcnumOfRecordPerPage
- No of records per page i.e. 10pageNum
- Page Number i.e. 1orderBy
- 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