Skip navigation links
oracle.stellent.wcm.client.invokers.impl
Class DataFileInvoker
java.lang.Object
oracle.stellent.wcm.client.invokers.RequestInvoker<DataFileRequest>
oracle.stellent.wcm.client.invokers.impl.DataFileInvoker
-
public class DataFileInvoker
- extends RequestInvoker<DataFileRequest>
Methods inherited from class oracle.stellent.wcm.client.invokers.RequestInvoker |
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 |
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
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 RequestInvoker<DataFileRequest>
-
- Returns:
- the site request
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<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
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.