java.lang.Object
org.lucane.client.Plugin
org.lucane.plugins.notes.NotesPlugin
- All Implemented Interfaces:
- java.util.EventListener, java.lang.Runnable, java.awt.event.WindowListener
- public class NotesPlugin
- extends org.lucane.client.Plugin
| Methods inherited from class org.lucane.client.Plugin |
exit, getAuthor, getCategory, getDirectory, getEmail, getIcon, getName, getTitle, getToolTip, getVersion, run, setLocale, tr, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
service
private org.lucane.common.ConnectInfo service
mainFrame
private org.lucane.plugins.notes.gui.main.MainFrame mainFrame
NotesPlugin
public NotesPlugin()
init
public org.lucane.client.Plugin init(org.lucane.common.ConnectInfo[] friends,
boolean starter)
- Description copied from class:
org.lucane.client.Plugin
- Used by the PluginLoader to initialize the plugin with adequate parameters
load
public void load(org.lucane.common.ObjectConnection friend,
org.lucane.common.ConnectInfo who,
java.lang.String data)
- Description copied from class:
org.lucane.client.Plugin
- Used by the PluginLoader to load a plugin previously initialized
with a command String and a Socket to communicate with.
start
public void start()
- Description copied from class:
org.lucane.client.Plugin
- Used when a plugin is started (ie. not loaded afeter a network request).
For example, it is called when a user wants to send a mesage to another.
It allows the plugin developpeur to ask for other parameters interactively.
follow
public void follow()
- Description copied from class:
org.lucane.client.Plugin
- Used by the PluginLoader when a plugin is loaded after a network query.
getPublishedAuthors
public java.lang.Object[] getPublishedAuthors()
getRecentPublishedNotes
public java.lang.Object[] getRecentPublishedNotes()
getPublishedNotesByAuthor
public java.lang.Object[] getPublishedNotesByAuthor(java.lang.String author)
getPersonnalNotes
public java.lang.Object[] getPersonnalNotes()
getCommentsForNote
public java.lang.Object[] getCommentsForNote(java.lang.String idNote)
removeNote
public void removeNote(java.lang.String idNote)
saveNote
public void saveNote(Note note)
saveComment
public void saveComment(Comment comment)