package com.jaku.api;

import java.io.IOException;

import com.jaku.core.JakuRequest;
import com.jaku.request.SearchRequest;

public class SearchRequests {

	private SearchRequests() {
		
	}
	
	public static final void searchRequest(String url, String keyword, String title, String type,
			String tmsid, Integer season, Boolean showUnavailable, Boolean matchAny,
			Long providerId, String provider, Boolean launch) throws IOException {
		SearchRequest searchRequest = new SearchRequest(url, keyword, title, type,
				tmsid, season, showUnavailable, matchAny, providerId, provider, launch);
		
		JakuRequest request = new JakuRequest(searchRequest, null);
		request.send();
	}
}

@@ -79,16 +79,55 @@
 equest;%0A
+import com.jaku.core.SearchTypeValues;%0A
 import c
@@ -308,21 +308,31 @@
 title, S
-tring
+earchTypeValues
  type,%0A%09

Refactor search code, enforce type parameter