|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.web.pluginaction.PluginActionManager
public final class PluginActionManager
PluginActionManager.
getPluginAction(HttpServletRequest, Class) to find the invoked action
fillModel(HttpServletRequest, AdminUser, Map, Class, String) to fill you model
getListPluginAction(Class),
getPluginAction(HttpServletRequest, Class),
fillModel(HttpServletRequest, AdminUser, Map, Class, String)| Method Summary | ||
|---|---|---|
static
|
fillModel(javax.servlet.http.HttpServletRequest request,
AdminUser adminUser,
Map<String,Object> model,
Class<A> pluginActionClass,
String strMark)
Fills the model with all actions and adds the list to the given marker |
|
static
|
getListPluginAction(Class<A> pluginActionClass)
Gets the list of IDirectoryAction. |
|
static
|
getPluginAction(javax.servlet.http.HttpServletRequest request,
Class<A> pluginActionClass)
Gets the IPluginAction for the request. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <A extends IPluginAction<?>> List<A> getListPluginAction(Class<A> pluginActionClass)
IDirectoryAction.
A - the generic typepluginActionClass - the plugin action class
public static <A extends IPluginAction<?>> A getPluginAction(javax.servlet.http.HttpServletRequest request,
Class<A> pluginActionClass)
IPluginAction for the request.
A - the generic typerequest - the requestpluginActionClass - the plugin action class
IPluginAction, null otherwise.IPluginAction.isInvoked(HttpServletRequest)
public static <A extends IPluginAction<?>> void fillModel(javax.servlet.http.HttpServletRequest request,
AdminUser adminUser,
Map<String,Object> model,
Class<A> pluginActionClass,
String strMark)
A - the action type (usually the interface)request - the requestadminUser - the admin usermodel - the modelpluginActionClass - the action class (usually the interface)strMark - the marker to put for the actions list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||