|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDirectoryAction
A directory action.
fillModel(HttpServletRequest, AdminUser, Map) is called by DirectoryJspBean to add additionnal data in the main model
getButtonTemplate() is used in manage directory record template to display buttons.
isInvoked(HttpServletRequest) is used by DirectoryJspBean to detect the invoked action.
process(HttpServletRequest, HttpServletResponse, AdminUser, DirectoryAdminSearchFields) is called by DirectoryJspBean.
The DirectoryActionResult may contain html content or a redirect url or a noop.
getName() is mainly for debbuging purpose
| 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)
Processes the request |
| Method Detail |
|---|
boolean isInvoked(javax.servlet.http.HttpServletRequest request)
true if the action is invoked, false otherwise.
request - the request
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)
throws fr.paris.lutece.portal.service.admin.AccessDeniedException
request - the requestresponse - the responseadminUser - the usersessionFields - the session fields
fr.paris.lutece.portal.service.admin.AccessDeniedException - if the user can't access the feature
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)
request - the requestadminUser - the admin user to filter featuresmodel - the modeljava.lang.String getButtonTemplate()
java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||