use of fi.otavanopisto.muikku.plugins.material.coops.event.CoOpsSessionOpenEvent in project muikku by otavanopisto.
the class CoOpsSessionController method createSession.
public CoOpsSession createSession(HtmlMaterial htmlMaterial, UserEntity userEntity, String sessionId, Long joinRevision, String algorithm) {
CoOpsSession session = coOpsSessionDAO.create(htmlMaterial, userEntity != null ? userEntity.getId() : null, sessionId, CoOpsSessionType.REST, joinRevision, algorithm, Boolean.FALSE, new Date());
sessionOpenEvent.fire(new CoOpsSessionOpenEvent(session.getSessionId()));
return session;
}
Aggregations