ExpressionService

Namespace: PP.Ufe;

Inheritance hierarchy

Object

PPService

ExpressionService

Description

The ExpressionService class is used to work with a service of express report expressions.

Syntax

PP.initClass(PP.Ufe.ExpressionService, [PP.Mb.PPService, PP.Mb.PPSrvMixin], "PP.Ufe.ExpressionService");

Constructor

  Constructor name Brief description
ExpressionService The ExpressionService constructor creates an instance of the ExpressionService class.

Methods

  Method name Brief description
beginBatch The beginBatch method enables batch mode of sending queries.
endBatch The endBatch method disables batch mode of sending queries and sends a formed batch.
getIsBatchMode The getIsBatchMode method returns whether batch mode of sending queries is enabled.
getUfeFunctions The getUfeFunctions method returns a tree of functions for formula editor.
send The send method requests the service of formulas.
setExpression The setExpression method requests for adding terms for expression.

Events

  Event name Brief description
GetTerms The GetTerms event occurs after successful getting of terms added to formula.
GetTermsErr The GetTermsErr event occurs after getting of error terms added to formula.

Properties inherited from the class PPService

  Property name Brief description
PPServiceUrl The PPServiceUrl property sets URL of Web service requests handler.

Methods inherited from the class PPService

  Method name Brief description
addCallbackToLastRqt The addCallbackToLastRqt adds a handler to the last request in the queue.
beginSyncXHR The beginSyncXHR method enables the mode of synchronous requests for an instance of the PPService class.
clearRequests The clearRequests method clears the list of queued requests and removes the current request.
endSyncXHR The endSyncXHR method disables the mode of synchronous requests for an instance of the PPService class.
getCurrentRequest The getCurrentRequest method returns the current service request.
sendRequest The sendRequest method sends a request to web service.

Events inherited from the class PPService

  Event name Brief description
EndRequest The EndRequest event occurs on finishing the repository connection.
Error The Error event occurs if an error occurs during repository connection.
Executed The Executed event occurs after executing a request to server.
StartRequest The StartRequest event occurs when the system starts executing a request to repository.

Properties inherited from the class Object

  Property name Brief description
Data The Data property associates a random object with this component.
Id The Id property sets component identifier.
Settings The Settings property sets the component parameters.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

See also:

PP.Ufe