fr.paris.lutece.plugins.workflow.modules.archive.service
Class TaskArchive

java.lang.Object
  extended by fr.paris.lutece.plugins.workflowcore.service.task.Task
      extended by fr.paris.lutece.plugins.workflow.modules.archive.service.TaskArchive
All Implemented Interfaces:
fr.paris.lutece.plugins.workflowcore.service.task.ITask

public class TaskArchive
extends fr.paris.lutece.plugins.workflowcore.service.task.Task

Workflow task to generate an archive of a directory record. This task also set a download url of the archive in an entry of the record.


Field Summary
static String CONSTANT_EQUAL
           
static String CONSTANT_ESPERLUETTE
           
static String CONSTANT_QUESTION_MARK
           
static String CONSTANT_SLASH
           
static String CONSTANT_UNDERSCORE
           
static String EXTENSION_FILE_PDF
           
static String EXTENSION_FILE_ZIP
           
 
Constructor Summary
TaskArchive()
           
 
Method Summary
 void doRemoveConfig()
          
 void doRemoveTaskInformation(int nIdHistory)
          
 Map<String,String> getTaskFormEntries(Locale locale)
          
 String getTitle(Locale locale)
          
 void init()
          
 void processTask(int nIdResourceHistory, javax.servlet.http.HttpServletRequest request, Locale locale)
          
 void setAuthenticator(fr.paris.lutece.util.signrequest.AbstractAuthenticator authenticator)
          Set the authenticator
 
Methods inherited from class fr.paris.lutece.plugins.workflowcore.service.task.Task
getAction, getId, getOrder, getTaskType, setAction, setId, setOrder, setTaskType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTENSION_FILE_ZIP

public static final String EXTENSION_FILE_ZIP
See Also:
Constant Field Values

EXTENSION_FILE_PDF

public static final String EXTENSION_FILE_PDF
See Also:
Constant Field Values

CONSTANT_SLASH

public static final String CONSTANT_SLASH
See Also:
Constant Field Values

CONSTANT_UNDERSCORE

public static final String CONSTANT_UNDERSCORE
See Also:
Constant Field Values

CONSTANT_QUESTION_MARK

public static final String CONSTANT_QUESTION_MARK
See Also:
Constant Field Values

CONSTANT_ESPERLUETTE

public static final String CONSTANT_ESPERLUETTE
See Also:
Constant Field Values

CONSTANT_EQUAL

public static final String CONSTANT_EQUAL
See Also:
Constant Field Values
Constructor Detail

TaskArchive

public TaskArchive()
Method Detail

setAuthenticator

public void setAuthenticator(fr.paris.lutece.util.signrequest.AbstractAuthenticator authenticator)
Set the authenticator

Parameters:
authenticator - The authenticator

doRemoveConfig

public void doRemoveConfig()


doRemoveTaskInformation

public void doRemoveTaskInformation(int nIdHistory)


getTaskFormEntries

public Map<String,String> getTaskFormEntries(Locale locale)


getTitle

public String getTitle(Locale locale)


init

public void init()


processTask

public void processTask(int nIdResourceHistory,
                        javax.servlet.http.HttpServletRequest request,
                        Locale locale)



Copyright © 2013 Mairie de Paris. All Rights Reserved.