| 1 | package tmcsim.client.cadclientgui.data; |
|---|
| 2 | |
|---|
| 3 | import java.io.Serializable; |
|---|
| 4 | import java.util.LinkedList; |
|---|
| 5 | |
|---|
| 6 | /** |
|---|
| 7 | * This class holds all the necessarily data for the Cardfile. It contains a |
|---|
| 8 | * CardfileList for each tabbed panel in Cardfile. |
|---|
| 9 | * |
|---|
| 10 | * @author Vincent |
|---|
| 11 | * |
|---|
| 12 | */ |
|---|
| 13 | public class CardfileData implements Serializable { |
|---|
| 14 | |
|---|
| 15 | private int newestId = 0; |
|---|
| 16 | |
|---|
| 17 | private static CardfileList coastalDivisionUnitsList; |
|---|
| 18 | private static CardfileList policeSheriffCoronerList; |
|---|
| 19 | private static CardfileList courtsList; |
|---|
| 20 | private static CardfileList publicTransportationList; |
|---|
| 21 | private static CardfileList ggOtherList; |
|---|
| 22 | private static CardfileList myMiscList; |
|---|
| 23 | private static CardfileList slMiscList; |
|---|
| 24 | private static CardfileList vtMiscList; |
|---|
| 25 | private static CardfileList chpOfficesList; |
|---|
| 26 | private static CardfileList stateAgenciesFacilitiesList; |
|---|
| 27 | private static CardfileList governmentOfficialsList; |
|---|
| 28 | private static CardfileList federalAgenciesList; |
|---|
| 29 | private static CardfileList ranchesLivestockList; |
|---|
| 30 | private static CardfileList fireEmsList; |
|---|
| 31 | private static CardfileList jailsList; |
|---|
| 32 | private static CardfileList hospitalsMedCentersList; |
|---|
| 33 | private static CardfileList towCompaniesList; |
|---|
| 34 | private static CardfileList calTransList; |
|---|
| 35 | private static CardfileList countyRoadsList; |
|---|
| 36 | private static CardfileList utilitiesList; |
|---|
| 37 | private static CardfileList animalControlList; |
|---|
| 38 | private static CardfileList airportsList; |
|---|
| 39 | private static CardfileList creditCardsList; |
|---|
| 40 | private static CardfileList ggCrisisSheltersList; |
|---|
| 41 | private static CardfileList rangesList; |
|---|
| 42 | private static CardfileList hotlinesList; |
|---|
| 43 | private static CardfileList hwyPatrolsOosList; |
|---|
| 44 | private static CardfileList parksRecreationList; |
|---|
| 45 | private static CardfileList sheltersList; |
|---|
| 46 | private static CardfileList slCountyServicesList; |
|---|
| 47 | private static CardfileList slResourcesList; |
|---|
| 48 | private static CardfileList truckTireRepairList; |
|---|
| 49 | private static CardfileList mccEmployeesList; |
|---|
| 50 | private static CardfileList gateAccessCodesList; |
|---|
| 51 | private static CardfileList vtCallSignsList; |
|---|
| 52 | private static CardfileList slccEmployeesList; |
|---|
| 53 | |
|---|
| 54 | public CardfileData() { |
|---|
| 55 | coastalDivisionUnitsList = new CardfileList(); |
|---|
| 56 | policeSheriffCoronerList = new CardfileList(); |
|---|
| 57 | courtsList = new CardfileList(); |
|---|
| 58 | publicTransportationList = new CardfileList(); |
|---|
| 59 | ggOtherList = new CardfileList(); |
|---|
| 60 | myMiscList = new CardfileList(); |
|---|
| 61 | slMiscList = new CardfileList(); |
|---|
| 62 | vtMiscList = new CardfileList(); |
|---|
| 63 | chpOfficesList = new CardfileList(); |
|---|
| 64 | stateAgenciesFacilitiesList = new CardfileList(); |
|---|
| 65 | governmentOfficialsList = new CardfileList(); |
|---|
| 66 | federalAgenciesList = new CardfileList(); |
|---|
| 67 | ranchesLivestockList = new CardfileList(); |
|---|
| 68 | fireEmsList = new CardfileList(); |
|---|
| 69 | jailsList = new CardfileList(); |
|---|
| 70 | hospitalsMedCentersList = new CardfileList(); |
|---|
| 71 | towCompaniesList = new CardfileList(); |
|---|
| 72 | calTransList = new CardfileList(); |
|---|
| 73 | countyRoadsList = new CardfileList(); |
|---|
| 74 | utilitiesList = new CardfileList(); |
|---|
| 75 | animalControlList = new CardfileList(); |
|---|
| 76 | airportsList = new CardfileList(); |
|---|
| 77 | creditCardsList = new CardfileList(); |
|---|
| 78 | ggCrisisSheltersList = new CardfileList(); |
|---|
| 79 | rangesList = new CardfileList(); |
|---|
| 80 | hotlinesList = new CardfileList(); |
|---|
| 81 | hwyPatrolsOosList = new CardfileList(); |
|---|
| 82 | parksRecreationList = new CardfileList(); |
|---|
| 83 | sheltersList = new CardfileList(); |
|---|
| 84 | slCountyServicesList = new CardfileList(); |
|---|
| 85 | slResourcesList = new CardfileList(); |
|---|
| 86 | truckTireRepairList = new CardfileList(); |
|---|
| 87 | mccEmployeesList = new CardfileList(); |
|---|
| 88 | gateAccessCodesList = new CardfileList(); |
|---|
| 89 | vtCallSignsList = new CardfileList(); |
|---|
| 90 | slccEmployeesList = new CardfileList(); |
|---|
| 91 | } |
|---|
| 92 | |
|---|
| 93 | public int obtainNewUniqueId() { |
|---|
| 94 | int temp = newestId; |
|---|
| 95 | newestId++; |
|---|
| 96 | return temp; |
|---|
| 97 | } |
|---|
| 98 | |
|---|
| 99 | public CardfileList getCoastalDivisionUnitList() { |
|---|
| 100 | return coastalDivisionUnitsList; |
|---|
| 101 | } |
|---|
| 102 | |
|---|
| 103 | public void setCoastalDivisionUnitsList(CardfileList objList) { |
|---|
| 104 | coastalDivisionUnitsList = objList; |
|---|
| 105 | } |
|---|
| 106 | |
|---|
| 107 | public CardfileList getPoliceSheriffCoronerList() { |
|---|
| 108 | return policeSheriffCoronerList; |
|---|
| 109 | } |
|---|
| 110 | |
|---|
| 111 | public void setPoliceSheriffCoronerList(CardfileList objList) { |
|---|
| 112 | policeSheriffCoronerList = objList; |
|---|
| 113 | } |
|---|
| 114 | |
|---|
| 115 | public CardfileList getCourtsList() { |
|---|
| 116 | return courtsList; |
|---|
| 117 | } |
|---|
| 118 | |
|---|
| 119 | public void setCourtsList(CardfileList objList) { |
|---|
| 120 | courtsList = objList; |
|---|
| 121 | } |
|---|
| 122 | |
|---|
| 123 | public CardfileList getPublicTransportationList() { |
|---|
| 124 | return publicTransportationList; |
|---|
| 125 | } |
|---|
| 126 | |
|---|
| 127 | public void setPublicTransportationList(CardfileList objList) { |
|---|
| 128 | publicTransportationList = objList; |
|---|
| 129 | } |
|---|
| 130 | |
|---|
| 131 | public CardfileList getGgOtherList() { |
|---|
| 132 | return ggOtherList; |
|---|
| 133 | } |
|---|
| 134 | |
|---|
| 135 | public void setGgOtherList(CardfileList objList) { |
|---|
| 136 | ggOtherList = objList; |
|---|
| 137 | } |
|---|
| 138 | |
|---|
| 139 | public CardfileList getMyMiscList() { |
|---|
| 140 | return myMiscList; |
|---|
| 141 | } |
|---|
| 142 | |
|---|
| 143 | public void setMyMiscList(CardfileList objList) { |
|---|
| 144 | myMiscList = objList; |
|---|
| 145 | } |
|---|
| 146 | |
|---|
| 147 | public CardfileList getSlMiscList() { |
|---|
| 148 | return slMiscList; |
|---|
| 149 | } |
|---|
| 150 | |
|---|
| 151 | public void setSlMiscList(CardfileList objList) { |
|---|
| 152 | slMiscList = objList; |
|---|
| 153 | } |
|---|
| 154 | |
|---|
| 155 | public CardfileList getVlMiscList() { |
|---|
| 156 | return vtMiscList; |
|---|
| 157 | } |
|---|
| 158 | |
|---|
| 159 | public void setVlMiscList(CardfileList objList) { |
|---|
| 160 | vtMiscList = objList; |
|---|
| 161 | } |
|---|
| 162 | |
|---|
| 163 | public CardfileList getChpOfficesList() { |
|---|
| 164 | return chpOfficesList; |
|---|
| 165 | } |
|---|
| 166 | |
|---|
| 167 | public void setChpOfficesList(CardfileList objList) { |
|---|
| 168 | chpOfficesList = objList; |
|---|
| 169 | } |
|---|
| 170 | |
|---|
| 171 | public CardfileList getStateAgenciesFacilitiesList() { |
|---|
| 172 | return stateAgenciesFacilitiesList; |
|---|
| 173 | } |
|---|
| 174 | |
|---|
| 175 | public void setStateAgenciesFacilitiesList(CardfileList objList) { |
|---|
| 176 | stateAgenciesFacilitiesList = objList; |
|---|
| 177 | } |
|---|
| 178 | |
|---|
| 179 | public CardfileList getGovernmentOfficialsList() { |
|---|
| 180 | return governmentOfficialsList; |
|---|
| 181 | } |
|---|
| 182 | |
|---|
| 183 | public void setGovernmentOfficialsList(CardfileList objList) { |
|---|
| 184 | governmentOfficialsList = objList; |
|---|
| 185 | } |
|---|
| 186 | |
|---|
| 187 | public CardfileList getFederalAgenciesList() { |
|---|
| 188 | return federalAgenciesList; |
|---|
| 189 | } |
|---|
| 190 | |
|---|
| 191 | public void setFederalAgenciesList(CardfileList objList) { |
|---|
| 192 | federalAgenciesList = objList; |
|---|
| 193 | } |
|---|
| 194 | |
|---|
| 195 | public CardfileList getRanchesLivestockList() { |
|---|
| 196 | return ranchesLivestockList; |
|---|
| 197 | } |
|---|
| 198 | |
|---|
| 199 | public void setRanchesLivestockList(CardfileList objList) { |
|---|
| 200 | ranchesLivestockList = objList; |
|---|
| 201 | } |
|---|
| 202 | |
|---|
| 203 | public CardfileList getFireEmsList() { |
|---|
| 204 | return fireEmsList; |
|---|
| 205 | } |
|---|
| 206 | |
|---|
| 207 | public void setFireEmsList(CardfileList objList) { |
|---|
| 208 | fireEmsList = objList; |
|---|
| 209 | } |
|---|
| 210 | |
|---|
| 211 | public CardfileList getJailsList() { |
|---|
| 212 | return jailsList; |
|---|
| 213 | } |
|---|
| 214 | |
|---|
| 215 | public void setJailsList(CardfileList objList) { |
|---|
| 216 | jailsList = objList; |
|---|
| 217 | } |
|---|
| 218 | |
|---|
| 219 | public CardfileList getHospitalsMedCentersList() { |
|---|
| 220 | return hospitalsMedCentersList; |
|---|
| 221 | } |
|---|
| 222 | |
|---|
| 223 | public void setHospitalsMedCentersList(CardfileList objList) { |
|---|
| 224 | hospitalsMedCentersList = objList; |
|---|
| 225 | } |
|---|
| 226 | |
|---|
| 227 | public CardfileList getTowCompaniesList() { |
|---|
| 228 | return towCompaniesList; |
|---|
| 229 | } |
|---|
| 230 | |
|---|
| 231 | public void setTowCompaniesList(CardfileList objList) { |
|---|
| 232 | towCompaniesList = objList; |
|---|
| 233 | } |
|---|
| 234 | |
|---|
| 235 | public CardfileList getCalTransList() { |
|---|
| 236 | return calTransList; |
|---|
| 237 | } |
|---|
| 238 | |
|---|
| 239 | public void setCalTransList(CardfileList objList) { |
|---|
| 240 | calTransList = objList; |
|---|
| 241 | } |
|---|
| 242 | |
|---|
| 243 | public CardfileList getCountyRoadsList() { |
|---|
| 244 | return countyRoadsList; |
|---|
| 245 | } |
|---|
| 246 | |
|---|
| 247 | public void setCountyRoadsList(CardfileList objList) { |
|---|
| 248 | countyRoadsList = objList; |
|---|
| 249 | } |
|---|
| 250 | |
|---|
| 251 | public CardfileList getUtilitiesList() { |
|---|
| 252 | return utilitiesList; |
|---|
| 253 | } |
|---|
| 254 | |
|---|
| 255 | public void setUtilitiesList(CardfileList objList) { |
|---|
| 256 | utilitiesList = objList; |
|---|
| 257 | } |
|---|
| 258 | |
|---|
| 259 | public CardfileList getAnimalControlList() { |
|---|
| 260 | return animalControlList; |
|---|
| 261 | } |
|---|
| 262 | |
|---|
| 263 | public void setAnimalControlList(CardfileList objList) { |
|---|
| 264 | animalControlList = objList; |
|---|
| 265 | } |
|---|
| 266 | |
|---|
| 267 | public CardfileList getAirportsList() { |
|---|
| 268 | return airportsList; |
|---|
| 269 | } |
|---|
| 270 | |
|---|
| 271 | public void setAirportsList(CardfileList objList) { |
|---|
| 272 | airportsList = objList; |
|---|
| 273 | } |
|---|
| 274 | |
|---|
| 275 | public CardfileList getCreditCardsList() { |
|---|
| 276 | return creditCardsList; |
|---|
| 277 | } |
|---|
| 278 | |
|---|
| 279 | public void setCreditCardsList(CardfileList objList) { |
|---|
| 280 | creditCardsList = objList; |
|---|
| 281 | } |
|---|
| 282 | |
|---|
| 283 | public CardfileList getGgCrisisSheltersList() { |
|---|
| 284 | return ggCrisisSheltersList; |
|---|
| 285 | } |
|---|
| 286 | |
|---|
| 287 | public void setGgCrisisSheltersList(CardfileList objList) { |
|---|
| 288 | ggCrisisSheltersList = objList; |
|---|
| 289 | } |
|---|
| 290 | |
|---|
| 291 | public CardfileList getRangesList() { |
|---|
| 292 | return rangesList; |
|---|
| 293 | } |
|---|
| 294 | |
|---|
| 295 | public void setRangesList(CardfileList objList) { |
|---|
| 296 | rangesList = objList; |
|---|
| 297 | } |
|---|
| 298 | |
|---|
| 299 | public CardfileList getHotlinesList() { |
|---|
| 300 | return hotlinesList; |
|---|
| 301 | } |
|---|
| 302 | |
|---|
| 303 | public void setHotlinesList(CardfileList objList) { |
|---|
| 304 | hotlinesList = objList; |
|---|
| 305 | } |
|---|
| 306 | |
|---|
| 307 | public CardfileList getHwyPatrolsOosList() { |
|---|
| 308 | return hwyPatrolsOosList; |
|---|
| 309 | } |
|---|
| 310 | |
|---|
| 311 | public void setHwyPatrolsOosList(CardfileList objList) { |
|---|
| 312 | hwyPatrolsOosList = objList; |
|---|
| 313 | } |
|---|
| 314 | |
|---|
| 315 | public CardfileList getParksRecreationList() { |
|---|
| 316 | return parksRecreationList; |
|---|
| 317 | } |
|---|
| 318 | |
|---|
| 319 | public void setParksRecreationList(CardfileList objList) { |
|---|
| 320 | parksRecreationList = objList; |
|---|
| 321 | } |
|---|
| 322 | |
|---|
| 323 | public CardfileList getSheltersList() { |
|---|
| 324 | return sheltersList; |
|---|
| 325 | } |
|---|
| 326 | |
|---|
| 327 | public void setSheltersList(CardfileList objList) { |
|---|
| 328 | sheltersList = objList; |
|---|
| 329 | } |
|---|
| 330 | |
|---|
| 331 | public CardfileList getSlCountyServicesList() { |
|---|
| 332 | return slCountyServicesList; |
|---|
| 333 | } |
|---|
| 334 | |
|---|
| 335 | public void setSlCountyServicesList(CardfileList objList) { |
|---|
| 336 | slCountyServicesList = objList; |
|---|
| 337 | } |
|---|
| 338 | |
|---|
| 339 | public CardfileList getSlResourcesList() { |
|---|
| 340 | return slResourcesList; |
|---|
| 341 | } |
|---|
| 342 | |
|---|
| 343 | public void setSlResourcesList(CardfileList objList) { |
|---|
| 344 | slResourcesList = objList; |
|---|
| 345 | } |
|---|
| 346 | |
|---|
| 347 | public CardfileList getTruckTireRepairList() { |
|---|
| 348 | return truckTireRepairList; |
|---|
| 349 | } |
|---|
| 350 | |
|---|
| 351 | public void setTruckTireRepairList(CardfileList objList) { |
|---|
| 352 | truckTireRepairList = objList; |
|---|
| 353 | } |
|---|
| 354 | |
|---|
| 355 | public CardfileList getMccEmployeesList() { |
|---|
| 356 | return mccEmployeesList; |
|---|
| 357 | } |
|---|
| 358 | |
|---|
| 359 | public void setMccEmployeesList(CardfileList objList) { |
|---|
| 360 | mccEmployeesList = objList; |
|---|
| 361 | } |
|---|
| 362 | |
|---|
| 363 | public CardfileList getGateAccessCodesList() { |
|---|
| 364 | return gateAccessCodesList; |
|---|
| 365 | } |
|---|
| 366 | |
|---|
| 367 | public void setGateAccessCodesList(CardfileList objList) { |
|---|
| 368 | gateAccessCodesList = objList; |
|---|
| 369 | } |
|---|
| 370 | |
|---|
| 371 | public CardfileList getVtCallSignsList() { |
|---|
| 372 | return vtCallSignsList; |
|---|
| 373 | } |
|---|
| 374 | |
|---|
| 375 | public void setVtCallSignsList(CardfileList objList) { |
|---|
| 376 | vtCallSignsList = objList; |
|---|
| 377 | } |
|---|
| 378 | |
|---|
| 379 | public CardfileList getSlccEmployeesList() { |
|---|
| 380 | return slccEmployeesList; |
|---|
| 381 | } |
|---|
| 382 | |
|---|
| 383 | public void setSlccEmployeesList(CardfileList objList) { |
|---|
| 384 | slccEmployeesList = objList; |
|---|
| 385 | } |
|---|
| 386 | |
|---|
| 387 | /** |
|---|
| 388 | * Loops through the list until it finds a matching object with the |
|---|
| 389 | * specified id. |
|---|
| 390 | * |
|---|
| 391 | * @returns the CardfileDataObject with the specified id. |
|---|
| 392 | */ |
|---|
| 393 | public CardfileDataObject getCardfileDataObject(CardfileList list, int id) { |
|---|
| 394 | for (int i = 0; i < list.getItemCount(); i++) { |
|---|
| 395 | if (list.getCFDO(i).getId() == id) { |
|---|
| 396 | return list.getCFDO(i); |
|---|
| 397 | } |
|---|
| 398 | } |
|---|
| 399 | return null; |
|---|
| 400 | } |
|---|
| 401 | |
|---|
| 402 | /** |
|---|
| 403 | * Loops through the list until it finds a matching object with the |
|---|
| 404 | * specified id. |
|---|
| 405 | * |
|---|
| 406 | * @returns the index of CardfileDataObject with the specified id. |
|---|
| 407 | */ |
|---|
| 408 | public int getCardfileDataIndex(CardfileList list, int id) { |
|---|
| 409 | for (int i = 0; i < list.getItemCount(); i++) { |
|---|
| 410 | if (list.getCFDO(i).getId() == id) { |
|---|
| 411 | return i; |
|---|
| 412 | } |
|---|
| 413 | } |
|---|
| 414 | return -1; |
|---|
| 415 | } |
|---|
| 416 | |
|---|
| 417 | public LinkedList<CardfileDataObject> getSearchList(String search){ |
|---|
| 418 | LinkedList<CardfileDataObject> returnList = new LinkedList<CardfileDataObject>(); |
|---|
| 419 | LinkedList<CardfileDataObject> tempList = coastalDivisionUnitsList.search(search); |
|---|
| 420 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 421 | returnList.add(tempList.get(i)); |
|---|
| 422 | } |
|---|
| 423 | tempList = policeSheriffCoronerList.search(search); |
|---|
| 424 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 425 | returnList.add(tempList.get(i)); |
|---|
| 426 | } |
|---|
| 427 | tempList = courtsList.search(search); |
|---|
| 428 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 429 | returnList.add(tempList.get(i)); |
|---|
| 430 | } |
|---|
| 431 | tempList = publicTransportationList.search(search); |
|---|
| 432 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 433 | returnList.add(tempList.get(i)); |
|---|
| 434 | } |
|---|
| 435 | tempList = ggOtherList.search(search); |
|---|
| 436 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 437 | returnList.add(tempList.get(i)); |
|---|
| 438 | } |
|---|
| 439 | tempList = myMiscList.search(search); |
|---|
| 440 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 441 | returnList.add(tempList.get(i)); |
|---|
| 442 | } |
|---|
| 443 | tempList = slMiscList.search(search); |
|---|
| 444 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 445 | returnList.add(tempList.get(i)); |
|---|
| 446 | } |
|---|
| 447 | tempList = vtMiscList.search(search); |
|---|
| 448 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 449 | returnList.add(tempList.get(i)); |
|---|
| 450 | } |
|---|
| 451 | tempList = chpOfficesList.search(search); |
|---|
| 452 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 453 | returnList.add(tempList.get(i)); |
|---|
| 454 | } |
|---|
| 455 | tempList = stateAgenciesFacilitiesList.search(search); |
|---|
| 456 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 457 | returnList.add(tempList.get(i)); |
|---|
| 458 | } |
|---|
| 459 | tempList = governmentOfficialsList.search(search); |
|---|
| 460 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 461 | returnList.add(tempList.get(i)); |
|---|
| 462 | } |
|---|
| 463 | tempList = federalAgenciesList.search(search); |
|---|
| 464 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 465 | returnList.add(tempList.get(i)); |
|---|
| 466 | } |
|---|
| 467 | tempList = ranchesLivestockList.search(search); |
|---|
| 468 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 469 | returnList.add(tempList.get(i)); |
|---|
| 470 | } |
|---|
| 471 | tempList = fireEmsList.search(search); |
|---|
| 472 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 473 | returnList.add(tempList.get(i)); |
|---|
| 474 | } |
|---|
| 475 | tempList = jailsList.search(search); |
|---|
| 476 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 477 | returnList.add(tempList.get(i)); |
|---|
| 478 | } |
|---|
| 479 | tempList = hospitalsMedCentersList.search(search); |
|---|
| 480 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 481 | returnList.add(tempList.get(i)); |
|---|
| 482 | } |
|---|
| 483 | tempList = towCompaniesList.search(search); |
|---|
| 484 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 485 | returnList.add(tempList.get(i)); |
|---|
| 486 | } |
|---|
| 487 | tempList = calTransList.search(search); |
|---|
| 488 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 489 | returnList.add(tempList.get(i)); |
|---|
| 490 | } |
|---|
| 491 | tempList = countyRoadsList.search(search); |
|---|
| 492 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 493 | returnList.add(tempList.get(i)); |
|---|
| 494 | } |
|---|
| 495 | tempList = utilitiesList.search(search); |
|---|
| 496 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 497 | returnList.add(tempList.get(i)); |
|---|
| 498 | } |
|---|
| 499 | tempList = animalControlList.search(search); |
|---|
| 500 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 501 | returnList.add(tempList.get(i)); |
|---|
| 502 | } |
|---|
| 503 | tempList = airportsList.search(search); |
|---|
| 504 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 505 | returnList.add(tempList.get(i)); |
|---|
| 506 | } |
|---|
| 507 | tempList = creditCardsList.search(search); |
|---|
| 508 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 509 | returnList.add(tempList.get(i)); |
|---|
| 510 | } |
|---|
| 511 | tempList = ggCrisisSheltersList.search(search); |
|---|
| 512 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 513 | returnList.add(tempList.get(i)); |
|---|
| 514 | } |
|---|
| 515 | tempList = rangesList.search(search); |
|---|
| 516 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 517 | returnList.add(tempList.get(i)); |
|---|
| 518 | } |
|---|
| 519 | tempList = hotlinesList.search(search); |
|---|
| 520 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 521 | returnList.add(tempList.get(i)); |
|---|
| 522 | } |
|---|
| 523 | tempList = hwyPatrolsOosList.search(search); |
|---|
| 524 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 525 | returnList.add(tempList.get(i)); |
|---|
| 526 | } |
|---|
| 527 | tempList = parksRecreationList.search(search); |
|---|
| 528 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 529 | returnList.add(tempList.get(i)); |
|---|
| 530 | } |
|---|
| 531 | tempList = sheltersList.search(search); |
|---|
| 532 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 533 | returnList.add(tempList.get(i)); |
|---|
| 534 | } |
|---|
| 535 | tempList = slCountyServicesList.search(search); |
|---|
| 536 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 537 | returnList.add(tempList.get(i)); |
|---|
| 538 | } |
|---|
| 539 | tempList = slResourcesList.search(search); |
|---|
| 540 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 541 | returnList.add(tempList.get(i)); |
|---|
| 542 | } |
|---|
| 543 | tempList = truckTireRepairList.search(search); |
|---|
| 544 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 545 | returnList.add(tempList.get(i)); |
|---|
| 546 | } |
|---|
| 547 | tempList = mccEmployeesList.search(search); |
|---|
| 548 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 549 | returnList.add(tempList.get(i)); |
|---|
| 550 | } |
|---|
| 551 | tempList = gateAccessCodesList.search(search); |
|---|
| 552 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 553 | returnList.add(tempList.get(i)); |
|---|
| 554 | } |
|---|
| 555 | tempList = vtCallSignsList.search(search); |
|---|
| 556 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 557 | returnList.add(tempList.get(i)); |
|---|
| 558 | } |
|---|
| 559 | tempList = slccEmployeesList.search(search); |
|---|
| 560 | for(int i = 0; i < tempList.size(); i++){ |
|---|
| 561 | returnList.add(tempList.get(i)); |
|---|
| 562 | } |
|---|
| 563 | return returnList; |
|---|
| 564 | } |
|---|
| 565 | |
|---|
| 566 | } |
|---|