|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CStockage.channelAction.AbstractChannelAction
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 Space |
currentSpace
the space containing this channel action |
protected static Log |
log
Logger object |
private org.jasig.portal.security.IPerson |
person
The current user IPerson object |
protected SharingTool |
sharingTool
The object used to manage the sharing of folder |
protected org.jasig.portal.IServant |
slave
The servant channel used for groups and users selection |
protected java.util.ArrayList |
spaces
The default spaces |
protected java.lang.StringBuffer |
stylesheet
The stylesheet used |
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 | |
void |
checkCalledAction(java.lang.String currentMode,
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 |
protected abstract void |
checkCurrentDirectoryProperties()
For the selected mode, we check the properties of the current directory |
protected abstract void |
directoryBack()
Go to the parent directory |
void |
init(org.jasig.portal.security.IPerson person,
Space currentSpace,
java.util.ArrayList spaces,
BufferAction buffer,
java.lang.String userPortalLogin,
java.util.Vector userGroups)
Init the object used to manage the actions of the channel |
protected abstract java.lang.StringBuffer |
renderXmlBadConnexionParametersException(ChannelException e)
Return the xml when we have a BadConnexionParameters exception |
abstract java.lang.StringBuffer |
renderXmlChannelException(ChannelException e)
Return the xml when we have a ChannelException exception |
protected abstract java.lang.StringBuffer |
renderXmlShowCurrentDir(org.jasig.portal.ChannelRuntimeData runtimeData)
Generate the XML String for this mod |
abstract java.lang.StringBuffer |
renderXmlWithInformation(java.lang.String informationCode)
Return the xml when we have to show a information message |
abstract java.lang.StringBuffer |
specificCheckCalledAction(java.lang.String currentMode,
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 specific actions when refreshing the channel for the specific channel mode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final Log log
protected Space currentSpace
protected java.util.ArrayList spaces
protected BufferAction buffer
protected java.lang.String userPortalLogin
protected java.util.Vector userGroups
protected org.jasig.portal.IServant slave
protected SharingTool sharingTool
private org.jasig.portal.security.IPerson person
protected java.lang.StringBuffer stylesheet
Constructor Detail |
public AbstractChannelAction()
Method Detail |
public void init(org.jasig.portal.security.IPerson person, Space currentSpace, java.util.ArrayList spaces, BufferAction buffer, java.lang.String userPortalLogin, java.util.Vector userGroups) throws ChannelException
person
- the uportal person objectcurrentSpace
- the current space usedspaces
- all the spaces usedbuffer
- the buffer used to get for example the clipboarduserPortalLogin
- The user login in the portaluserGroups
- The groups of the user in the portal
ChannelException
public void checkCalledAction(java.lang.String currentMode, 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
staticData
- the static data channel objectruntimeData
- the runtime data channel objectout
- the contentHandler used in the renderXmlxslt
- the xslt motor objectsetStaticDataException
- the excpetion throwed in the setStaticData method
org.jasig.portal.PortalException
protected abstract void checkCurrentDirectoryProperties() throws java.lang.Exception
java.lang.Exception
public abstract java.lang.StringBuffer renderXmlWithInformation(java.lang.String informationCode) throws PropertiesException
PropertiesException
protected abstract java.lang.StringBuffer renderXmlBadConnexionParametersException(ChannelException e) throws PropertiesException
e
- the throwed exception
PropertiesException
public abstract java.lang.StringBuffer renderXmlChannelException(ChannelException e)
e
- the throwed exception
public abstract java.lang.StringBuffer specificCheckCalledAction(java.lang.String currentMode, org.jasig.portal.ChannelStaticData staticData, org.jasig.portal.ChannelRuntimeData runtimeData, org.xml.sax.ContentHandler out, org.jasig.portal.utils.XSLT xslt, ChannelException setStaticDataException) throws ChannelException, org.jasig.portal.PortalException
currentMode
- the current channel modestaticData
- the static data channel objectruntimeData
- the runtime data channel objectout
- the contentHandler used in the renderXmlxslt
- the xslt motor objectsetStaticDataException
- the excpetion throwed in the setStaticData method
org.jasig.portal.PortalException
ChannelException
protected abstract java.lang.StringBuffer renderXmlShowCurrentDir(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
protected abstract void directoryBack() throws ChannelException
ChannelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |