LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Class LyTemporaryObjectSource

java.lang.Object
  extended by leon.data.LyDataSource
      extended by leon.data.LyObjectSource
          extended by leon.data.LyTemporaryObjectSource

public class LyTemporaryObjectSource
extends LyObjectSource

Constructor for a temporary object source : object source that can be freed.

See Also:
LyObjectSource

Field Summary
static java.lang.String __VERSION
          File version
 
Fields inherited from class leon.data.LyObjectSource
GET_SIZE_CACHE_DELAY
 
Constructor Summary
LyTemporaryObjectSource(LyDataProvider provider, LyClassInfo classInfo)
          Constructs a temporary object source for a given class info.
 
Method Summary
 void free()
          Free this temporary object source.
 boolean isHandleErrorEvents()
          Accessor on error events handling Indicates if the error events should be sent by this temporary object source Temporary objectsource may load temporary objects like import that should not be kept in 'general errors' list.
 void setHandleErrorEvents(boolean status)
          Accessor on error events handling Indicates if the error events should be sent by this temporary object source Temporary objectsource may load temporary objects like import that should not be kept in 'general errors' list.
 
Methods inherited from class leon.data.LyObjectSource
addListener, addListener, addLoadedFieldInfos, areFieldsLoaded, createObject, createObject, createObject, createObject, deleteObject, deleteObject, deleteObject, deleteObject, deleteObjects, deleteObjects, deleteObjects, deleteObjects, deleteObjects, finalizeObject, getClassInfo, getListener, getObject, getObject, getObject, getObjectFromPeer, getObjects, getObjects, getObjects, getObjects, getPeerDataSource, getRealClassInfo, getSize, getSize, getSize, listenTo, load, loadObject, loadObject, loadObject, loadObject, loadObjects, loadObjects, loadObjects, notifyClassLoading, raiseError, receiveEvent, receiveResponse, recordId, rehash, reloadObject, reloadObject, reloadObject, removeError, removeListener, resetLoadedFieldInfos, setCache, setObject, setObject, setObject, setObject, setObjects, setObjects, setObjects, unload, validate
 
Methods inherited from class leon.data.LyDataSource
addListener, checkObject, checkObject, getApplication, getCache, getDataClass, getDataProvider, getLastModified, getObject, getSize, isReadOnly, isRollBack, isSynchronous, reloadObject, setIgnoreErrorOnLoad, setReadOnly, setRollBack, setSynchronous, unload
 
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
File version

See Also:
Constant Field Values
Constructor Detail

LyTemporaryObjectSource

public LyTemporaryObjectSource(LyDataProvider provider,
                               LyClassInfo classInfo)
Constructs a temporary object source for a given class info.

Parameters:
provider - Provider on which this data source is connected.
classInfo - Class info for which an object source is constructed.
Method Detail

free

public void free()
Free this temporary object source.

Overrides:
free in class LyObjectSource

setHandleErrorEvents

public void setHandleErrorEvents(boolean status)
Accessor on error events handling Indicates if the error events should be sent by this temporary object source Temporary objectsource may load temporary objects like import that should not be kept in 'general errors' list.

Parameters:
status - default error handling status is true

isHandleErrorEvents

public boolean isHandleErrorEvents()
Accessor on error events handling Indicates if the error events should be sent by this temporary object source Temporary objectsource may load temporary objects like import that should not be kept in 'general errors' list.

Returns:
status default error handling status is true

(c) January 2013 - W4 S.A.

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