Implements the representations associated with each dynamic view in the server.
More...
#include <javascript/clientside.h>
Implements the representations associated with each dynamic view in the server.
- Warning
- This class is a JavaScript class, not a C++ one.
- See also
IlsRepresentation
(C++), IlsRpObject
(C++).
◆ addOrigin()
void javascript::IlsRepresentation::addOrigin |
( |
IlsRpObject |
origin | ) |
|
Adds the Server object associated with the representation object passed as the argument as a new origin to the view.
- Parameters
-
origin | object to add as origin |
◆ getComponent()
Returns the component associated with the representation.
- Returns
- the component associated with the representation.
◆ isInC2STransaction()
Boolean javascript::IlsRepresentation::isInC2STransaction |
( |
| ) |
|
Checks if there is a current transaction.
- Returns
- True if there is a current transaction.
◆ removeOrigin()
void javascript::IlsRepresentation::removeOrigin |
( |
IlsRpObject |
origin | ) |
|
Removes the Server object associated with the representation object passed as the argument from the list of origin of the view.
- Parameters
-
origin | object to remove from origins |
◆ setMainOrigin()
void javascript::IlsRepresentation::setMainOrigin |
( |
IlsRpObject |
newOrigin, |
|
|
Boolean |
keepOldOrigin |
|
) |
| |
Replaces the main origin of the corresponding dynamic view by the Server object associated with the representation object passed as the first argument.
- See also
IlsRepresentation::setMainOrigin()
(C++).
- Parameters
-
newOrigin | new origin |
keepOldOrigin | if true , the previous main origin is kept as a view origin. |