1 21 22 package org.objectweb.jonas.webapp.jonasadmin.joramplatform; 23 24 import javax.servlet.http.HttpServletRequest ; 25 26 import org.apache.struts.action.ActionErrors; 27 import org.apache.struts.action.ActionMapping; 28 29 33 34 public final class JoramTopicForm extends DestinationForm { 35 36 40 private String [] subscriberIds = null; 41 44 private int subscriptions = 0; 45 46 48 51 public String [] getSubscriberIds() { 52 return subscriberIds; 53 } 54 55 58 public void setSubscriberIds(String [] subscriberIds) { 59 this.subscriberIds = subscriberIds; 60 } 61 62 65 public int getSubscriptions() { 66 return subscriptions; 67 } 68 69 72 public void setSubscriptions(int subscriptions) { 73 this.subscriptions = subscriptions; 74 } 75 76 77 79 85 public void reset(ActionMapping mapping, HttpServletRequest request) { 86 super.reset(mapping, request); 87 subscriberIds = null; 88 subscriptions = 0; 89 } 90 91 101 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 102 return super.validate(mapping, request); 103 } 104 } 105 | Popular Tags |