Package de.elo.ix.client
Class ExecuteScriptParams
java.lang.Object
de.elo.ix.client.ExecuteScriptParams
- All Implemented Interfaces:
Serializable
This class is used to specify which script has to be executed in function executeScript. The
script has to be an ELO Windows CLIENT OLE-Automation script.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Call this function in the script code.protected String[]
Function parameters.protected FileData
This object contains the script code to be executed as a byte array.protected String
This value defines the scripting engine to be used to execute the script.protected String
If the script to be executed is available in the ELO archive, this member can specify the object ID (or ARCPATH: - see checkoutSord) of the script document.protected String
This object contains the script code to be executed as a string object. -
Constructor Summary
ConstructorsConstructorDescriptionConstructorCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionString[]
void
setFunctionName
(String functionName) void
setFunctionParams
(String[] functionParams) void
setScriptCode
(FileData scriptCode) void
setScriptEngine
(String scriptEngine) void
setScriptObjId
(String scriptObjId) void
setScriptString
(String scriptString) toString()
-
Field Details
-
scriptEngine
This value defines the scripting engine to be used to execute the script. Currently, this value must be null or empty or "EloixAuto". If the value is null or empty, EloixAuto is used by default. -
scriptCode
This object contains the script code to be executed as a byte array. The FileData.contentType is either "text/javascript" or "text/vbscript". FileData.data has to be encoded in UTF-8. The scriptCode.data length must be less or equal than 65535. If this member is set, the members scriptString and scriptObjId should be null.- See Also:
-
scriptString
This object contains the script code to be executed as a string object. The string must either start with "javascript:" or "vbscript:". The maximum scriptString length is 65535 UTF-8 characters. If this member is set, the members scriptCode and scriptObjId should be null. -
scriptObjId
If the script to be executed is available in the ELO archive, this member can specify the object ID (or ARCPATH: - see checkoutSord) of the script document. The file is assumed to be encoded in characterset ISO-8859-1, if it does not start with a BOM. If this member is set, the members scriptCode and scriptString should be null. -
functionName
Call this function in the script code. A function defined in script code that was supplied in a previsious call can be invoked too, as long as this object does not specify scriptCode, scriptString or scriptObjId. -
functionParams
Function parameters.
-
-
Constructor Details
-
ExecuteScriptParams
public ExecuteScriptParams()Constructor -
ExecuteScriptParams
Copy constructor- Parameters:
rhs
- Object to copy from.
-
-
Method Details