1 5 6 package com.raptus.owxv3.modules.base; 7 8 import javax.servlet.http.HttpServletRequest ; 9 10 import org.apache.struts.action.ActionMapping; 11 12 import com.raptus.owxv3.api.OmniaWebBean; 13 14 36 public class EABaseBean extends OmniaWebBean 37 { 38 41 protected boolean propertiesDisabled=false; 42 43 46 protected boolean filesDisabled=false; 47 48 51 protected boolean picturesDisabled=false; 52 53 54 57 protected boolean linksDisabled=false; 58 59 62 protected String message=null; 63 64 67 public void reset(ActionMapping mapping, HttpServletRequest request) 68 { 69 propertiesDisabled=false; 70 filesDisabled=false; 71 picturesDisabled=false; 72 linksDisabled=false; 73 message=null; 74 super.reset(mapping, request); 75 } 76 77 78 public void setPropertiesDisabled(boolean b) { propertiesDisabled=b; } 79 public boolean getPropertiesDisabled() { return propertiesDisabled; } 80 81 public void setFilesDisabled(boolean b) { filesDisabled=b; } 82 public boolean getFilesDisabled() { return filesDisabled; } 83 84 85 public void setPicturesDisabled(boolean b) { picturesDisabled=b; } 86 public boolean getPicturesDisabled() { return picturesDisabled; } 87 88 89 public void setLinksDisabled(boolean b) { linksDisabled=b; } 90 public boolean getLinksDisabled() { return linksDisabled; } 91 92 public void setMessage(String s) {message=s; } 93 public String getMessage() { return message; } 94 95 } 96 97 | Popular Tags |