LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer.util
Class LyTableDataProvider

java.lang.Object
  extended by leon.peer.LyDataProvider
      extended by leon.peer.LyPeerDataProvider
          extended by leon.peer.util.LyTableDataProvider
Direct Known Subclasses:
LyFileDataProvider, LySqlDataProvider, LyXmlDataProvider, W4BpmDataProvider

public abstract class LyTableDataProvider
extends LyPeerDataProvider

This is an abstract class that must be specialized.

This data provider is based on leon.peer.util classes which are used by several data providers such as File, XML and SQL data providers.

It may also be used as the basis of specific data providers which need a LyClass and LyField implementation and use generic code to store data in memory.

The implementation (subclass) must implement the createConnection() and getRequestEncoder() methods which are specific to the nature of their connector.

See Also:
LyTableClass, LyColumnField, LyRowObject

Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LyTableDataProvider(LyApplication application, LyLocation location)
          Constructor This constructor is used by introspection mechanisms in the generic code.
LyTableDataProvider(LyApplication application, java.lang.String id)
          Deprecated. should use LyTableDataProvider(LyApplication application, LyLocation location) instead of this constructor.
 
Method Summary
 
Methods inherited from class leon.peer.LyPeerDataProvider
getPeerClass, invalidate, load, resetPeerClasses, validate, validate, validateNotifier
 
Methods inherited from class leon.peer.LyDataProvider
canBeFullyLoaded, close, dumpConnections, getApplication, getConnection, getEnvironment, getEventNotifier, getId, getLocation, getNbAvailableConnection, getNbConnection, getRequestEncoder, hasLostConnection, isConnectionReady, isModified, isModified, isNotifierReady, isXASupported, releaseConnection, save, setEventNotifier, setLocation, setModified, setNbConnection, sleep, validate, wakeUp
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyTableDataProvider

public LyTableDataProvider(LyApplication application,
                           LyLocation location)
Constructor This constructor is used by introspection mechanisms in the generic code.

Parameters:
application - reference to the application instance.
location - reference to the location information retreived from the data description in the meta model.

LyTableDataProvider

public LyTableDataProvider(LyApplication application,
                           java.lang.String id)
Deprecated. should use LyTableDataProvider(LyApplication application, LyLocation location) instead of this constructor.

Constructor This constructor is used by introspection mechanisms in the generic code.

Parameters:
application - reference to the application instance.
id - identifier of this provider

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com