public class ScriptUtils extends ItemUtils
RestHandler.AuthDataPREDEFINED_PATHCOOKIENAME, PASSWORD, USERNAME| Constructor and Description |
|---|
ScriptUtils() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
executeScript(javax.ws.rs.core.HttpHeaders headers,
org.cristalise.kernel.entity.proxy.ItemProxy item,
String scriptName,
Integer scriptVersion,
String inputJson,
Map<String,Object> additionalInputs) |
protected Object |
executeScript(org.cristalise.kernel.entity.proxy.ItemProxy item,
org.cristalise.kernel.scripting.Script script,
org.cristalise.kernel.utils.CastorHashMap inputs) |
javax.ws.rs.core.Response |
returnScriptResult(String scriptName,
org.cristalise.kernel.entity.proxy.ItemProxy item,
org.cristalise.kernel.persistency.outcome.Schema schema,
org.cristalise.kernel.scripting.Script script,
org.cristalise.kernel.utils.CastorHashMap inputs,
boolean jsonFlag) |
protected javax.ws.rs.core.Response |
runScript(String scriptName,
org.cristalise.kernel.entity.proxy.ItemProxy item,
org.cristalise.kernel.persistency.outcome.Schema schema,
org.cristalise.kernel.scripting.Script script,
org.cristalise.kernel.utils.CastorHashMap inputs,
boolean jsonFlag) |
createWebAppException, createWebAppException, createWebAppException, enumerate, enumerate, executeJob, executePredefinedStep, getAllViewpoints, getItemName, getItemNames, getItemURI, getItemURI, getItemURI, getItemURI, getJobActivityData, getJobItemData, getJobOutcomeData, getJobTransitionData, getOutcome, getOutcomeResponse, getOutcomeResponse, getOutcomeResponse, getPropertySummary, getProxy, getViewpointOutcome, makeCollectionData, makeEventData, makeItemDomainPathsData, makeJobData, produceJSONcheckAuthCookie, encryptAuthData, getAgent, getAgent, getPagedResult, getPropertiesFromQParams, toJSONprotected Object executeScript(org.cristalise.kernel.entity.proxy.ItemProxy item, org.cristalise.kernel.scripting.Script script, org.cristalise.kernel.utils.CastorHashMap inputs) throws org.cristalise.kernel.scripting.ScriptingEngineException, org.cristalise.kernel.common.InvalidDataException
item - script - org.cristalise.kernel.scripting.ScriptingEngineExceptionorg.cristalise.kernel.common.InvalidDataExceptionpublic javax.ws.rs.core.Response executeScript(javax.ws.rs.core.HttpHeaders headers,
org.cristalise.kernel.entity.proxy.ItemProxy item,
String scriptName,
Integer scriptVersion,
String inputJson,
Map<String,Object> additionalInputs)
public javax.ws.rs.core.Response returnScriptResult(String scriptName, org.cristalise.kernel.entity.proxy.ItemProxy item, org.cristalise.kernel.persistency.outcome.Schema schema, org.cristalise.kernel.scripting.Script script, org.cristalise.kernel.utils.CastorHashMap inputs, boolean jsonFlag) throws org.cristalise.kernel.scripting.ScriptingEngineException, org.cristalise.kernel.common.InvalidDataException
org.cristalise.kernel.scripting.ScriptingEngineExceptionorg.cristalise.kernel.common.InvalidDataExceptionprotected javax.ws.rs.core.Response runScript(String scriptName, org.cristalise.kernel.entity.proxy.ItemProxy item, org.cristalise.kernel.persistency.outcome.Schema schema, org.cristalise.kernel.scripting.Script script, org.cristalise.kernel.utils.CastorHashMap inputs, boolean jsonFlag) throws org.cristalise.kernel.scripting.ScriptingEngineException, org.cristalise.kernel.common.InvalidDataException
scriptName - item - schema - script - jsonFlag - whether the response is a JSON or XMLorg.cristalise.kernel.scripting.ScriptingEngineExceptionorg.cristalise.kernel.common.InvalidDataExceptionCopyright © 2019 CRISTAL-iSE. All rights reserved.