Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.plugins.notes
Class NotesPlugin  view NotesPlugin download NotesPlugin.java

java.lang.Object
  extended byorg.lucane.client.Plugin
      extended byorg.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


Field Summary
private  org.lucane.plugins.notes.gui.main.MainFrame mainFrame
           
private  org.lucane.common.ConnectInfo service
           
 
Fields inherited from class org.lucane.client.Plugin
bundle, starter
 
Constructor Summary
NotesPlugin()
           
 
Method Summary
 void follow()
          Used by the PluginLoader when a plugin is loaded after a network query.
 java.lang.Object[] getCommentsForNote(java.lang.String idNote)
           
 java.lang.Object[] getPersonnalNotes()
           
 java.lang.Object[] getPublishedAuthors()
           
 java.lang.Object[] getPublishedNotesByAuthor(java.lang.String author)
           
 java.lang.Object[] getRecentPublishedNotes()
           
 org.lucane.client.Plugin init(org.lucane.common.ConnectInfo[] friends, boolean starter)
          Used by the PluginLoader to initialize the plugin with adequate parameters
 void load(org.lucane.common.ObjectConnection friend, org.lucane.common.ConnectInfo who, java.lang.String data)
          Used by the PluginLoader to load a plugin previously initialized with a command String and a Socket to communicate with.
 void removeNote(java.lang.String idNote)
           
 void saveComment(Comment comment)
           
 void saveNote(Note note)
           
 void start()
          Used when a plugin is started (ie.
 
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
 

Field Detail

service

private org.lucane.common.ConnectInfo service

mainFrame

private org.lucane.plugins.notes.gui.main.MainFrame mainFrame
Constructor Detail

NotesPlugin

public NotesPlugin()
Method Detail

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)