|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.samples.simple.domain.ContactDataStore
public class ContactDataStore
This class provides a trivial in-memory datastore to hold all the contacts. In a real application, this would probably be a server-side object that is accessed via an interface using the typical Spring wiring and remoting.
Constructor Summary | |
---|---|
ContactDataStore()
Default constructor - "load" our initial data. |
Method Summary | |
---|---|
void |
add(Contact contact)
Add a new contact. |
void |
delete(Contact contact)
Delete a contact. |
Contact[] |
getAllContacts()
Get all the contacts. |
void |
update(Contact contact)
Update a contact. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactDataStore()
Method Detail |
---|
public Contact[] getAllContacts()
public void update(Contact contact)
public void delete(Contact contact)
public void add(Contact contact)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |