From d054c2a3834cca451fba085bcd40c9beecb8ea8d Mon Sep 17 00:00:00 2001 From: Shamalka Navod Date: Fri, 12 Jun 2020 15:23:34 +0000 Subject: [PATCH] Add file types to upload bean class --- .../carbon/device/mgt/common/policy/mgt/ui/Upload.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java index 966df5de59..54e1908cb5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/policy/mgt/ui/Upload.java @@ -25,6 +25,7 @@ public class Upload { private String placeholderValue; private Boolean showContent; private Boolean setFileName; + private String fileTypes; @XmlElement(name = "Placeholder") public String getPlaceholderValue() { @@ -52,4 +53,13 @@ public class Upload { public void setSetFileName(Boolean setFileName) { this.setFileName = setFileName; } + + @XmlElement(name = "FileTypes") + public String getFileTypes() { + return fileTypes; + } + + public void setFileTypes(String fileTypes) { + this.fileTypes = fileTypes; + } }