Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Public Member Functions
javascript::IlsSwServerDataSource Class Reference

IlsSwServerDataSource JavaScript proxy. More...

#include <javascript/clientside.h>

Public Member Functions

String getViewName ()
 Returns the view name associated with the Server data source. More...
 
Boolean isOpened ()
 Returns true if the view has already been opened using this Server data source (that is, if an IlsSwRepresentation is associated with this Server data source). More...
 
void openViewCallback ()
 This callback is automatically invoked by the library when the view is opened in the component. More...
 

Detailed Description

IlsSwServerDataSource JavaScript proxy.

Warning
This class is a JavaScript class, not a C++ one.
See also
IlsSwGetNamedDs (JavaScript), IlsSwServerDataSource (C++).

Member Function Documentation

◆ getViewName()

String javascript::IlsSwServerDataSource::getViewName ( )

Returns the view name associated with the Server data source.

Returns
the view name associated with the Server data source.

◆ isOpened()

Boolean javascript::IlsSwServerDataSource::isOpened ( )

Returns true if the view has already been opened using this Server data source (that is, if an IlsSwRepresentation is associated with this Server data source).

This method may return false even if the view has been opened but the creation notification has not been processed in the component.

Returns
true if the view has been opened.

◆ openViewCallback()

void javascript::IlsSwServerDataSource::openViewCallback ( )

This callback is automatically invoked by the library when the view is opened in the component.

This callback is triggered when all the representation objects associated with this view are created in the component. It is called at the end of the first notification transaction.