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

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.web.action.MassPrintDirectoryAction
All Implemented Interfaces:
IDirectoryAction

public class MassPrintDirectoryAction
extends java.lang.Object
implements IDirectoryAction

Redirects to jsp/admin/plugins/directory/MassPrint.jsp


Constructor Summary
MassPrintDirectoryAction()
           
 
Method Summary
 void fillModel(javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.business.user.AdminUser adminUser, java.util.Map<java.lang.String,java.lang.Object> model)
          Fills the model to provide necessary data to fill the button template
 java.lang.String getButtonTemplate()
          Gets the template to display the action (typically a button - but also check box, select...)
 java.lang.String getName()
          The action name
 boolean isInvoked(javax.servlet.http.HttpServletRequest request)
          Returns true if the action is invoked, false otherwise.
 DirectoryActionResult process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, fr.paris.lutece.portal.business.user.AdminUser adminUser, DirectoryAdminSearchFields sessionFields)
          Redirects to JSP_DIRECTORY_MASS_PRINT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MassPrintDirectoryAction

public MassPrintDirectoryAction()
Method Detail

fillModel

public void fillModel(javax.servlet.http.HttpServletRequest request,
                      fr.paris.lutece.portal.business.user.AdminUser adminUser,
                      java.util.Map<java.lang.String,java.lang.Object> model)
Fills the model to provide necessary data to fill the button template

Specified by:
fillModel in interface IDirectoryAction
Parameters:
request - the request
adminUser - the admin user to filter features
model - the model

getButtonTemplate

public java.lang.String getButtonTemplate()
Gets the template to display the action (typically a button - but also check box, select...) Return an empty strict if no display is needed (for default directory actions : create, search...)

Specified by:
getButtonTemplate in interface IDirectoryAction
Returns:
the template

getName

public java.lang.String getName()
The action name

Specified by:
getName in interface IDirectoryAction
Returns:
the name

isInvoked

public boolean isInvoked(javax.servlet.http.HttpServletRequest request)
Description copied from interface: IDirectoryAction
Returns true if the action is invoked, false otherwise.
Uses one or several button names to detect if the action is called or note.

Specified by:
isInvoked in interface IDirectoryAction
Parameters:
request - the request
Returns:
true if the action is invoked, false otherwise.
See Also:
PARAMETER_BUTTON_MASS_PRINT_X

process

public DirectoryActionResult process(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     fr.paris.lutece.portal.business.user.AdminUser adminUser,
                                     DirectoryAdminSearchFields sessionFields)
                              throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Redirects to JSP_DIRECTORY_MASS_PRINT

Specified by:
process in interface IDirectoryAction
Parameters:
request - the request
response - the response
adminUser - the user
sessionFields - the session fields
Returns:
the action result
Throws:
fr.paris.lutece.portal.service.admin.AccessDeniedException - if the user can't access the feature


Copyright © 2011 Mairie de Paris. All Rights Reserved.