Class GroupInfo

java.lang.Object
org.exoplatform.webconferencing.IdentityInfo
org.exoplatform.webconferencing.GroupInfo
Direct Known Subclasses:
WebConferencingService.RoomInfo, WebConferencingService.SpaceEventInfo, WebConferencingService.SpaceInfo

public abstract class GroupInfo extends IdentityInfo
Represent eXo group for conversations in calls.
Created by The eXo Platform SAS
Version:
$Id: GroupInfo.java 00000 Mar 3, 2017 pnedonosko $
Author:
Peter Nedonosko
  • Field Details

    • callId

      protected String callId
      The group call id.
    • members

      protected final Map<String,UserInfo> members
      The members.
  • Constructor Details

    • GroupInfo

      public GroupInfo(String id, String title)
      Instantiates a new group info.
      Parameters:
      id - the id
      title - the title
  • Method Details

    • getCallId

      public String getCallId()
      Gets the call id.
      Returns:
      the call id
    • isGroup

      public boolean isGroup()
      Checks if it is a group.
      Specified by:
      isGroup in class IdentityInfo
      Returns:
      true, if is a group
    • setCallId

      protected void setCallId(String callId)
      Sets the call id.
      Parameters:
      callId - the new call id
    • getMembers

      public Map<String,UserInfo> getMembers()
      Gets the members.
      Returns:
      the members
    • addMember

      protected void addMember(UserInfo user)
      Adds the member.
      Parameters:
      user - the user
    • addMembers

      protected void addMembers(Collection<UserInfo> users)
      Adds the members (bulk operation).
      Parameters:
      users - the users
    • setMembers

      protected void setMembers(Collection<UserInfo> users)
      Set new members (replace existing ones).
      Parameters:
      users - the users