Package org.exoplatform.webconferencing
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 Summary
Fields Modifier and Type Field Description protected StringcallIdThe group call id.protected Map<String,UserInfo>membersThe members.-
Fields inherited from class org.exoplatform.webconferencing.IdentityInfo
avatarLink, EMPTY, id, profileLink, title
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddMember(UserInfo user)Adds the member.protected voidaddMembers(Collection<UserInfo> users)Adds the members (bulk operation).StringgetCallId()Gets the call id.Map<String,UserInfo>getMembers()Gets the members.booleanisGroup()Checks if it is a group.protected voidsetCallId(String callId)Sets the call id.protected voidsetMembers(Collection<UserInfo> users)Set new members (replace existing ones).-
Methods inherited from class org.exoplatform.webconferencing.IdentityInfo
equals, getAvatarLink, getId, getProfileLink, getTitle, getType, hashCode, setAvatarLink, setProfileLink
-
-
-
-
Method Detail
-
getCallId
public String getCallId()
Gets the call id.- Returns:
- the call id
-
isGroup
public boolean isGroup()
Checks if it is a group.- Specified by:
isGroupin classIdentityInfo- Returns:
- true, if is a group
-
setCallId
protected void setCallId(String callId)
Sets the call id.- Parameters:
callId- the new call id
-
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
-
-