net.sf.tacos.demo.partial
Class NoteStore

java.lang.Object
  extended by net.sf.tacos.demo.partial.NoteStore
All Implemented Interfaces:
Serializable

public class NoteStore
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
NoteStore()
           
 
Method Summary
 Note createNote()
          Creates a note
 Collection getAllNotes()
          List of all notes
 Note getNote(Long id)
          Gets note
 void removeNote(Long id)
          Removes note
 void storeNote(Note note)
          Stores note
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteStore

public NoteStore()
Method Detail

getAllNotes

public Collection getAllNotes()
List of all notes

Returns:

getNote

public Note getNote(Long id)
Gets note

Parameters:
id -
Returns:

createNote

public Note createNote()
Creates a note

Returns:

storeNote

public void storeNote(Note note)
Stores note

Parameters:
note -

removeNote

public void removeNote(Long id)
Removes note

Parameters:
id -