Skip to content
Snippets Groups Projects
UserGUI.java 391 B
Newer Older
thtamagnau's avatar
thtamagnau committed
package com.uca.gui;

import com.uca.core.*;
import freemarker.template.*;
import java.io.*;
import java.util.*;
thtamagnau's avatar
thtamagnau committed

Thomas Mewily's avatar
Thomas Mewily committed
public class UserGUI 
{
thtamagnau's avatar
thtamagnau committed
    public static String getAllUsers() throws IOException, TemplateException {

        Map<String, Object> input = new HashMap<>();
        input.put("users", Core.User.getAll());
        return DefaultGUI.getDefaultGUI(input, "users.ftl");
Boris's avatar
Boris committed
    }    
}