Name |
Description |
static add
|
Example.add(name) takes an argument, Example name. The Example name can be explicit or checked for existence then retrieved with Example.getNames(). User must have create privileges. Example.add() creates a named Example object. |
static AutoLoad
|
Example.AutoLoad() takes no arguments. |
static cancel
|
Example.cancel() takes no arguments. User must have cancel privileges. This standard function removes any pending edits on the object. Used with Example.get(name). |
static CheckUpdate
|
CheckUpdate() takes no arguments. This action determines whether updates to example scripts are available. |
static ClearAutoLoaded
|
Example.ClearAutoLoaded() takes no arguments. |
static close
|
Example.close() takes no arguments. |
static connect
|
Example.connect() takes no arguments. |
static create
|
Example.create() takes no arguments. |
static delete
|
Example.delete() takes no arguments. |
static ExclusiveConnect
|
Example.ExclusiveConnect() takes no arguments. |
static exists
|
Example.exists() takes no arguments. |
static get
|
Example.get(name) takes an argument, name. This standard function gets and returns the named Example object. If the object name exists, it returns the object name. If the object name does not exist, it throws an exception. |
static getCount
|
Example.getCount() takes no arguments. This standard function gets the number of defined Example resources. |
static getFetchLevel
|
Example.getFetchLevel() takes no arguments. |
static getList
|
Example.getList() takes no arguments. This standard function gets and returns an arrary (list) of Example resources. |
static getLog
|
Example.getLog() takes no arguments. |
static getLogCalendar
|
Example.getLogCalendar() takes no arguments. |
static getNames
|
Example.getNames() takes no arguments. It gets and returns an array of strings object with the Example names. |
static getRange
|
Example.getRange() takes no arguments. |
static getUsage
|
Example.getUsage() takes no arguments. |
static Instructions
|
Instructions() takes no arguments. It opens the instructions for a specified CWScript example. |
static isConnected
|
Example.isConnected() takes no arguments. |
static isNew
|
isNew() takes no arguments and returns a boolean value. This standard function checks for object existence, to create or update when save is called. The function returns true if the object does not exist on the server and will create one when save() is called. It returns false if the object exists and will update the object when save() is called. |
static LibUpdate
|
Example.LibUpdate() takes 2 arguments. |
static Load
|
Load() takes no arguments. It loads a specifiec CWScript example into a ConsoleWorks function. |
static log
|
Example.log() takes no arguments. |
static logScannable
|
Example.logScannable() takes no arguments. |
static monitor
|
Example.monitor() takes no arguments. |
static PreLoad
|
PreLoad() takes no arguments. It prepares a CWScript example for loading into a specified CWScript example. |
static Publish
|
Publish() takes no arguments. This action publishes uploaded CWSript example files to the ConsoleWorks serer. Used with Example.get(name). |
static read
|
Example.read() takes no arguments. |
static Reference
|
Reference() takes no arguments. This action allows access to the Reference data. Used with Example.get(name). |
static refresh
|
Example.refresh() takes no arguments. |
static Rename
|
Rename(newname) takes one argument, the new name of the Example object. User must have rename and Example privileges. Used with Example.getName(name). |
static save
|
save() takes no arguments. User must have save privileges. This standard function saves to the server a Example object and the appropriate logs. This includes any pending edits made on the object. save() throws an exception if validation or save fails. |
static setFetchLevel
|
Example.setFetchLevel() takes no arguments. |
static Unlink
|
Unlink() takes no arguments. It removes the link to a specifiec CWScript example. |
static update
|
Example.update() takes no arguments. |
static write
|
Example.write() takes no arguments. |