public class MoxtraMeet extends MoxtraBinder
| Modifier and Type | Field and Description |
|---|---|
protected String |
agenda |
protected Boolean |
autoRecording |
protected Date |
endTime |
static String |
SESSION_DELETED |
static String |
SESSION_ENDED |
static String |
SESSION_SCHEDULED |
static int |
SESSION_START_BEFORE_MINUTES
Maximum, and default, time for starting a meet before its scheduled start time from Moxtra API.
|
static String |
SESSION_STARTED |
protected String |
sessionId
Optional.
|
protected String |
sessionKey
Session key it is a meet ID also.
|
protected String |
startMeetUrl |
protected Date |
startTime |
protected String |
status |
binderId, createdTime, deleted, isNew, name, revision, thumbnailUrl, updatedTime, USER_STATUS_BOARD_INVITED, USER_STATUS_BOARD_MEMBER, USER_TYPE_BOARD_OWNER, USER_TYPE_BOARD_READ_WRITE, users| Modifier | Constructor and Description |
|---|---|
|
MoxtraMeet()
New meet constructor.
|
protected |
MoxtraMeet(MoxtraMeet otherMeet)
Editor constructor.
|
|
MoxtraMeet(String name,
String agenda,
Date startTime,
Date endTime,
Boolean autoRecording)
Deprecated.
|
|
MoxtraMeet(String binderId,
String name,
Long revision,
Date createdTime,
Date updatedTime)
Deprecated.
|
|
MoxtraMeet(String sessionKey,
String sessionId,
String binderId,
String name,
Long revision,
String startMeetUrl,
Date createdTime,
Date updatedTime)
Existing meet constructor (for use with JS API session).
|
|
MoxtraMeet(String sessionKey,
String scheduleBinderId,
String name,
String agenda,
Long revision,
String startMeetUrl,
Date createdTime,
Date updatedTime,
Date startTime,
Date endTime,
Boolean autoRecording)
Deprecated.
|
protected |
MoxtraMeet(String sessionKey,
String sessionId,
String binderId,
String name,
String agenda,
Long revision,
String startMeetUrl,
Date createdTime,
Date updatedTime,
Date startTime,
Date endTime,
Boolean autoRecording,
String status) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart()
Check if meet can be started.
|
protected void |
checkTime()
Check and align if required the time for start and end to ensure they are in natural order (end after the
start).
|
static MoxtraMeet |
create(String sessionKey,
String sessionId,
String binderId,
String name,
String agenda,
Long revision,
String startMeetUrl,
Date createdTime,
Date updatedTime,
Date startTime,
Date endTime,
Boolean autoRecording,
List<MoxtraUser> users)
Create meet object from given data.
|
void |
editAgenda(String newAgenda) |
void |
editAutoRecording(Boolean newAutoRecording) |
void |
editEndTime(Date newEndTime)
Set new end time.
|
MoxtraMeet |
editor()
Return an editor instance for this binder.
|
void |
editStartTime(Date newStartTime)
Set new start time.
|
String |
getAgenda() |
Boolean |
getAutoRecording() |
Date |
getEndTime()
Meet's end time as scheduled.
|
MoxtraUser |
getHostUser()
User that hosts this meet.
|
String |
getSessionId() |
String |
getSessionKey() |
String |
getStartMeetUrl() |
Date |
getStartTime()
Meet's start time as scheduled.
|
String |
getStatus() |
String |
getVideoPath() |
String |
getVideoWorkspace() |
boolean |
hasAgendaChanged() |
boolean |
hasAutoRecordingChanged() |
boolean |
hasEndTimeChanged() |
boolean |
hasStartTimeChanged() |
boolean |
hasUser(MoxtraUser user)
Tells if given user is invited in this meet.
|
boolean |
isAutoRecording()
Tells if auto-recording enabled for the meet.
|
boolean |
isDeleted()
Check if meet was deleted remotely in Moxtra.
|
boolean |
isEnded()
Check if meet already had started and ended in Moxtra.
|
boolean |
isExpired()
Check if scheduled meet not already expired its planned end time.
|
boolean |
isScheduled()
Check if meet scheduled in Moxtra.
|
boolean |
isStarted() |
protected void |
setAgenda(String agenda) |
protected void |
setAutoRecording(Boolean autoRecording) |
protected void |
setEndTime(Date endTime) |
protected void |
setHostUser(MoxtraUser hostUser) |
protected void |
setSessionId(String sessionId) |
protected void |
setSessionKey(String sessionKey) |
protected void |
setStartMeetUrl(String startMeetUrl) |
protected void |
setStartTime(Date startTime) |
protected void |
setStatus(String status) |
void |
setVideoPath(String videoPath) |
void |
setVideoWorkspace(String videoWorkspace) |
String |
toString() |
addUser, delete, editName, getAddedUsers, getBinderId, getCreatedTime, getName, getRemovedUsers, getRevision, getThumbnailUrl, getUpdatedTime, getUsers, hasDeleted, hasNameChanged, hasUsersAdded, hasUsersRemoved, isEditor, isNew, removeUser, setBinderId, setCreatedTime, setName, setRevision, setThumbnailUrl, setUpdatedTime, setUsers, undeletepublic static final String SESSION_SCHEDULED
public static final String SESSION_STARTED
public static final String SESSION_ENDED
public static final String SESSION_DELETED
public static final int SESSION_START_BEFORE_MINUTES
protected String sessionKey
protected String sessionId
protected String agenda
protected String startMeetUrl
protected Boolean autoRecording
protected Date startTime
protected Date endTime
protected String status
protected MoxtraMeet(String sessionKey, String sessionId, String binderId, String name, String agenda, Long revision, String startMeetUrl, Date createdTime, Date updatedTime, Date startTime, Date endTime, Boolean autoRecording, String status)
public MoxtraMeet(String sessionKey, String sessionId, String binderId, String name, Long revision, String startMeetUrl, Date createdTime, Date updatedTime)
sessionKey - sessionId - scheduleBinderId - name - revision - startMeetUrl - createdTime - updatedTime - @Deprecated public MoxtraMeet(String binderId, String name, Long revision, Date createdTime, Date updatedTime)
binderId - name - revision - createdTime - updatedTime - @Deprecated public MoxtraMeet(String sessionKey, String scheduleBinderId, String name, String agenda, Long revision, String startMeetUrl, Date createdTime, Date updatedTime, Date startTime, Date endTime, Boolean autoRecording)
sessionKey - scheduleBinderId - name - agenda - revision - startMeetUrl - createdTime - updatedTime - startTime - endTime - autoRecording - public MoxtraMeet()
@Deprecated public MoxtraMeet(String name, String agenda, Date startTime, Date endTime, Boolean autoRecording)
name - agenda - startTime - endTime - autoRecording - protected MoxtraMeet(MoxtraMeet otherMeet)
otherMeet - public static MoxtraMeet create(String sessionKey, String sessionId, String binderId, String name, String agenda, Long revision, String startMeetUrl, Date createdTime, Date updatedTime, Date startTime, Date endTime, Boolean autoRecording, List<MoxtraUser> users)
sessionKey - sessionId - binderId - name - agenda - revision - startMeetUrl - createdTime - updatedTime - startTime - endTime - autoRecording - public String toString()
toString in class MoxtraBinderpublic MoxtraMeet editor()
editor in class MoxtraBinderMoxtraBinder edit instancepublic MoxtraUser getHostUser() throws MoxtraException
MoxtraUserMoxtraException - when owner cannot not definedpublic boolean hasUser(MoxtraUser user)
user - MoxtraUsertrue if user invited in this meet, false otherwisepublic String getSessionKey()
public String getSessionId()
public String getAgenda()
public String getStartMeetUrl()
public String getStatus()
public boolean isStarted()
public boolean isEnded()
true if meet ended in Moxtra, false otherwisepublic boolean isScheduled()
true if meet scheduled in Moxtra, false otherwisepublic boolean isDeleted()
MoxtraBinder.hasDeleted() which
describes local state of this meet editor instance before the actual deletion in Moxtra.true if meet removed in Moxtra, false otherwisepublic boolean isExpired()
true if end time already gone, false otherwisepublic boolean canStart()
true if meet can be started, false otherwisepublic Date getStartTime()
public Date getEndTime()
public Boolean getAutoRecording()
Boolean the auto-recording flag for the meet, can be null when reading from Moxtrapublic boolean isAutoRecording()
public void editAutoRecording(Boolean newAutoRecording)
newAutoRecording - the new autoRecordingpublic boolean hasAutoRecordingChanged()
public void editStartTime(Date newStartTime)
newStartTime - the startTime to setpublic boolean hasStartTimeChanged()
public void editEndTime(Date newEndTime)
newEndTime - the endTime to setpublic boolean hasEndTimeChanged()
public void editAgenda(String newAgenda)
agenda - the agenda to setpublic boolean hasAgendaChanged()
public void setVideoWorkspace(String videoWorkspace)
videoWorkspace - the videoWorkspace to setpublic void setVideoPath(String videoPath)
videoPath - the videoPath to setpublic String getVideoWorkspace()
nullpublic String getVideoPath()
nullprotected void setHostUser(MoxtraUser hostUser)
hostUser - the hostUser to setprotected void setAutoRecording(Boolean autoRecording)
autoRecording - the autoRecording to setprotected void setStartTime(Date startTime)
startTime - the startTime to setprotected void setEndTime(Date endTime)
endTime - the endTime to setprotected void setAgenda(String agenda)
agenda - the agenda to setprotected void setSessionKey(String sessionKey)
sessionKey - the sessionKey to setprotected void setSessionId(String sessionId)
sessionId - the sessionId to setprotected void setStartMeetUrl(String startMeetUrl)
startMeetUrl - the startMeetUrl to setprotected void setStatus(String status)
status - the status to setprotected void checkTime()
Copyright © 2003–2015 eXo Platform SAS. All rights reserved.