Public Member Functions | |
AbstractDirectContentCtrl (String tmplRoot) | |
String | createFormAction () |
String | createPOST (String values) |
String | getAjaxSubmitUrl (String containerId) |
String | getAjaxUrl (String containerId, String values) |
String | getAjaxUrl (String containerId, KeyValueMap values) |
String | getAjaxEvalUrl (KeyValueMap values) |
String | createRightNowURL (String values) |
String | createRightNowURL (KeyValueMap values) |
String | createLinkTo (String link, KeyValueMap values) |
String | createURL () |
String | createURL (IConstructor constructor, String values) |
String | createURL (IConstructor constructor, String values, int daysValid) |
String | createURL (IConstructor constructor, String values, int daysValid, boolean withDomain) |
String | createURL (IConstructor constructor, IContact recipe, String values, int daysValid, boolean withDomain) |
String | createURL (IConstructor constructor, IContact recipe, KeyValueMap values, int daysValid, boolean withDomain) |
void | setTemplate (String template) |
void | render (IConstructor constructor) |
String | parse (IConstructor constructor) |
boolean | itsMe (String id) |
boolean | myTurn (HttpServletRequest request) |
void | execute (ServletContext context, HttpServletRequest request, HttpServletResponse response) |
void | execute (IConstructor constructor) |
Protected Member Functions | |
String | getRedirContext (IConstructor constructor, boolean withDomain) |
ElephantMarker | getMarker (IConstructor constructor) |
ElephantMarker | getCleanMarkerFrom (IConstructor constructor) |
void | addContainerId (ElephantMarker marker, boolean container) |
String | getTmplRoot () |
String | getTemplate () |
void | writeMarkerToResponse (IConstructor constructor, KeyValueMap map) |
void | writeMarkerToResponse (IConstructor constructor, KeyValueMap map, Map extra) |
void | setNeedsUser (boolean needsUser) |
abstract String | getIdentifier () |
abstract void | prepareMarker (ElephantMarker marker) |
abstract void | prepareCleanMarker (ElephantMarker marker, KeyValueMap map) |
abstract void | doExecute (IConstructor constructor, KeyValueMap map) |
Protected Attributes | |
String | template = "full" |
Definition at line 44 of file AbstractDirectContentCtrl.java.
org.turro.elephant.direct.AbstractDirectContentCtrl.AbstractDirectContentCtrl | ( | String | tmplRoot | ) |
Definition at line 50 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 219 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createFormAction | ( | ) |
Definition at line 54 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createLinkTo | ( | String | link, |
KeyValueMap | values | ||
) |
Definition at line 133 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createPOST | ( | String | values | ) |
Definition at line 58 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createRightNowURL | ( | KeyValueMap | values | ) |
Definition at line 127 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createRightNowURL | ( | String | values | ) |
Definition at line 118 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createURL | ( | ) |
Definition at line 138 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createURL | ( | IConstructor | constructor, |
IContact | recipe, | ||
KeyValueMap | values, | ||
int | daysValid, | ||
boolean | withDomain | ||
) |
Definition at line 190 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createURL | ( | IConstructor | constructor, |
IContact | recipe, | ||
String | values, | ||
int | daysValid, | ||
boolean | withDomain | ||
) |
Definition at line 168 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createURL | ( | IConstructor | constructor, |
String | values | ||
) |
Definition at line 143 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createURL | ( | IConstructor | constructor, |
String | values, | ||
int | daysValid | ||
) |
Definition at line 147 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.createURL | ( | IConstructor | constructor, |
String | values, | ||
int | daysValid, | ||
boolean | withDomain | ||
) |
Definition at line 151 of file AbstractDirectContentCtrl.java.
|
abstractprotected |
Reimplemented in org.turro.user.activity.UserActivityContent, org.turro.message.MessageQueue, org.turro.elephant.cookies.CookieCtrl, org.turro.forum.www.ForumCtrl, org.turro.alliance.content.control.ProjectCtrl, org.turro.timetracker.TimeTrackerCtrl, org.turro.participation.ParticipationCtrl, org.turro.anonymous.AnonymousCtrl, org.turro.www.convocation.ConvocationCtrl, org.turro.contacts.zul.register.SignUpCtrl, and org.turro.contacts.profile.ProfileCtrl.
void org.turro.elephant.direct.AbstractDirectContentCtrl.execute | ( | IConstructor | constructor | ) |
Definition at line 294 of file AbstractDirectContentCtrl.java.
void org.turro.elephant.direct.AbstractDirectContentCtrl.execute | ( | ServletContext | context, |
HttpServletRequest | request, | ||
HttpServletResponse | response | ||
) |
Implements org.turro.elephant.direct.IDirectContent.
Definition at line 290 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.getAjaxEvalUrl | ( | KeyValueMap | values | ) |
Definition at line 112 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.getAjaxSubmitUrl | ( | String | containerId | ) |
FORM with id = 'form_containerId
'. Must have a hidden input with domid = containerId
, to resolve the container when is false while rendering and a hidden input with type
value, to differentiate the action to process. A container with id = containerId
must exist
containerId | identifier created when render container is true |
Definition at line 73 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.getAjaxUrl | ( | String | containerId, |
KeyValueMap | values | ||
) |
Ajax action with values passed in the URL. Includes domid = containerId
, to resolve the container when is false while rendering.
containerId | identifier created when render container is true |
values | Map values to encrypt |
Definition at line 105 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.getAjaxUrl | ( | String | containerId, |
String | values | ||
) |
Ajax action with values passed in the URL. Includes domid = containerId
, to resolve the container when is false while rendering.
containerId | identifier created when render container is true |
values | Values in format name=value separated by semicolon |
Definition at line 88 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 213 of file AbstractDirectContentCtrl.java.
|
abstractprotected |
Reimplemented in org.turro.user.activity.UserActivityContent, org.turro.message.MessageQueue, org.turro.elephant.cookies.CookieCtrl, org.turro.forum.www.ForumCtrl, org.turro.alliance.content.control.ProjectCtrl, org.turro.timetracker.TimeTrackerCtrl, org.turro.participation.ParticipationCtrl, org.turro.anonymous.AnonymousCtrl, org.turro.www.convocation.ConvocationCtrl, org.turro.contacts.zul.register.SignUpCtrl, and org.turro.contacts.profile.ProfileCtrl.
|
protected |
Reimplemented in org.turro.elephant.direct.AbstractDirectEntityCtrl.
Definition at line 207 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 199 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 230 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 226 of file AbstractDirectContentCtrl.java.
boolean org.turro.elephant.direct.AbstractDirectContentCtrl.itsMe | ( | String | id | ) |
Implements org.turro.elephant.direct.IDirectContent.
Definition at line 280 of file AbstractDirectContentCtrl.java.
boolean org.turro.elephant.direct.AbstractDirectContentCtrl.myTurn | ( | HttpServletRequest | request | ) |
Implements org.turro.elephant.direct.IDirectContent.
Definition at line 285 of file AbstractDirectContentCtrl.java.
String org.turro.elephant.direct.AbstractDirectContentCtrl.parse | ( | IConstructor | constructor | ) |
Definition at line 266 of file AbstractDirectContentCtrl.java.
|
abstractprotected |
Reimplemented in org.turro.user.activity.UserActivityContent, org.turro.message.MessageQueue, org.turro.forum.www.ForumCtrl, org.turro.alliance.content.control.ProjectCtrl, org.turro.participation.ParticipationCtrl, org.turro.anonymous.AnonymousCtrl, org.turro.contacts.zul.register.SignUpCtrl, org.turro.contacts.profile.ProfileCtrl, org.turro.elephant.cookies.CookieCtrl, org.turro.timetracker.TimeTrackerCtrl, and org.turro.www.convocation.ConvocationCtrl.
|
abstractprotected |
Reimplemented in org.turro.user.activity.UserActivityContent, org.turro.message.MessageQueue, org.turro.elephant.cookies.CookieCtrl, org.turro.forum.www.ForumCtrl, org.turro.alliance.content.control.ProjectCtrl, org.turro.timetracker.TimeTrackerCtrl, org.turro.participation.ParticipationCtrl, org.turro.anonymous.AnonymousCtrl, org.turro.www.convocation.ConvocationCtrl, org.turro.contacts.zul.register.SignUpCtrl, and org.turro.contacts.profile.ProfileCtrl.
void org.turro.elephant.direct.AbstractDirectContentCtrl.render | ( | IConstructor | constructor | ) |
Reimplemented in org.turro.timetracker.TimeTrackerCtrl.
Definition at line 260 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 252 of file AbstractDirectContentCtrl.java.
void org.turro.elephant.direct.AbstractDirectContentCtrl.setTemplate | ( | String | template | ) |
Definition at line 256 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 234 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 238 of file AbstractDirectContentCtrl.java.
|
protected |
Definition at line 48 of file AbstractDirectContentCtrl.java.