public static List<Object[]> showContrisByUser(String user) throws ClientHandlerException, UniformInterfaceException, JSONException { // Map<String, String> userContribsAndCount = GenerateTxt.showContrisByUser(user); List<Object[]> objectArray = GenerateTxt.showContrisByUser(user); // return userContribsAndCount; return objectArray; }
public static List<Object[]> showVandalismByTitle(String title) throws ClientHandlerException, UniformInterfaceException, JSONException, URISyntaxException { List<Object[]> vandalismAndCount = new ArrayList<Object[]>(); vandalismAndCount = GenerateTxt.showVandalism("title", title); return vandalismAndCount; }
public static List<Object[]> showAllVandalism() throws ClientHandlerException, UniformInterfaceException, JSONException, URISyntaxException { List<Object[]> vandalismAndCount = new ArrayList<Object[]>(); vandalismAndCount = GenerateTxt.showVandalism("all", null); return vandalismAndCount; }
public static void getVandalismByTitle(String folderPath, String title) throws ClientHandlerException, UniformInterfaceException, IOException, JSONException, URISyntaxException { GenerateTxt.getVandalismTxtByTitle(title, folderPath); }
public static void GetVandalism(String folderPath) throws ClientHandlerException, UniformInterfaceException, JSONException, IOException, URISyntaxException { GenerateTxt.getVandalismTxt(folderPath); }
public static List<Object[]> showRevisionInfoByTitle(String title) throws ClientHandlerException, UniformInterfaceException, JSONException { List<Object[]> articleInfoAndCount = new ArrayList<Object[]>(); articleInfoAndCount = GenerateTxt.showRevisionsInfoByTitle(title); return articleInfoAndCount; }
public static void getArticleInfoByTitleOffline(String title, String folderPath) throws Exception { GenerateTxt.getArticleRevisionTxtOffline(title, folderPath); }
public static void GetContributionsByUserOffline(String user, String folderPath) throws Exception { GenerateTxt.getUserContribsTxtOffline(user, folderPath); }
public static void GetContributionsByUser(String user, String folderPath) throws Exception { if (useNeo4j) Neo4jIndex.createIndex(); GenerateTxt.getUserContribsTxt(user, folderPath); }