org.esupportail.portal.channels.CWebdav.channelAction
Class AbstractChannelAction

java.lang.Object
  extended byorg.esupportail.portal.channels.CWebdav.channelAction.AbstractChannelAction
Direct Known Subclasses:
ChannelAction, ChannelAction

public abstract class AbstractChannelAction
extends java.lang.Object

Id: AbstractChannelAction.java,v 1.0 24 sept. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: AbstractChannelAction Original Author: Yohan Colmant


Field Summary
protected  BufferAction buffer
          Object used to keep the objects used between 2 actions, for example, the clipboard
protected  ChannelConfiguration config
          The config object
protected  Space currentSpace
          the space containing this channel action
protected  java.util.ArrayList spaces
          The spaces availables
protected  java.util.Vector userGroups
          The groups of the user in the portal
protected  java.lang.String userPortalLogin
          The user login in the portal
 
Constructor Summary
AbstractChannelAction()
           
 
Method Summary
abstract  void checkCalledAction(org.jasig.portal.ChannelStaticData staticData, org.jasig.portal.ChannelRuntimeData runtimeData, org.xml.sax.ContentHandler out, org.jasig.portal.utils.XSLT xslt, ChannelException setStaticDataException)
          Manage the actions when refreshing the channel
 void init(Space currentSpace, java.util.ArrayList spaces, ChannelConfiguration config, BufferAction buffer, java.lang.String userPortalLogin, java.util.Vector userGroups)
          Init the object used to manage the actions of the channel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentSpace

protected Space currentSpace
the space containing this channel action


config

protected ChannelConfiguration config
The config object


spaces

protected java.util.ArrayList spaces
The spaces availables


buffer

protected BufferAction buffer
Object used to keep the objects used between 2 actions, for example, the clipboard


userPortalLogin

protected java.lang.String userPortalLogin
The user login in the portal


userGroups

protected java.util.Vector userGroups
The groups of the user in the portal

Constructor Detail

AbstractChannelAction

public AbstractChannelAction()
Method Detail

init

public void init(Space currentSpace,
                 java.util.ArrayList spaces,
                 ChannelConfiguration config,
                 BufferAction buffer,
                 java.lang.String userPortalLogin,
                 java.util.Vector userGroups)
          throws ChannelException
Init the object used to manage the actions of the channel

Parameters:
currentSpace - the current space used
spaces - all the spaces used
config - the config class
buffer - the buffer used to get for example the clipboard
userPortalLogin - The user login in the portal
userGroups - The groups of the user in the portal
Throws:
ChannelException

checkCalledAction

public abstract void checkCalledAction(org.jasig.portal.ChannelStaticData staticData,
                                       org.jasig.portal.ChannelRuntimeData runtimeData,
                                       org.xml.sax.ContentHandler out,
                                       org.jasig.portal.utils.XSLT xslt,
                                       ChannelException setStaticDataException)
                                throws org.jasig.portal.PortalException
Manage the actions when refreshing the channel

Parameters:
staticData - the static data channel object
runtimeData - the runtime data channel object
out - the contentHandler used in the renderXml
xslt - the xslt motor object
setStaticDataException - the excpetion throwed in the setStaticData method
Throws:
org.jasig.portal.PortalException