|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.tacos.ajax.impl.AjaxDirectServiceImpl
Implementation of AjaxDirectService
.
Field Summary | |
protected static Random |
rand
Random number generator |
static String |
SERVICE_NAME
Global service name |
static String |
UPDATE_BLOCKS
List of blocks to update |
static String |
UPDATE_COMPONENTS
List of components to update |
static String |
UPDATE_DIRECT
Whether or not to update components directly |
Constructor Summary | |
AjaxDirectServiceImpl()
|
Method Summary | |
AjaxWebRequest |
getAjaxRequest()
Returns an instance of the AjaxWebRequest bound to the current request thread. |
ILink |
getLink(IRequestCycle cycle,
boolean post,
Object parameter)
|
String |
getName()
|
void |
service(IRequestCycle cycle)
|
void |
setAjaxRequest(AjaxWebRequest ajaxRequest)
Injected ajax request. |
void |
setDelegateFactory(ResponseDelegateFactory delegateFactory)
Injected delegate for creating responses |
void |
setLinkFactory(LinkFactory linkFactory)
Injected link factory |
void |
setRequest(WebRequest request)
Injected request |
void |
setResponseRenderer(ResponseRenderer responseRenderer)
Injected response renderer. |
void |
setWebResponse(WebResponse webResponse)
Injected response. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String SERVICE_NAME
public static final String UPDATE_COMPONENTS
public static final String UPDATE_BLOCKS
public static final String UPDATE_DIRECT
protected static final Random rand
Constructor Detail |
public AjaxDirectServiceImpl()
Method Detail |
public String getName()
getName
in interface IEngineService
public ILink getLink(IRequestCycle cycle, boolean post, Object parameter)
getLink
in interface IEngineService
public void service(IRequestCycle cycle) throws IOException
service
in interface IEngineService
IOException
public void setAjaxRequest(AjaxWebRequest ajaxRequest)
ajaxRequest
- public AjaxWebRequest getAjaxRequest()
getAjaxRequest
in interface AjaxDirectService
public void setWebResponse(WebResponse webResponse)
webResponse
- public void setResponseRenderer(ResponseRenderer responseRenderer)
responseRenderer
- public void setLinkFactory(LinkFactory linkFactory)
linkFactory
- public void setRequest(WebRequest request)
request
- public void setDelegateFactory(ResponseDelegateFactory delegateFactory)
delegateFactory
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |