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

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

public class SearchRecordDirectoryAction
extends java.lang.Object
implements IDirectoryAction

Directory record search


Constructor Summary
SearchRecordDirectoryAction()
           
 
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()
          Returns an empty string - nothing to print
 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 searchFields)
          Processes the request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRecordDirectoryAction

public SearchRecordDirectoryAction()
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()
Returns an empty string - nothing to print

Specified by:
getButtonTemplate in interface IDirectoryAction
Returns:
the template

getName

public java.lang.String getName()
Description copied from interface: IDirectoryAction
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_SEARCH

process

public DirectoryActionResult process(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     fr.paris.lutece.portal.business.user.AdminUser adminUser,
                                     DirectoryAdminSearchFields searchFields)
                              throws fr.paris.lutece.portal.service.admin.AccessDeniedException
Processes the request

Specified by:
process in interface IDirectoryAction
Parameters:
request - the request
response - the response
adminUser - the user
searchFields - 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.