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

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.ModifyDocument
All Implemented Interfaces:
org.jasig.portal.ICacheable, org.esupportail.portal.utils.channels.ISubChannel

public class ModifyDocument
extends AbstractAction

ModifyDocument

Cette classe prend en charge la modification d'un document

(c)Copyright ESup-Portail 2004

Version:
$Revision: 1.1.2.3 $
Author:
Mathieu Larchet

Constructor Summary
ModifyDocument(org.esupportail.portal.utils.channels.MainChannel mainChannel)
          Constructeur
 
Method Summary
 java.lang.Boolean contentinit(org.jasig.portal.ChannelRuntimeData rd)
          Etape 2/4 du cycle de vie de la SubChannel Traite la modification du fichier (contenu) Override SubChannel.init() method
 java.lang.Boolean dateinit(org.jasig.portal.ChannelRuntimeData rd)
          Etape 2/4 du cycle de vie de la SubChannel Traite la modification de la date de péremption Override SubChannel.init() method
 java.lang.Boolean fileinit(org.jasig.portal.ChannelRuntimeData rd)
          Etape 2/4 du cycle de vie de la SubChannel Traite la modification du fichier (infos) Override SubChannel.init() method
 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 le formulaire de modification de document Override SubChannel.init() method
 java.lang.Boolean linkinit(org.jasig.portal.ChannelRuntimeData rd)
          Etape 2/4 du cycle de vie de la SubChannel Traite la modification du lien Override SubChannel.init() method
 void setOutput()
          Etape 4/4 du cycle de vie de la SubChannel Choix de la feuille de style fichier/lien Override SubChannel.setOutput() method
 java.lang.Boolean setXML()
          Etape 3/4 du cycle de vie de la SubChannel Affiche le formulaire de modification de 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

ModifyDocument

public ModifyDocument(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 le formulaire de modification de 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 le formulaire de modification de 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 cycle de vie de la SubChannel Choix de la feuille de style fichier/lien Override SubChannel.setOutput() method

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

fileinit

public java.lang.Boolean fileinit(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 Traite la modification du fichier (infos) 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

contentinit

public java.lang.Boolean contentinit(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 Traite la modification du fichier (contenu) 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

linkinit

public java.lang.Boolean linkinit(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 Traite la modification du lien 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

dateinit

public java.lang.Boolean dateinit(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 Traite la modification de la date de péremption 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