Package com.ibm.sbt.services.client.connections.communities

Examples of com.ibm.sbt.services.client.connections.communities.CommunityService.addMember()


   
    protected void addMember(Community community, String id, String role) throws Exception {
        CommunityService communityService = getCommunityService();
        Member member = new Member(communityService, id);
        member.setRole(role);
        communityService.addMember(community.getCommunityUuid(), member);
    }

    protected boolean hasMember(Community community, String id) throws Exception {
        CommunityService communityService = getCommunityService();
        EntityList<Member> memberList = communityService.getMembers(community.getCommunityUuid());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.