Examples of WhiteboardObjectList


Examples of org.apache.openmeetings.data.whiteboard.dto.WhiteboardObjectList

      String streamid = current.getClient().getId();
      Client currentClient = this.sessionManager
          .getClientByStreamId(streamid, null);
      Long room_id = currentClient.getRoom_id();

      WhiteboardObjectList whiteboardObjectList = this.whiteBoardObjectListManagerById
          .getWhiteBoardObjectListByRoomId(room_id);

      for (Iterator<Long> iter = whiteboardObjectList
          .getWhiteboardObjects().keySet().iterator(); iter.hasNext();) {
        Long storedWhiteboardId = iter.next();

        log.debug(" :: storedWhiteboardId :: " + storedWhiteboardId);

        if (storedWhiteboardId.equals(whiteBoardId)) {
          log.debug("Found Whiteboard to Remove");
        }
      }
      Object returnValue = whiteboardObjectList.getWhiteboardObjects()
          .remove(whiteBoardId);

      log.debug(" :: whiteBoardId :: " + whiteBoardId);

      this.whiteBoardObjectListManagerById
View Full Code Here

Examples of org.apache.openmeetings.data.whiteboard.dto.WhiteboardObjectList

      Client currentClient = this.sessionManager
          .getClientByStreamId(streamid, null);
      Long room_id = currentClient.getRoom_id();

      log.debug("getRoomItems: " + room_id);
      WhiteboardObjectList whiteboardObjectList = this.whiteBoardObjectListManagerById
          .getWhiteBoardObjectListByRoomId(room_id);

      if (whiteboardObjectList.getWhiteboardObjects().size() == 0) {

        Long whiteBoardId = this.whiteBoardObjectListManagerById
            .getNewWhiteboardId(room_id);

        this.whiteBoardObjectListManagerById
View Full Code Here

Examples of org.apache.openmeetings.data.whiteboard.dto.WhiteboardObjectList

 
  /*
   * Room items a Whiteboard
   */
  public synchronized WhiteboardObjectList getWhiteBoardObjectListByRoomId(Long room_id){
    WhiteboardObjectList whiteboardObjectList = whiteBoardObjectList.get(room_id);
    if (whiteboardObjectList == null) {
      whiteboardObjectList = new WhiteboardObjectList();
    }
    return whiteboardObjectList;
  }
View Full Code Here

Examples of org.apache.openmeetings.data.whiteboard.dto.WhiteboardObjectList

    }
    return whiteboardObjectList;
  }
 
  public synchronized WhiteboardObject getWhiteBoardObjectListByRoomIdAndWhiteboard(Long room_id, Long whiteBoardId){
    WhiteboardObjectList whiteboardObjectList = whiteBoardObjectList.get(room_id);
    if (whiteboardObjectList == null) {
      whiteboardObjectList = new WhiteboardObjectList();
    }
    WhiteboardObject whiteboardObjects = whiteboardObjectList.getWhiteboardObjects().get(whiteBoardId);
    if (whiteboardObjects == null) {
      whiteboardObjects = new WhiteboardObject();
    }
    return whiteboardObjects;
  }
View Full Code Here

Examples of org.apache.openmeetings.data.whiteboard.dto.WhiteboardObjectList

  public synchronized void setWhiteBoardObjectListRoomObj(Long room_id, WhiteboardObjectList whiteboardObjectList){
    whiteBoardObjectList.put(room_id, whiteboardObjectList);
  }
 
  public synchronized void setWhiteBoardObjectListRoomObjAndWhiteboardId(Long room_id, WhiteboardObject whiteboardObjects, Long whiteBoardId){
    WhiteboardObjectList whiteboardObjectList = whiteBoardObjectList.get(room_id);
    if (whiteboardObjectList == null) {
      whiteboardObjectList = new WhiteboardObjectList();
      whiteboardObjectList.setRoom_id(room_id);
    }
    whiteboardObjects.setWhiteBoardId(whiteBoardId);
    whiteboardObjectList.getWhiteboardObjects().put(whiteBoardId, whiteboardObjects);
    whiteBoardObjectList.put(room_id, whiteboardObjectList);
  }
View Full Code Here

Examples of org.apache.openmeetings.db.dto.room.WhiteboardObjectList

      String streamid = current.getClient().getId();
      Client currentClient = this.sessionManager
          .getClientByStreamId(streamid, null);
      Long room_id = currentClient.getRoom_id();

      WhiteboardObjectList whiteboardObjectList = this.whiteBoardObjectListManagerById
          .getWhiteBoardObjectListByRoomId(room_id);

      for (Iterator<Long> iter = whiteboardObjectList
          .getWhiteboardObjects().keySet().iterator(); iter.hasNext();) {
        Long storedWhiteboardId = iter.next();

        log.debug(" :: storedWhiteboardId :: " + storedWhiteboardId);

        if (storedWhiteboardId.equals(whiteBoardId)) {
          log.debug("Found Whiteboard to Remove");
        }
      }
      Object returnValue = whiteboardObjectList.getWhiteboardObjects()
          .remove(whiteBoardId);

      log.debug(" :: whiteBoardId :: " + whiteBoardId);

      this.whiteBoardObjectListManagerById
View Full Code Here

Examples of org.apache.openmeetings.db.dto.room.WhiteboardObjectList

      Client currentClient = this.sessionManager
          .getClientByStreamId(streamid, null);
      Long room_id = currentClient.getRoom_id();

      log.debug("getRoomItems: " + room_id);
      WhiteboardObjectList whiteboardObjectList = this.whiteBoardObjectListManagerById
          .getWhiteBoardObjectListByRoomId(room_id);

      if (whiteboardObjectList.getWhiteboardObjects().size() == 0) {

        Long whiteBoardId = this.whiteBoardObjectListManagerById
            .getNewWhiteboardId(room_id);

        this.whiteBoardObjectListManagerById
View Full Code Here

Examples of org.apache.openmeetings.db.dto.room.WhiteboardObjectList

 
  /*
   * Room items a Whiteboard
   */
  public synchronized WhiteboardObjectList getWhiteBoardObjectListByRoomId(Long room_id){
    WhiteboardObjectList whiteboardObjectList = whiteBoardObjectList.get(room_id);
    if (whiteboardObjectList == null) {
      whiteboardObjectList = new WhiteboardObjectList();
    }
    return whiteboardObjectList;
  }
View Full Code Here

Examples of org.apache.openmeetings.db.dto.room.WhiteboardObjectList

    }
    return whiteboardObjectList;
  }
 
  public synchronized WhiteboardObject getWhiteBoardObjectListByRoomIdAndWhiteboard(Long room_id, Long whiteBoardId){
    WhiteboardObjectList whiteboardObjectList = whiteBoardObjectList.get(room_id);
    if (whiteboardObjectList == null) {
      whiteboardObjectList = new WhiteboardObjectList();
    }
    WhiteboardObject whiteboardObjects = whiteboardObjectList.getWhiteboardObjects().get(whiteBoardId);
    if (whiteboardObjects == null) {
      whiteboardObjects = new WhiteboardObject();
    }
    return whiteboardObjects;
  }
View Full Code Here

Examples of org.apache.openmeetings.db.dto.room.WhiteboardObjectList

  public synchronized void setWhiteBoardObjectListRoomObj(Long room_id, WhiteboardObjectList whiteboardObjectList){
    whiteBoardObjectList.put(room_id, whiteboardObjectList);
  }
 
  public synchronized void setWhiteBoardObjectListRoomObjAndWhiteboardId(Long room_id, WhiteboardObject whiteboardObjects, Long whiteBoardId){
    WhiteboardObjectList whiteboardObjectList = whiteBoardObjectList.get(room_id);
    if (whiteboardObjectList == null) {
      whiteboardObjectList = new WhiteboardObjectList();
      whiteboardObjectList.setRoom_id(room_id);
    }
    whiteboardObjects.setWhiteBoardId(whiteBoardId);
    whiteboardObjectList.getWhiteboardObjects().put(whiteBoardId, whiteboardObjects);
    whiteBoardObjectList.put(room_id, whiteboardObjectList);
  }
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.