Search in sources :

Example 1 with SetRuleVO

use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.

the class ChatCore method removeAdmin.

public String removeAdmin(RequestSetAdmin request) {
    SetRuleVO setRuleVO = new SetRuleVO();
    setRuleVO.setRoles(request.getRoles());
    setRuleVO.setThreadId(request.getThreadId());
    setRuleVO.setTypeCode(getTypeCode());
    return removeRole(setRuleVO);
}
Also used : SetRuleVO(com.fanap.podchat.localmodel.SetRuleVO)

Example 2 with SetRuleVO

use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.

the class ChatCore method addAuditor.

public String addAuditor(RequestSetAuditor request) {
    SetRuleVO setRuleVO = new SetRuleVO();
    setRuleVO.setRoles(request.getRoles());
    setRuleVO.setThreadId(request.getThreadId());
    setRuleVO.setTypeCode(getTypeCode());
    return setRole(setRuleVO);
}
Also used : SetRuleVO(com.fanap.podchat.localmodel.SetRuleVO)

Example 3 with SetRuleVO

use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.

the class ChatCore method addAdmin.

/**
 * @param request You can add or remove someone as admin to some thread set
 *                and roles to them
 */
public String addAdmin(RequestSetAdmin request) {
    SetRuleVO setRuleVO = new SetRuleVO();
    setRuleVO.setRoles(request.getRoles());
    setRuleVO.setThreadId(request.getThreadId());
    setRuleVO.setTypeCode(getTypeCode());
    return setRole(setRuleVO);
}
Also used : SetRuleVO(com.fanap.podchat.localmodel.SetRuleVO)

Example 4 with SetRuleVO

use of com.fanap.podchat.localmodel.SetRuleVO in project pod-chat-android-sdk by FanapSoft.

the class ChatCore method removeAuditor.

public String removeAuditor(RequestSetAuditor request) {
    SetRuleVO setRuleVO = new SetRuleVO();
    setRuleVO.setRoles(request.getRoles());
    setRuleVO.setThreadId(request.getThreadId());
    setRuleVO.setTypeCode(getTypeCode());
    return removeRole(setRuleVO);
}
Also used : SetRuleVO(com.fanap.podchat.localmodel.SetRuleVO)

Aggregations

SetRuleVO (com.fanap.podchat.localmodel.SetRuleVO)4