blob: ddc57e87493b0adb3e8782c13900e06fddc2feb4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package de.bwlehrpool.bwlp_guac;
import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.form.Field;
import org.codehaus.jackson.annotate.JsonProperty;
import java.util.Collection;
/**
* Field which lets the user select a group.
*/
public class GroupField extends Field {
public GroupField() {
super("group", "GROUP");
}
@JsonProperty("groups")
public Collection<JsonGroup> getGroups() throws GuacamoleException {
return ConnectionManager.getGroupList();
}
}
|