channels 1.0
API Documentation

org.esupportail.portal.utils.channels.plugins
Class Todo

java.lang.Object
  extended byorg.esupportail.portal.utils.channels.SubChannel
      extended byorg.esupportail.portal.utils.channels.plugins.Todo
All Implemented Interfaces:
org.jasig.portal.ICacheable, ISubChannel

public class Todo
extends SubChannel

Todo

Ce plug-in ajoute une page qui permet d'afficher un message qui dit que la fonctionnalité reste à développer
Utile pour mettre en place rapidement le squelette d'une application avec toutes ses actions mêmes si elles ne sont pas encore développées

(c)Copyright ESup-Portail 2004

Version:
1.0
Author:
Olivier Ziller

Constructor Summary
Todo(MainChannel main)
          Constructeur
 
Method Summary
static void register(java.util.HashMap actions)
          Méthode statique qui permet d'enregistrer le plug-in Todo dans la liste des actions d'une channel
 java.lang.Boolean setXML()
          Positionnement du XML pour le plug-in
static void todo(MainChannel main, org.jasig.portal.ChannelRuntimeData rd, java.lang.String newAction)
          Méthode statique qui permet d'afficher la page du plug-in
 
Methods inherited from class org.esupportail.portal.utils.channels.SubChannel
addDefaultXslParameters, clearChannel, generateKey, getMainChannel, getMediaPath, getPackageName, getRuntimeData, getSSL, getXML, getXSL, getXSLParameter, init, isCacheValid, renderXML, setDefaultXslParameters, setOutput, setSSL, setXML, setXSL, setXSLParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Todo

public Todo(MainChannel main)
Constructeur

Parameters:
main -
Method Detail

register

public static void register(java.util.HashMap actions)
Méthode statique qui permet d'enregistrer le plug-in Todo dans la liste des actions d'une channel

Parameters:
actions - Liste des actions

todo

public static void todo(MainChannel main,
                        org.jasig.portal.ChannelRuntimeData rd,
                        java.lang.String newAction)
                 throws org.jasig.portal.PortalException
Méthode statique qui permet d'afficher la page du plug-in

Parameters:
main - channel principale
rd - runtimeData
newAction - action sur laquelle aller lors du clic sur "OK"
Throws:
org.jasig.portal.PortalException

setXML

public java.lang.Boolean setXML()
Positionnement du XML pour le plug-in

Specified by:
setXML in interface ISubChannel
Overrides:
setXML in class SubChannel
Returns:
toujours Boolean.TRUE

channels 1.0
API Documentation