@Override
	public List<TroubleTicket> getTroubleTicketsByName(String callerName)
	{
		try
		{
			// Build select query
			String selectQuery = "SELECT * FROM troubletickets";
			
			if (callerName.length() > 0)
			{
				 selectQuery += " WHERE callerName = '" + callerName + "'";
			}
			
			// Select all trouble tickets with the passed caller name
			Iterator<TroubleTicket> troubleTicketsIterator = executor.getIterator(selectQuery, TroubleTicket.class);
			
			List<TroubleTicket> troubleTicketsList = new ArrayList<TroubleTicket>();
			
			// Iterate over trouble tickets and place them in a list
			while (troubleTicketsIterator.hasNext())
			{
				troubleTicketsList.add(troubleTicketsIterator.next());
			}
			
			return troubleTicketsList;
		}
		catch (ExecutorException e)
		{
			e.printStackTrace();
		}
		
		return null;
	}