code: private Type findType(String typeString) throws UnknownDashletTypeException {
  		if ("viewReport".equalsIgnoreCase(typeString)) {
  			return Type.VIEW;
  		} else if ("textContent".equalsIgnoreCase(typeString)) {
  			return Type.TEXT;
  		}
  		throw new UnknownDashletTypeException(typeString);
  	}
docs: Determines the dashlet type from the given type string.
  
  @param typeString string to parse (from JSON)
  @return the dashlet type
  @throws UnknownDashletTypeException if no such type was found