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

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

public class ViewTree
extends IntranetAction

ViewTree

Description

(c)Copyright ESup-Portail 2004

Version:
2.0
Author:
Mathieu Larchet

Constructor Summary
ViewTree(org.esupportail.portal.utils.channels.MainChannel mainChannel)
          Constructeur
 
Method Summary
 java.lang.Boolean action()
          Méthode appelée si la personne a le niveau requis
 int getLevel()
          Retourne le niveau d'accréditation minimum pour accéder à cette action
 java.lang.Boolean setXML()
          Affichage de l'arbre
 
Methods inherited from class org.esupportail.portal.channels.CIntranet.actions.intranet.IntranetAction
init
 
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, setOutput, setSSL, setXML, setXSL, setXSLParameter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewTree

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

Parameters:
mainChannel - La channel principale
Method Detail

getLevel

public int getLevel()
Retourne le niveau d'accréditation minimum pour accéder à cette action

Specified by:
getLevel in class IntranetAction
Returns:
ISecurityManager.USER

action

public java.lang.Boolean action()
                         throws org.jasig.portal.PortalException,
                                org.esupportail.portal.utils.channels.FrameWorkException
Méthode appelée si la personne a le niveau requis

Specified by:
action in class IntranetAction
Returns:
Boolean.TRUE si l'action s'est bien passée, Boolean.FALSE sinon
Throws:
org.esupportail.portal.utils.channels.FrameWorkException
org.jasig.portal.PortalException

setXML

public java.lang.Boolean setXML()
Affichage de l'arbre

Returns:
Boolean.TRUE