|
||||||||||
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,
java.util.Map<java.lang.String,java.lang.Object> model,
java.lang.Class<A> pluginActionClass,
java.lang.String strMark)
Fills the model with all actions and adds the list to the given marker |
|
static
|
getListPluginAction(java.lang.Class<A> pluginActionClass)
Gets the list of IDirectoryAction |
|
static
|
getPluginAction(javax.servlet.http.HttpServletRequest request,
java.lang.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<?>> java.util.List<A> getListPluginAction(java.lang.Class<A> pluginActionClass)
IDirectoryAction
public static <A extends IPluginAction<?>> A getPluginAction(javax.servlet.http.HttpServletRequest request, java.lang.Class<A> pluginActionClass)
IPluginAction
for the request.
request
- the request
IPluginAction
, null
otherwise.IPluginAction.isInvoked(HttpServletRequest)
public static <A extends IPluginAction<?>> void fillModel(javax.servlet.http.HttpServletRequest request, AdminUser adminUser, java.util.Map<java.lang.String,java.lang.Object> model, java.lang.Class<A> pluginActionClass, java.lang.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 |