org.esupportail.portal.channels.CIntranet.actions.admin
Class AbstractAction

java.lang.Object
  extended byorg.esupportail.portal.utils.channels.SubChannel
      extended byorg.esupportail.portal.channels.CIntranet.actions.admin.AbstractAction
All Implemented Interfaces:
org.jasig.portal.ICacheable, org.esupportail.portal.utils.channels.ISubChannel
Direct Known Subclasses:
Admin, Home, MIMETypes, NewIntranet, OrderIntranet, Population, RemoveIntranet

public class AbstractAction
extends org.esupportail.portal.utils.channels.SubChannel

AbstractAction

Définit un comportement par défaut pour toutes les actions du canal d'administration

(c)Copyright ESup-Portail 2004

Version:
$Revision: 1.1.2.3 $
Author:
Mathieu Larchet

Constructor Summary
AbstractAction(org.esupportail.portal.utils.channels.MainChannel mainChannel)
          Constructeur
 
Method Summary
 java.lang.Boolean initialize(org.jasig.portal.ChannelRuntimeData rd)
          Implémente un comportement par défaut pour toutes les actions du canal d'administration Si l'utilisateur n'est pas un administrateur, le canal affiche un message d'erreur
 
Methods inherited from class org.esupportail.portal.utils.channels.SubChannel
addDefaultXslParameters, addDownloadXslParameter, clearChannel, generateKey, getMainChannel, getMediaPath, getPackageName, getRuntimeData, getSSL, getXML, getXSL, getXSLParameter, init, isCacheValid, log, log, renderXML, setDefaultXslParameters, setOutput, setSSL, setXML, setXML, setXSL, setXSLParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAction

public AbstractAction(org.esupportail.portal.utils.channels.MainChannel mainChannel)
Constructeur

Parameters:
mainChannel - La channel principale
Method Detail

initialize

public java.lang.Boolean initialize(org.jasig.portal.ChannelRuntimeData rd)
                             throws org.jasig.portal.PortalException,
                                    org.esupportail.portal.utils.channels.FrameWorkException
Implémente un comportement par défaut pour toutes les actions du canal d'administration Si l'utilisateur n'est pas un administrateur, le canal affiche un message d'erreur

Parameters:
rd - Les runtimeData
Returns:
Boolean TRUE si l'utilisateur est administrateur, FALSE sinon
Throws:
org.jasig.portal.PortalException
org.esupportail.portal.utils.channels.FrameWorkException