fr.paris.lutece.plugins.directory.web.action
Class DirectoryActionResult

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.web.action.DirectoryActionResult

public class DirectoryActionResult
extends java.lang.Object

DirectoryActionResult


Constructor Summary
DirectoryActionResult()
           
 
Method Summary
 void doProcessAction(int nIdDirectory, int nIdAction, java.lang.String[] listIdsDirectoryRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, javax.servlet.http.HttpServletRequest request)
          Do process the workflow action
 java.lang.String doSaveTaskForm(int nIdDirectory, int nIdAction, java.lang.String[] listIdsDirectoryRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin, java.util.Locale locale, javax.servlet.http.HttpServletRequest request)
          Do save the task form
 void fillModel(java.util.Map<java.lang.String,java.lang.Object> model, java.util.List<IEntry> listEntries, fr.paris.lutece.portal.service.plugin.Plugin plugin, fr.paris.lutece.portal.business.user.AdminUser user, Directory directory)
          Fill the model with the success and fail records
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryActionResult

public DirectoryActionResult()
Method Detail

doProcessAction

public void doProcessAction(int nIdDirectory,
                            int nIdAction,
                            java.lang.String[] listIdsDirectoryRecord,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin,
                            java.util.Locale locale,
                            javax.servlet.http.HttpServletRequest request)
Do process the workflow action

Parameters:
nIdDirectory - the id directory
nIdAction - the id action
listIdsDirectoryRecord - the list of ids record to execute the action
plugin - the plugin
locale - the locale
request - the HTTP request

doSaveTaskForm

public java.lang.String doSaveTaskForm(int nIdDirectory,
                                       int nIdAction,
                                       java.lang.String[] listIdsDirectoryRecord,
                                       fr.paris.lutece.portal.service.plugin.Plugin plugin,
                                       java.util.Locale locale,
                                       javax.servlet.http.HttpServletRequest request)
Do save the task form

Parameters:
nIdDirectory - the id directory
nIdAction - the id action
listIdsDirectoryRecord - the list of id records
plugin - the plugin
locale - the locale
request - the HTTP request
Returns:
an error message if there is an error, null otherwise

fillModel

public void fillModel(java.util.Map<java.lang.String,java.lang.Object> model,
                      java.util.List<IEntry> listEntries,
                      fr.paris.lutece.portal.service.plugin.Plugin plugin,
                      fr.paris.lutece.portal.business.user.AdminUser user,
                      Directory directory)
Fill the model with the success and fail records

Parameters:
model - the model to fill
listEntries - the list of entries
plugin - the plugin
user - the current user
directory - the directory


Copyright © 2012 Mairie de Paris. All Rights Reserved.