Skip navigation links

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

E17273-03


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

java.lang.Object
  extended by oracle.stellent.wcm.client.invokers.SiteRequestInvoker<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 SiteRequestInvoker<T>

Handles invocations that expose attributes into the RequestContext


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 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

 

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

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:
handleSiteResponse in class SiteRequestInvoker<T extends SiteRequest>
Throws:
ApplicationException
java.io.IOException

Skip navigation links

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

E17273-03


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