summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/state/LectureWizardState.java
blob: 2d2b90817fb8e73aa47c86022c0364cbd6612fd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package org.openslx.dozmod.state;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.openslx.bwlp.thrift.iface.ImageSummaryRead;
import org.openslx.bwlp.thrift.iface.LecturePermissions;
import org.openslx.bwlp.thrift.iface.Location;
import org.openslx.bwlp.thrift.iface.NetRule;
import org.openslx.dozmod.thrift.Session;

public class LectureWizardState {

	public ImageSummaryRead image = null;
	public String imageVersionId = null;
	public String name = null;
	public String description = null;
	public boolean autoUpdate = true;
	public boolean isEnabled = true;
	public boolean isExam = false;
	public boolean internetAccess = true;
	public Date start = null;
	public Date end = null;
	// default permissions assigned to that lecture by the user
	public LecturePermissions defaultPermissions = Session.getSatelliteConfig().defaultLecturePermissions;
	// explicit permissions per user as set by the creator
	public Map<String, LecturePermissions> permissionMap = null;
	// list of locations for the lecture
	public List<Integer> locations = null;
	public boolean onlyInSelectedLocations = false;
	// enable usb flag
	public boolean usbAllowed = true;
	// list of network rules
	public List<NetRule> netRules = null;
	public String runScriptText = null;
	// -- thrift internal stuff --
	public String uuid = null;
}