private String getData() {
String dataToView = null;
Customer customer = null;
CreditCard creditCard = null;
Order order = null;
Form form = null;
Room orderRoom = null;
List<Room> freeRoomList = null;
try {
AbstractDAOFactory daoFactory = Controller.getDAOFactory();
OrderDAO orderDAO = daoFactory.getOrderDAO();
FormDAO formDAO = daoFactory.getFormDAO();
CustomerDAO customerDAO = daoFactory.getCustomerDAO();
RoomDAO roomDAO = daoFactory.getRoomDAO();
CreditCardDAO creditCardDAO = daoFactory.getCreditCardDAO();
order = orderDAO.find(this.orderId);
form = formDAO.find(order.getFormId());
freeRoomList = this.getFreeRooms(form);
customer = customerDAO.find(order.getCustomerId());
creditCard = creditCardDAO.find(customer.getCreditCardNumber());
Long orderRoomId = order.getRoomId();
Long formId = order.getFormId();
form = formDAO.find(formId);
orderRoom = roomDAO.find(orderRoomId);
} catch (DAOException ex) {
logger.error(ex, ex);