org.esupportail.portal.channels.CStockage.channelAction.injac.actions
Class DocumentEditionAction

java.lang.Object
  extended byorg.esupportail.portal.channels.CStockage.channelAction.injac.actions.DocumentEditionAction

public class DocumentEditionAction
extends java.lang.Object

Id: DocumentEditionAction.java,v 1.0 27 oct. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: DocumentEditionAction Original Author: Yohan Colmant Action for the document edition


Field Summary
protected static Log log
          Logger object
 
Constructor Summary
DocumentEditionAction()
           
 
Method Summary
static java.lang.StringBuffer renderXmlConfirmSubmit(org.jasig.portal.ChannelRuntimeData runtimeData, BufferAction buffer, java.lang.StringBuffer stylesheet, 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 submit confirmation
private static java.lang.StringBuffer renderXmlConfirmSubmitNewDocument(BufferAction buffer, Space currentSpace, DirectoryProperties directoryProperties)
          Generate the XML when we ask a submit confirmation of a new document
private static java.lang.StringBuffer renderXmlConfirmSubmitOldDocument(java.lang.String[] files, java.lang.String userPortalLogin, Space currentSpace)
          Generate the XML when we ask a submit confirmation of an existing document
static java.lang.StringBuffer submit(org.jasig.portal.ChannelRuntimeData runtimeData, java.lang.StringBuffer stylesheet, 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 submit the document
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Log log
Logger object

Constructor Detail

DocumentEditionAction

public DocumentEditionAction()
Method Detail

renderXmlConfirmSubmit

public static java.lang.StringBuffer renderXmlConfirmSubmit(org.jasig.portal.ChannelRuntimeData runtimeData,
                                                            BufferAction buffer,
                                                            java.lang.StringBuffer stylesheet,
                                                            java.util.ArrayList spaces,
                                                            java.util.ArrayList metadataToSet,
                                                            java.lang.String userPortalLogin,
                                                            java.util.Vector userGroups,
                                                            Space currentSpace,
                                                            DirectoryProperties directoryProperties)
                                                     throws ChannelException
Generate the XML when we ask a submit confirmation

Parameters:
runtimeData - the channel runtimedata object
buffer - the buffer used for the clipboard
stylesheet - the channel stylesheet we are going to use
spaces - the channel spaces list
metadataToSet - the metatada list we want to set
userPortalLogin - the user portal login
userGroups - the user portal groups
currentSpace - the current space
directoryProperties - the current directory properties
Returns:
the XML String for this mod
Throws:
ChannelException

renderXmlConfirmSubmitNewDocument

private static java.lang.StringBuffer renderXmlConfirmSubmitNewDocument(BufferAction buffer,
                                                                        Space currentSpace,
                                                                        DirectoryProperties directoryProperties)
                                                                 throws ChannelException
Generate the XML when we ask a submit confirmation of a new document

Parameters:
buffer - the buffer used for the clipboard
currentSpace - the current space
directoryProperties - the current directory properties
Returns:
the XML String for this mod
Throws:
ChannelException

renderXmlConfirmSubmitOldDocument

private static java.lang.StringBuffer renderXmlConfirmSubmitOldDocument(java.lang.String[] files,
                                                                        java.lang.String userPortalLogin,
                                                                        Space currentSpace)
                                                                 throws ChannelException
Generate the XML when we ask a submit confirmation of an existing document

Parameters:
files - the files we want to submit again
userPortalLogin - the user portal login
currentSpace - the current space
Returns:
the XML String for this mod
Throws:
ChannelException

submit

public static java.lang.StringBuffer submit(org.jasig.portal.ChannelRuntimeData runtimeData,
                                            java.lang.StringBuffer stylesheet,
                                            java.util.ArrayList spaces,
                                            java.util.ArrayList metadataToSet,
                                            java.lang.String userPortalLogin,
                                            java.util.Vector userGroups,
                                            Space currentSpace,
                                            DirectoryProperties directoryProperties,
                                            BufferAction buffer)
                                     throws ChannelException
Generate the XML String and submit the document

Parameters:
runtimeData - the runtime data channel object
stylesheet - the stylesheet we are about to use
spaces - the spaces list
metadataToSet - the metadata list we want to set
userPortalLogin - the user portal login
userGroups - the user portal groups
currentSpace - the current space
directoryProperties - the current directory properties
buffer - the buffer used for example for the clipboard
Returns:
the XML String for this mod
Throws:
ChannelException