Examples of RoomType


Examples of org.apache.openmeetings.persistence.beans.room.RoomType

  public RoomTypeConverter(RoomManager roommanagement) {
    this.roomManager = roommanagement;
  }
 
  public RoomType read(InputNode node) throws Exception {
    RoomType rt = roomManager.getRoomTypesById(getlongValue(node));
    return rt != null ? rt : roomManager.getRoomTypesById(1); // conference type will be used in case of bad type
  }
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

   * @param name
   * @return ID of new created roomtype or null
   */
  public Long addRoomType(String name, boolean deleted) {
    try {
      RoomType rtype = new RoomType();
      rtype.setName(name);
      rtype.setStarttime(new Date());
      rtype.setDeleted(deleted);
      rtype = em.merge(rtype);
      long returnId = rtype.getRoomtypes_id();
      return returnId;
    } catch (Exception ex2) {
      log.error("[addRoomType] ", ex2);
    }
    return null;
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

            if (isAppRoom) {
              roomDao.delete(room, users_id);
            }
          }
        } else {
          RoomType rt = roomManager.getRoomTypesById(roomType);
 
          if (room != null) {
 
            room.setComment(appointmentDescription);
            room.setName(appointmentName);
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

      RoomType[] roomTypesArray = new RoomType[rommTypesList.size()];

      int count = 0;
      for (Iterator<RoomType> it = rommTypesList.iterator(); it
          .hasNext();) {
        RoomType roomType = it.next();
        roomTypesArray[count] = roomType;
        count++;
      }

      return roomTypesArray;
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

        newList.add(map);
      }

      log.debug("updateAppointment");

      RoomType rt = roomManager.getRoomTypesById(roomType);

      Appointment app = appointmentLogic
          .getAppointMentById(appointmentId);

      Room room = app.getRoom();
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

            if (isAppRoom) {
              roomDao.delete(room, users_id);
            }
          }
        } else {
          RoomType rt = roomManager.getRoomTypesById(roomType);
 
          if (room != null) {
 
            room.setComment(appointmentDescription);
            room.setName(appointmentName);
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

        newList.add(map);
      }

      log.debug("updateAppointment");

      RoomType rt = roomManager.getRoomTypesById(roomType);

      Appointment app = appointmentLogic
          .getAppointMentById(appointmentId);

      Room room = app.getRoom();
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

   * @param name
   * @return ID of new created roomtype or null
   */
  public Long addRoomType(String name, boolean deleted) {
    try {
      RoomType rtype = new RoomType();
      rtype.setName(name);
      rtype.setStarttime(new Date());
      rtype.setDeleted(deleted);
      rtype = em.merge(rtype);
      long returnId = rtype.getRoomtypes_id();
      return returnId;
    } catch (Exception ex2) {
      log.error("[addRoomType] ", ex2);
    }
    return null;
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

   * @param name
   * @return ID of new created roomtype or null
   */
  public Long addRoomType(String name, boolean deleted) {
    try {
      RoomType rtype = new RoomType();
      rtype.setName(name);
      rtype.setStarttime(new Date());
      rtype.setDeleted(deleted);
      rtype = em.merge(rtype);
      long returnId = rtype.getRoomtypes_id();
      return returnId;
    } catch (Exception ex2) {
      log.error("[addRoomType] ", ex2);
    }
    return null;
View Full Code Here

Examples of org.apache.openmeetings.persistence.beans.room.RoomType

      RoomType[] roomTypesArray = new RoomType[rommTypesList.size()];

      int count = 0;
      for (Iterator<RoomType> it = rommTypesList.iterator(); it
          .hasNext();) {
        RoomType roomType = it.next();
        roomTypesArray[count] = roomType;
        count++;
      }

      return roomTypesArray;
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.