|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CWebdav.channelAction.injac.actions.DocumentPublicationAction
Id: DocumentPublicationAction.java,v 1.0 27 oct. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: DocumentPublicationAction Original Author: Yohan Colmant Action for the document publication
Field Summary | |
protected static org.apache.commons.logging.Log |
log
Logger object |
Constructor Summary | |
DocumentPublicationAction()
|
Method Summary | |
static java.lang.StringBuffer |
publish(org.jasig.portal.ChannelRuntimeData runtimeData,
java.lang.StringBuffer stylesheet,
ChannelConfiguration config,
java.util.ArrayList spaces,
java.util.ArrayList metadataToSet,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
Space currentSpace,
DirectoryProperties directoryProperties,
BufferAction buffer)
Generate the XML String and publish the document |
static java.lang.StringBuffer |
renderXmlConfirmPublish(org.jasig.portal.ChannelRuntimeData runtimeData,
BufferAction buffer,
java.lang.StringBuffer stylesheet,
ChannelConfiguration config,
java.util.ArrayList spaces,
java.util.ArrayList metadataToSet,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
Space currentSpace,
DirectoryProperties directoryProperties)
Generate the XML when we ask a publish confirmation |
private static java.lang.StringBuffer |
renderXmlConfirmPublishNewDocument(BufferAction buffer,
Space currentSpace,
DirectoryProperties directoryProperties)
Generate the XML when we ask a publish confirmation of a new document |
private static java.lang.StringBuffer |
renderXmlConfirmPublishOldDocument(java.lang.String[] files,
java.lang.String userPortalLogin,
Space currentSpace)
Generate the XML when we ask a publish confirmation of an existing document |
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
Constructor Detail |
public DocumentPublicationAction()
Method Detail |
public static java.lang.StringBuffer renderXmlConfirmPublish(org.jasig.portal.ChannelRuntimeData runtimeData, BufferAction buffer, java.lang.StringBuffer stylesheet, ChannelConfiguration config, java.util.ArrayList spaces, java.util.ArrayList metadataToSet, java.lang.String userPortalLogin, java.util.Vector userGroups, Space currentSpace, DirectoryProperties directoryProperties) throws ChannelException
runtimeData
- the channel runtimedata objectbuffer
- the buffer used for the clipboardstylesheet
- the channel stylesheet we are going to useconfig
- the channel configuration file objectspaces
- the channel spaces listmetadataToSet
- the metatada list we want to setuserPortalLogin
- the user portal loginuserGroups
- the user portal groupscurrentSpace
- the current spacedirectoryProperties
- the current directory properties
ChannelException
private static java.lang.StringBuffer renderXmlConfirmPublishNewDocument(BufferAction buffer, Space currentSpace, DirectoryProperties directoryProperties) throws ChannelException
buffer
- the buffer used for the clipboardcurrentSpace
- the current spacedirectoryProperties
- the current directory properties
ChannelException
private static java.lang.StringBuffer renderXmlConfirmPublishOldDocument(java.lang.String[] files, java.lang.String userPortalLogin, Space currentSpace) throws ChannelException
files
- the files we want to submit againuserPortalLogin
- the user portal logincurrentSpace
- the current space
ChannelException
public static java.lang.StringBuffer publish(org.jasig.portal.ChannelRuntimeData runtimeData, java.lang.StringBuffer stylesheet, ChannelConfiguration config, java.util.ArrayList spaces, java.util.ArrayList metadataToSet, java.lang.String userPortalLogin, java.util.Vector userGroups, Space currentSpace, DirectoryProperties directoryProperties, BufferAction buffer) throws ChannelException
runtimeData
- the runtime data channel objectstylesheet
- the stylesheet we are about to useconfig
- the channel configuration file access objectspaces
- the spaces listmetadataToSet
- the metadata list we want to setuserPortalLogin
- the user portal loginuserGroups
- the user portal groupscurrentSpace
- the current spacedirectoryProperties
- the current directory propertiesbuffer
- the buffer used for example for the clipboard
ChannelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |