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

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

public class NewFolder
extends IntranetAction

NewFolder

Cette action prend en charge la création d'un nouveau dossier

(c)Copyright ESup-Portail 2004

Version:
1.1
Author:
Mathieu Larchet

Field Summary
 
Fields inherited from class org.esupportail.portal.channels.CIntranet.actions.intranet.IntranetAction
folderid, intranet, login, ressource, role, superuser
 
Fields inherited from class org.esupportail.portal.utils.channels.SubChannel
END_XML, INIT_XML, mainChannel, runtimeData, START_XML, xml, xslParameters
 
Constructor Summary
NewFolder(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
 java.lang.Boolean createinit(org.jasig.portal.ChannelRuntimeData rd)
          Création du nouveau dossier
 int getLevel()
          Retourne le niveau d'accréditation minimum pour accéder à cette action
 java.lang.Boolean setXML()
          Affichage du formulaire de création de dossier
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NewFolder

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

Parameters:
mainChannel - 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.PUBLICATOR

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.jasig.portal.PortalException
org.esupportail.portal.utils.channels.FrameWorkException

setXML

public java.lang.Boolean setXML()
Affichage du formulaire de création de dossier

Returns:
Boolean.TRUE

createinit

public java.lang.Boolean createinit(org.jasig.portal.ChannelRuntimeData rd)
                             throws org.jasig.portal.PortalException,
                                    org.esupportail.portal.utils.channels.FrameWorkException
Création du nouveau dossier

Parameters:
rd -
Returns:
Boolean.FALSE (pas d'affichage)
Throws:
org.jasig.portal.PortalException
org.esupportail.portal.utils.channels.FrameWorkException