IlsDynObject
JavaScript proxy
More...
#include <javascript/serverside.h>
|
String | typename |
| This property returns the name of the object type. It is the standard property of JavaScript.
|
|
IlsDynObject
JavaScript proxy
- Warning
- This class is a JavaScript class, not a C++ one.
- See also
IlsDynObject
(C++).
◆ afterInit()
void javascript::IlsDynObject::afterInit |
( |
IlsDynObject |
obj | ) |
|
This callback is called after initialization of the dynamic object obj. .
- Parameters
-
obj | the object that has just been initialized. |
- See also
IlsDynObject::afterInit()
(C++).
◆ beginEdition()
Boolean javascript::IlsDynObject::beginEdition |
( |
IlsDynObject |
obj, |
|
|
Int |
status |
|
) |
| |
Called when beginning edition.
This function is called by the corresponding C++ virtual member function IlsViewed::beginEdition()
on the dynamic object obj.
- Parameters
-
obj | the edited object. |
status | The status parameter has the following values:
- 1 = Creation
- 2 = Modification
- 3 = Deletion
|
- Returns
- If the callback returns false, the current transaction is rolled back.
◆ endEdition()
Boolean javascript::IlsDynObject::endEdition |
( |
IlsDynObject |
obj, |
|
|
Int |
status |
|
) |
| |
Called when beginning edition.
This function is called by the corresponding C++ virtual member function IlsViewed::endEdition()
on the dynamic object obj.
- Parameters
-
obj | the edited object. |
status | The status parameter has the following values:
- 1 = Creation
- 2 = Modification
- 3 = Deletion
|
- Returns
- If the callback returns false, the current transaction is rolled back.
◆ onCut()
Boolean javascript::IlsDynObject::onCut |
( |
IlsDynObject |
obj, |
|
|
Boolean |
ownrel, |
|
|
Boolean |
userel |
|
) |
| |
This callback is called when the dynamic object obj is cut.
- Parameters
-
obj | the object. |
ownrel | cut the ownership relation. |
userel | cut the use relations. |
- Returns
- If false, the object is not cut.