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