qihoo.open.v1.service.impl
类 AccountService

java.lang.Object
  继承者 qihoo.open.v1.service.impl.BaseService<Account>
      继承者 qihoo.open.v1.service.impl.AccountService

public class AccountService
extends BaseService<Account>

账号service 对接远程accountService中的方法

作者:
ygzhang

字段摘要
 
从类 qihoo.open.v1.service.impl.BaseService 继承的字段
client, params, sysParameter, url
 
构造方法摘要
AccountService(ServiceContext context)
           
 
方法摘要
 GetAccountClientLoginResponse clientLogin(GetAccountClientLoginRequest request)
          客户登录
 GetAllObjectsResponse getAllObjects(GetAllObjectsRequest request)
          获取所有对象
 GetCampaignIdListResponse getCampaignIdList()
          查询推广帐号的下属推广计划 id
 GetExcludeIpResponse getExcludeIp()
          获取IP排除列表
 GetFileStateResponse getFileState(String fieldId)
          在调用 getAllObjects 接口后使用,查询数据文件是否已经生成
 Account getInfo()
          查询推广帐号信息
 GetAccountManagerLoginResponse managerLogin(GetAccountManagerLoginRequest request)
          客服登录
 GetAccountUpdateBudgetResponse updateBudget(Double budget)
          更新budget
 GetAccountUpdateExcludeIpResponse updateExcludeIp(List<String> excludeIpList)
          更新IP排除列表
 
从类 qihoo.open.v1.service.impl.BaseService 继承的方法
getClient, getParams, getSysemParamenter, getUrl, setClient, setUrl
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

AccountService

public AccountService(ServiceContext context)
方法详细信息

getInfo

public Account getInfo()
                throws QihooOpenException
查询推广帐号信息

返回:
Account 推广账户
抛出:
QihooOpenException

getCampaignIdList

public GetCampaignIdListResponse getCampaignIdList()
                                            throws QihooOpenException
查询推广帐号的下属推广计划 id

返回:
GetCampaignIdListResponse 查询推广帐号的下属推广计划id响应类
抛出:
QihooOpenException

getFileState

public GetFileStateResponse getFileState(String fieldId)
                                  throws QihooOpenException
在调用 getAllObjects 接口后使用,查询数据文件是否已经生成

参数:
fieldId - 调用getAllObjects时返回的字符串
返回:
GetFileStateResponse
抛出:
QihooOpenException

getExcludeIp

public GetExcludeIpResponse getExcludeIp()
                                  throws QihooOpenException
获取IP排除列表

返回:
GetExcludeIpResponse
抛出:
QihooOpenException

updateExcludeIp

public GetAccountUpdateExcludeIpResponse updateExcludeIp(List<String> excludeIpList)
                                                  throws QihooOpenException
更新IP排除列表

参数:
excludeIpList - 要排除的ip集合
抛出:
QihooOpenException

getAllObjects

public GetAllObjectsResponse getAllObjects(GetAllObjectsRequest request)
                                    throws QihooOpenException
获取所有对象

参数:
request -
返回:
GetAllObjectsResponse
抛出:
QihooOpenException

updateBudget

public GetAccountUpdateBudgetResponse updateBudget(Double budget)
                                            throws QihooOpenException
更新budget

参数:
budget -
返回:
GetAccountUpdateBudgetResponse
抛出:
QihooOpenException

clientLogin

public GetAccountClientLoginResponse clientLogin(GetAccountClientLoginRequest request)
                                          throws QihooOpenException
客户登录

参数:
request -
返回:
GetAccountClientLoginResponse
抛出:
QihooOpenException

managerLogin

public GetAccountManagerLoginResponse managerLogin(GetAccountManagerLoginRequest request)
                                            throws QihooOpenException
客服登录

参数:
request -
返回:
GetAccountManagerLoginResponse
抛出:
QihooOpenException


Copyright © 2013. All rights reserved.