MemberManager.java 1.57 KB
package com.diligrp.website.manager;

import java.util.List;

import com.diligrp.website.util.dao.BaseQuery;
import com.diligrp.website.util.web.PageTemplate;
import com.yqyw.user.rpc.client.domain.input.CreditLimitReq;
import com.yqyw.user.rpc.client.domain.input.FavoriteInfo;
import com.yqyw.user.rpc.client.domain.input.LockMemberReq;
import com.yqyw.user.rpc.client.domain.output.DefaultResp;
import com.yqyw.user.rpc.client.domain.output.EnterpriseInfoResp;
import com.yqyw.user.rpc.client.domain.output.ListFavoriteByPagingResp;
import com.yqyw.user.rpc.client.domain.output.LockMemberResp;
import com.yqyw.user.rpc.client.domain.output.MemberCreditInfoResp;
import com.yqyw.user.rpc.client.domain.output.MemberCreditOptionLogResp;
import com.yqyw.user.rpc.client.domain.output.UserExtensionResp;
import com.yqyw.user.rpc.client.domain.output.UserInfoResp;


public interface MemberManager {

    PageTemplate query(BaseQuery bq);

    LockMemberResp getLockUser(Long id);

    boolean lockMember(LockMemberReq req);

    boolean unlockMember(LockMemberReq req);

    List<MemberCreditOptionLogResp> getCreditHistory(Long memberId);

    MemberCreditInfoResp getCreditInfo(Long memberId);

    DefaultResp updateCreditLimit(CreditLimitReq req);

//    ListBrowseHistoryResp historyList(Integer type,Long userId, BaseQuery bq);

    UserInfoResp getMemberInfo(Long uid);

    UserExtensionResp getMemberExtension(Long uid);

    EnterpriseInfoResp getEnterpriseByUserId(Long uid);

    ListFavoriteByPagingResp getMemberFavorite(FavoriteInfo info,
            Integer currPage, Integer pageSize);

}