1 25 26 package org.objectweb.jonas.webapp.jonasadmin.deploy; 27 28 import java.util.ArrayList ; 29 import java.util.List ; 30 31 import javax.servlet.http.HttpServletRequest ; 32 33 import org.apache.struts.action.ActionErrors; 34 import org.apache.struts.action.ActionForm; 35 import org.apache.struts.action.ActionMapping; 36 37 41 42 public class RemoveForm extends ActionForm { 43 44 47 private List listRemovable = new ArrayList (); 48 49 52 private List listRemoved = new ArrayList (); 53 54 55 58 private List listToBeRemoved = new ArrayList (); 59 60 61 64 private String [] removeSelected = new String [0]; 65 66 67 private boolean confirm = false; 69 70 73 private boolean isDomain; 74 75 76 78 84 85 public void reset(ActionMapping mapping, HttpServletRequest request) { 86 removeSelected = new String [0]; 87 } 88 89 99 public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { 100 ActionErrors oErrors = new ActionErrors(); 101 return oErrors; 102 } 103 104 public List getListRemovable() { 105 return listRemovable; 106 } 107 108 public void setListRemovable(ArrayList listRemovable) { 109 this.listRemovable = listRemovable; 110 } 111 112 public String [] getRemoveSelected() { 113 return removeSelected; 114 } 115 116 public void setRemoveSelected(String [] removeSelected) { 117 this.removeSelected = removeSelected; 118 } 119 120 public boolean isConfirm() { 121 return confirm; 122 } 123 124 public void setConfirm(boolean confirm) { 125 this.confirm = confirm; 126 } 127 128 129 public List getListRemoved() { 130 return listRemoved; 131 } 132 133 134 public void setListRemoved(List listRemoved) { 135 this.listRemoved = listRemoved; 136 } 137 138 139 public List getListToBeRemoved() { 140 return listToBeRemoved; 141 } 142 143 144 public void setListToBeRemoved(List listToBeRemoved) { 145 this.listToBeRemoved = listToBeRemoved; 146 } 147 148 152 public boolean getIsDomain() { 153 return this.isDomain; 154 } 155 156 160 public void setIsDomain(boolean isDomain) { 161 this.isDomain = isDomain; 162 } 163 164 } 165 | Popular Tags |