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 DataFileInvoker

java.lang.Object
  extended by oracle.stellent.wcm.client.invokers.SiteRequestInvoker<DataFileRequest>
      extended by oracle.stellent.wcm.client.invokers.impl.DataFileInvoker


public class DataFileInvoker
extends SiteRequestInvoker<DataFileRequest>

Nested Class Summary
 class DataFileInvoker.UrlEvaluator
          Evalute the expressions in the datafile

 

Constructor Summary
DataFileInvoker(RequestContext requestContext, ClientApplication clientApplication)
           
DataFileInvoker(RequestContext requestContext, ClientApplication clientApplication, java.lang.String varName)
           

 

Method Summary
protected  DataFileRequest createSiteRequest()
          Create a new site request object
 DataFile getDataFile()
           
 java.lang.String getVarName()
           
protected  void handleSiteResponse()
          Handle the response of the site request; by default uses a ResponseHandler to draw the output
protected  void setExpressionCallback(DataElement element)
          Update a managed data by setting the callback for executing the script expressions.
 void setVarName(java.lang.String varName)
          Set the variable name

 

Methods inherited from class oracle.stellent.wcm.client.invokers.SiteRequestInvoker
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

DataFileInvoker

public DataFileInvoker(RequestContext requestContext,
                       ClientApplication clientApplication)
                throws ApplicationException
Throws:
ApplicationException

DataFileInvoker

public DataFileInvoker(RequestContext requestContext,
                       ClientApplication clientApplication,
                       java.lang.String varName)
                throws ApplicationException
Throws:
ApplicationException

Method Detail

setVarName

public void setVarName(java.lang.String varName)
Set the variable name
Parameters:
varName - the var name

getDataFile

public DataFile getDataFile()
Returns:
the data file available after invoking the request

getVarName

public java.lang.String getVarName()
Returns:
name of the variable to expose the data file

createSiteRequest

protected DataFileRequest createSiteRequest()
Create a new site request object
Overrides:
createSiteRequest in class SiteRequestInvoker<DataFileRequest>
Returns:
the site request

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<DataFileRequest>
Throws:
ApplicationException
java.io.IOException

setExpressionCallback

protected void setExpressionCallback(DataElement element)
Update a managed data by setting the callback for executing the script expressions.
Parameters:
element - the managed data from a data file

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.