summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2015-07-23 15:45:41 +0200
committerJonathan Bauer2015-07-23 15:45:41 +0200
commit1b7e4fcfb20cb735768b1f1ec0c20a22a040dcbe (patch)
treee8db60fe27fcbb11f2a4ce3096c34c26ade8ca42
parent[client] metadata page listener for new checkbox (diff)
downloadtutor-module-1b7e4fcfb20cb735768b1f1ec0c20a22a040dcbe.tar.gz
tutor-module-1b7e4fcfb20cb735768b1f1ec0c20a22a040dcbe.tar.xz
tutor-module-1b7e4fcfb20cb735768b1f1ec0c20a22a040dcbe.zip
[client] added isRestricted and isEnalbled to uploadWizwardState
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/state/UploadWizardState.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/state/UploadWizardState.java b/dozentenmodul/src/main/java/org/openslx/dozmod/state/UploadWizardState.java
index 0bf48732..35494c83 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/state/UploadWizardState.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/state/UploadWizardState.java
@@ -11,7 +11,7 @@ import org.openslx.bwlp.thrift.iface.Virtualizer;
import org.openslx.dozmod.filetransfer.UploadTask;
public class UploadWizardState {
- // -- objects of the GUI itself --
+ // -- Objects of the GUI itself --
// name of the virtual machine as entered by the user
public String name = null;
// description of the virtual machine as entered by the user
@@ -31,9 +31,14 @@ public class UploadWizardState {
// permissions assigned to that image by the user
// TODO: defaults per sat
public ImagePermissions permissions = null;
+ // explicit permissions per user as set by the creator
public Map<String, ImagePermissions> permissionList = null;
// local, publish, download frozen share mode
public ShareMode shareMode = null;
+ // enabled flag
+ public boolean isEnabled = true;
+ // resctricted flag
+ public boolean isRestricted = true;
// -- Objects returned by thrift calls --
// UUID given returned by the satellite after creating the image