1 26 27 package org.objectweb.jonas.webapp.jonasadmin.security; 28 29 import javax.servlet.http.HttpServletRequest ; 30 31 import org.apache.struts.action.ActionErrors; 32 import org.apache.struts.action.ActionForm; 33 import org.apache.struts.action.ActionMapping; 34 35 public class ItemsMemoryRealmForm extends ActionForm { 36 37 39 private String action = null; 41 private String type = null; 42 private String [] selectedItems = new String [0]; 43 44 46 52 public void reset(ActionMapping mapping, HttpServletRequest request) { 53 selectedItems = new String [0]; 54 } 55 56 66 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 67 ActionErrors oErrors = new ActionErrors(); 68 return oErrors; 69 } 70 71 public String [] getSelectedItems() { 72 return selectedItems; 73 } 74 75 public void setSelectedItems(String [] selectedItems) { 76 this.selectedItems = selectedItems; 77 } 78 79 public String getAction() { 80 return action; 81 } 82 83 public void setAction(String action) { 84 this.action = action; 85 } 86 87 public String getType() { 88 return type; 89 } 90 91 public void setType(String type) { 92 this.type = type; 93 } 94 95 97 } | Popular Tags |