|
boolean | itsMe (String id) |
|
boolean | myTurn (HttpServletRequest request) |
|
void | execute (ServletContext context, HttpServletRequest request, HttpServletResponse response) |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 38 of file UserCommand.java.
◆ createURL()
static String org.turro.elephant.menu.UserCommand.createURL |
( |
IUserAction |
userAction | ) |
|
|
static |
Definition at line 40 of file UserCommand.java.
41 if(userAction.isValid()) {
42 String exrino = Actions.createRightNowAction(
"idAction=" + userAction.getId());
43 return ElephantContext.getRootWebPath() +
static String getIdentifier()
◆ execute()
void org.turro.elephant.menu.UserCommand.execute |
( |
ServletContext |
context, |
|
|
HttpServletRequest |
request, |
|
|
HttpServletResponse |
response |
|
) |
| |
Implements org.turro.elephant.direct.IDirectContent.
Definition at line 65 of file UserCommand.java.
66 KeyValueMap map = Actions.getRightNowAction(ElephantContext.getConstructor(request, response));
67 String idAction = map.get(
"idAction");
68 if(!Strings.isBlank(idAction)) {
69 UserMenu.executeAction(idAction);
◆ getIdentifier()
static String org.turro.elephant.menu.UserCommand.getIdentifier |
( |
| ) |
|
|
static |
Definition at line 50 of file UserCommand.java.
51 return UserCommand.class.getAnnotation(DirectContent.class).identifier();
◆ itsMe()
boolean org.turro.elephant.menu.UserCommand.itsMe |
( |
String |
id | ) |
|
◆ myTurn()
boolean org.turro.elephant.menu.UserCommand.myTurn |
( |
HttpServletRequest |
request | ) |
|
The documentation for this class was generated from the following file: