|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CWebdav.channelAction.AbstractChannelAction
org.esupportail.portal.channels.CWebdav.channelAction.classic.ChannelAction
Id: ChannelAction.java,v 1.0 24 sept. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: ChannelAction Original Author: Yohan Colmant Class used to manage the actions when we are in a classic space context
Field Summary | |
protected static org.apache.commons.logging.Log |
log
Logger object |
private java.lang.String |
stylesheet
The stylesheet used |
Fields inherited from class org.esupportail.portal.channels.CWebdav.channelAction.AbstractChannelAction |
buffer, config, currentSpace, spaces, userGroups, userPortalLogin |
Constructor Summary | |
ChannelAction()
Default constructor |
Method Summary | |
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 |
private void |
createDir(org.jasig.portal.ChannelRuntimeData runtimeData)
Create a new directory |
private void |
delete(org.jasig.portal.ChannelRuntimeData runtimeData)
Delete the specified resource(s) |
private void |
deleteWithoutConfirm()
Delete resource(s) without confirmation |
private void |
directoryBack()
Go to the parent directory |
private java.lang.StringBuffer |
paste(org.jasig.portal.ChannelRuntimeData runtimeData)
Generate the XML String for this mod |
private void |
rename(org.jasig.portal.ChannelRuntimeData runtimeData)
Rename the selected resource |
private java.lang.StringBuffer |
renderXmlConfirmDelete(org.jasig.portal.ChannelRuntimeData runtimeData)
Generate the XML String for this mod |
private java.lang.StringBuffer |
renderXmlConfirmPaste()
Generate the XML String for this mod |
private java.lang.StringBuffer |
renderXmlSetNameForRename(org.jasig.portal.ChannelRuntimeData runtimeData)
Generate the XML String for this mod |
private java.lang.StringBuffer |
renderXmlShowCurrentDir(org.jasig.portal.ChannelRuntimeData runtimeData)
Generate the XML String for this mod |
private void |
setClipboard(java.lang.String mode,
org.jasig.portal.ChannelRuntimeData runtimeData)
Set the clipboard |
private void |
upload(org.jasig.portal.ChannelRuntimeData runtimeData)
Start the upload |
Methods inherited from class org.esupportail.portal.channels.CWebdav.channelAction.AbstractChannelAction |
init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final org.apache.commons.logging.Log log
private java.lang.String stylesheet
Constructor Detail |
public ChannelAction()
Method Detail |
public 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
checkCalledAction
in class AbstractChannelAction
staticData
- the static data channel objectruntimeData
- the runtime data channel objectout
- a sax document handlerxslt
- the xslt motor objectsetStaticDataException
- the excpetion throwed in the setStaticData method
org.jasig.portal.PortalException
private java.lang.StringBuffer renderXmlShowCurrentDir(org.jasig.portal.ChannelRuntimeData runtimeData)
runtimeData
- the runtime data channel object
private void directoryBack()
private void createDir(org.jasig.portal.ChannelRuntimeData runtimeData) throws CancelException, ApplicationException, CreateDirectoryException, StillExistsException, BadFormatException, NotAuthorizedException, NotAuthorizedNewDirException, NotExistsResourceException
runtimeData
- the runtime data channel object
CancelException
ApplicationException
CreateDirectoryException
StillExistsException
BadFormatException
NotAuthorizedException
NotAuthorizedNewDirException
NotExistsResourceException
private java.lang.StringBuffer renderXmlSetNameForRename(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
private void rename(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
private java.lang.StringBuffer renderXmlConfirmDelete(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
private void delete(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
private void deleteWithoutConfirm() throws ChannelException
ChannelException
private void upload(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
private void setClipboard(java.lang.String mode, org.jasig.portal.ChannelRuntimeData runtimeData) throws NoneSelectedResourceException, ApplicationException, NotAuthorizedException
mode
- used: copy or moveruntimeData
- the runtime data channel object
NoneSelectedResourceException
ApplicationException
NotAuthorizedException
private java.lang.StringBuffer renderXmlConfirmPaste() throws ChannelException
ChannelException
private java.lang.StringBuffer paste(org.jasig.portal.ChannelRuntimeData runtimeData) throws ChannelException
runtimeData
- the runtime data channel object
ChannelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |