1 19 20 package com.sslexplorer.vfs; 21 22 import org.apache.struts.action.ActionForward; 23 24 25 32 public class UploadDetails { 33 private String acceptTypes; 34 private boolean extract; 35 private String messageKey, errorKey; 36 private String resourcePath; 37 private String type; 38 39 private String extraAttribute1; 40 private String extraAttribute2; 41 private String extraAttribute3; 42 43 private ActionForward uploadedForward; 44 private ActionForward doneForward; 45 private ActionForward cancelForward; 46 47 private String bundle; 48 49 55 public UploadDetails(String bundle, String type, ActionForward uploadedForward, ActionForward doneForward) { 56 this(bundle, type, null, uploadedForward, doneForward, null); 57 } 58 59 67 public UploadDetails(String bundle, String type, String resourcePath, ActionForward uploadedForward, ActionForward doneForward, ActionForward cancelForward) { 68 this.type = type; 69 this.bundle = bundle; 70 this.resourcePath = resourcePath; 71 this.uploadedForward = uploadedForward; 72 this.doneForward = doneForward; 73 this.cancelForward = cancelForward; 74 } 75 76 81 public String getBundle() { 82 return bundle; 83 } 84 85 88 public ActionForward getCancelForward() { 89 return cancelForward; 90 } 91 92 95 public ActionForward getDoneForward() { 96 return doneForward; 97 } 98 99 102 public ActionForward getUploadedForward() { 103 return uploadedForward; 104 } 105 106 109 public String getType() { 110 return type; 111 } 112 113 116 public void setType(String type) { 117 this.type = type; 118 } 119 120 123 public void setMessageKey(String messageKey) { 124 this.messageKey = messageKey; 125 } 126 127 130 public String getMessageKey() { 131 return messageKey; 132 } 133 134 137 public void setErrorKey(String errorKey) { 138 this.errorKey = errorKey; 139 } 140 141 144 public String getErrorKey() { 145 return errorKey; 146 } 147 148 151 public void setAcceptTypes(String acceptTypes) { 152 this.acceptTypes = acceptTypes; 153 } 154 155 158 public String getAcceptTypes() { 159 return acceptTypes; 160 } 161 162 165 public void setExtract(boolean extract) { 166 this.extract = extract; 167 } 168 169 172 public boolean getExtract() { 173 return extract; 174 } 175 176 179 public void setResourcePath(String resourcePath) { 180 this.resourcePath = resourcePath; 181 } 182 183 186 public String getResourcePath() { 187 return resourcePath; 188 } 189 190 193 public String getExtraAttribute1() { 194 return extraAttribute1; 195 } 196 197 200 public void setExtraAttribute1(String extraAttribute1) { 201 this.extraAttribute1 = extraAttribute1; 202 } 203 204 207 public String getExtraAttribute2() { 208 return extraAttribute2; 209 } 210 211 214 public void setExtraAttribute2(String extraAttribute2) { 215 this.extraAttribute2 = extraAttribute2; 216 } 217 218 221 public String getExtraAttribute3() { 222 return extraAttribute3; 223 } 224 225 228 public void setExtraAttribute3(String extraAttribute3) { 229 this.extraAttribute3 = extraAttribute3; 230 } 231 } 232 | Popular Tags |