From 1b7e4fcfb20cb735768b1f1ec0c20a22a040dcbe Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 23 Jul 2015 15:45:41 +0200 Subject: [client] added isRestricted and isEnalbled to uploadWizwardState --- .../src/main/java/org/openslx/dozmod/state/UploadWizardState.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dozentenmodul/src/main/java') 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 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 -- cgit v1.2.3-55-g7522