1 26 27 package org.objectweb.jonas.webapp.jonasadmin.logging; 28 29 import java.util.ArrayList ; 30 import java.util.List ; 31 32 import javax.servlet.http.HttpServletRequest ; 33 34 import org.apache.struts.action.ActionErrors; 35 import org.apache.struts.action.ActionForm; 36 import org.apache.struts.action.ActionMapping; 37 38 41 42 public final class LoggingJonasForm extends ActionForm { 43 44 46 private ArrayList topicLevelList = new ArrayList (); 47 private String [] topics = null; 48 private List loggerJonasLevels = null; 49 private String level = null; 50 private String topic = null; 51 52 54 60 public void reset(ActionMapping mapping, HttpServletRequest request) { 61 level = null; 62 topic = null; 63 } 64 65 75 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 76 return new ActionErrors(); 77 } 78 79 81 public ArrayList getTopicLevelList() { 82 return topicLevelList; 83 } 84 85 public void setTopicLevelList(ArrayList topicLevelList) { 86 this.topicLevelList = topicLevelList; 87 } 88 89 public String [] getTopics() { 90 return topics; 91 } 92 93 public void setTopics(String [] topics) { 94 this.topics = topics; 95 } 96 97 public List getLoggerJonasLevels() { 98 return loggerJonasLevels; 99 } 100 101 public void setLoggerJonasLevels(List loggerJonasLevels) { 102 this.loggerJonasLevels = loggerJonasLevels; 103 } 104 105 public String getLevel() { 106 return level; 107 } 108 109 public void setLevel(String level) { 110 this.level = level; 111 } 112 113 public String getTopic() { 114 return topic; 115 } 116 117 public void setTopic(String topic) { 118 this.topic = topic; 119 } 120 121 } 122 | Popular Tags |