Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


oracle.stellent.wcm.client.invokers.impl
Class VarInvoker<T extends SiteRequest>

java.lang.Object
  extended by oracle.stellent.wcm.client.invokers.RequestInvoker<T>
      extended by oracle.stellent.wcm.client.invokers.impl.VarInvoker<T>

Direct Known Subclasses:
DynamicListInvoker, IdcServiceInvoker, MetadataInvoker, UrlInvoker

public abstract class VarInvoker<T extends SiteRequest>
extends RequestInvoker<T>

Handles invocations that expose attributes into the RequestContext


Field Summary

 

Fields inherited from class oracle.stellent.wcm.client.invokers.RequestInvoker
m_log

 

Constructor Summary
VarInvoker(RequestContext requestContext, ClientApplication clientApplication, java.lang.Class<T> type)
           

 

Method Summary
 java.lang.String getVarName()
           
abstract  java.lang.Object getVarObject()
           
protected  void handleResponse()
          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.RequestInvoker
createSiteRequest, finishRequest, getClientApplication, getRequestContext, getResponseHandler, getSiteContext, getSiteRequest, getSiteResponse, getType, invokeRequest, isPropagateResponseErrors, setPropagateResponseErrors, setResponseHandler

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

VarInvoker

public VarInvoker(RequestContext requestContext,
                  ClientApplication clientApplication,
                  java.lang.Class<T> type)
           throws ApplicationException
Throws:
ApplicationException

Method Detail

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

handleResponse

protected void handleResponse()
                       throws ApplicationException,
                              java.io.IOException
Handle the response of the site request; by default uses a ResponseHandler to draw the output
Overrides:
handleResponse in class RequestInvoker<T extends SiteRequest>
Throws:
ApplicationException
java.io.IOException

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.