org.esupportail.portal.channels.CIntranet.actions.intranet
Class ViewDocument

java.lang.Object
  extended byorg.esupportail.portal.utils.channels.SubChannel
      extended byorg.esupportail.portal.channels.CIntranet.actions.intranet.AbstractAction
          extended byorg.esupportail.portal.channels.CIntranet.actions.intranet.ViewDocument
All Implemented Interfaces:
org.jasig.portal.ICacheable, org.esupportail.portal.utils.channels.ISubChannel

public class ViewDocument
extends AbstractAction

ViewDocument

Cette classe prend en charge l'affichage d'un document

(c)Copyright ESup-Portail 2004

Version:
$Revision: 1.1.2.4 $
Author:
Mathieu Larchet

Constructor Summary
ViewDocument(org.esupportail.portal.utils.channels.MainChannel mainChannel)
          Constructeur
 
Method Summary
 int getLevel()
          Indique le niveau requis pour réaliser cette action Implements AbstractAction.getLevel() method
 java.lang.Boolean init(org.jasig.portal.ChannelRuntimeData rd)
          Etape 2/4 du cycle de vie de la SubChannel Affiche un document Override SubChannel.init() method
 void setOutput()
          Etape 4/4 du cyle de vie de la SubChannel Positionne le titre SSL à utiliser Override SubChannel.setOutput() method
 java.lang.Boolean setXML()
          Etape 3/4 du cycle de vie de la SubChannel Affiche un document Override SubChannel.setXML() method
 
Methods inherited from class org.esupportail.portal.channels.CIntranet.actions.intranet.AbstractAction
initialize
 
Methods inherited from class org.esupportail.portal.utils.channels.SubChannel
addDefaultXslParameters, addDownloadXslParameter, clearChannel, generateKey, getMainChannel, getMediaPath, getPackageName, getRuntimeData, getSSL, getXML, getXSL, getXSLParameter, isCacheValid, log, log, renderXML, setDefaultXslParameters, setSSL, setXML, setXSL, setXSLParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewDocument

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

Parameters:
mainChannel - La channel principale
Method Detail

getLevel

public int getLevel()
Indique le niveau requis pour réaliser cette action Implements AbstractAction.getLevel() method

Specified by:
getLevel in class AbstractAction
Returns:
level Le niveau requis pour accéder à cette action

init

public java.lang.Boolean init(org.jasig.portal.ChannelRuntimeData rd)
                       throws org.jasig.portal.PortalException,
                              org.esupportail.portal.utils.channels.FrameWorkException
Etape 2/4 du cycle de vie de la SubChannel Affiche un document Override SubChannel.init() method

Parameters:
rd - Les runtimeData
Returns:
Boolean TRUE si tout se passe bien, FALSE sinon
Throws:
org.jasig.portal.PortalException
org.esupportail.portal.utils.channels.FrameWorkException

setXML

public java.lang.Boolean setXML()
                         throws org.esupportail.portal.utils.channels.FrameWorkException
Etape 3/4 du cycle de vie de la SubChannel Affiche un document Override SubChannel.setXML() method

Returns:
Boolean TRUE si tout se passe bien, FALSE sinon
Throws:
org.esupportail.portal.utils.channels.FrameWorkException

setOutput

public void setOutput()
               throws org.esupportail.portal.utils.channels.FrameWorkException
Etape 4/4 du cyle de vie de la SubChannel Positionne le titre SSL à utiliser Override SubChannel.setOutput() method

Throws:
org.esupportail.portal.utils.channels.FrameWorkException