Skip navigation links 
 
oracle.stellent.wcm.client.invokers.impl
Class VarInvoker<T extends SiteRequest>
java.lang.Object
   oracle.stellent.wcm.client.invokers.SiteRequestInvoker<T>
oracle.stellent.wcm.client.invokers.SiteRequestInvoker<T>
       oracle.stellent.wcm.client.invokers.impl.VarInvoker<T>
oracle.stellent.wcm.client.invokers.impl.VarInvoker<T>
- Direct Known Subclasses:
- DynamicListInvoker, IdcServiceInvoker, MetadataInvoker, UrlInvoker
- 
public abstract class VarInvoker<T extends SiteRequest>
 
- extends SiteRequestInvoker<T>
Handles invocations that expose attributes into the RequestContext
 
  
 
| Method Summary | 
|  java.lang.String | getVarName()
 | 
| abstract  java.lang.Object | getVarObject()
 | 
| protected  void | handleSiteResponse()Handle the response of the site request; by default uses a ResponseHandler to draw the output
 | 
|  void | setVarName(java.lang.String varName)Set the variable name
 | 
 
| Methods inherited from class oracle.stellent.wcm.client.invokers.SiteRequestInvoker | 
| createSiteRequest, finishSiteRequest, getClientApplication, getRequestContext, getSiteContext, getSiteRequest, getSiteResponse, getSiteResponseHandler, invokeSiteRequest, setPropagateResponseErrors, setSiteResponseHandler | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
VarInvoker
public VarInvoker(RequestContext requestContext,
                  ClientApplication clientApplication,
                  java.lang.Class<T> type)
           throws ApplicationException
- 
- Throws:
- ApplicationException
 
setVarName
public void setVarName(java.lang.String varName)
- Set the variable name
- 
- Parameters:
- varName- the var name
 
getVarName
public java.lang.String getVarName()
- 
- Returns:
- name of the variable to expose the data file
 
getVarObject
public abstract java.lang.Object getVarObject()
                                       throws ApplicationException
- 
- Returns:
- the object to expose
- Throws:
- ApplicationException
 
handleSiteResponse
protected void handleSiteResponse()
                           throws ApplicationException,
                                  java.io.IOException
- Handle the response of the site request; by default uses a ResponseHandler to draw the output
- 
- Overrides:
- handleSiteResponsein class- SiteRequestInvoker<T extends SiteRequest>
 
- 
- Throws:
- ApplicationException
- java.io.IOException
 
Skip navigation links 
 
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.