net.sourceforge.stripes.examples.bugzooky
Class AdministerPeopleActionBean

java.lang.Object
  extended by net.sourceforge.stripes.examples.bugzooky.BugzookyActionBean
      extended by net.sourceforge.stripes.examples.bugzooky.AdministerPeopleActionBean
All Implemented Interfaces:
net.sourceforge.stripes.action.ActionBean

public class AdministerPeopleActionBean
extends BugzookyActionBean

Manages the administration of People, from the Administer Bugzooky page. Receives a List of People, which may include a new person and persists the changes. Also receives an Array of IDs for people that are to be deleted, and deletes them.

Author:
Tim Fennell

Constructor Summary
AdministerPeopleActionBean()
           
 
Method Summary
 int[] getDeleteIds()
           
 List<Person> getPeople()
           
 net.sourceforge.stripes.action.Resolution saveChanges()
           
 void setDeleteIds(int[] deleteIds)
           
 void setPeople(List<Person> people)
           
 
Methods inherited from class net.sourceforge.stripes.examples.bugzooky.BugzookyActionBean
getContext, populateBug, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdministerPeopleActionBean

public AdministerPeopleActionBean()
Method Detail

getDeleteIds

public int[] getDeleteIds()

setDeleteIds

public void setDeleteIds(int[] deleteIds)

getPeople

public List<Person> getPeople()

setPeople

public void setPeople(List<Person> people)

saveChanges

@HandlesEvent(value="Save")
@DefaultHandler
public net.sourceforge.stripes.action.Resolution saveChanges()


© Copyright 2005, Stripes Development Team.