Implements the representations associated with each dynamic view in the server. More...
#include <javascript/clientside.h>
Public Member Functions | |
| void | addOrigin (IlsRpObject origin) |
| Adds the Server object associated with the representation object passed as the argument as a new origin to the view. More... | |
| void | beginC2STransaction () |
| Starts a transaction for the given representation. | |
| void | close () |
Closes the view by calling its C++ counterpart IlsRepresentation::close() with IlsTrue as its argument. | |
| void | commitC2STransaction () |
| Commits the current transaction. | |
| IlsMvComponent | getComponent () |
| Returns the component associated with the representation. More... | |
| Boolean | isInC2STransaction () |
| Checks if there is a current transaction. More... | |
| void | removeOrigin (IlsRpObject origin) |
| Removes the Server object associated with the representation object passed as the argument from the list of origin of the view. More... | |
| void | rollbackC2STransaction () |
| Rolls back the current transaction. | |
| void | 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. More... | |
Implements the representations associated with each dynamic view in the server.
IlsRepresentation (C++), IlsRpObject (C++). | 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.
| origin | object to add as origin |
| IlsMvComponent javascript::IlsRepresentation::getComponent | ( | ) |
Returns the component associated with the representation.
| Boolean javascript::IlsRepresentation::isInC2STransaction | ( | ) |
Checks if there is a current transaction.
| 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.
| origin | object to remove from origins |
| 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.
IlsRepresentation::setMainOrigin() (C++).| newOrigin | new origin |
| keepOldOrigin | if true, the previous main origin is kept as a view origin. |
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.