|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.data.LyObjectList
leon.data.LyWorkSpace
leon.data.LyClassWorkSpace
public class LyClassWorkSpace
This class implements a class workspace : workspace for objects belonging to a given class info and optionnally, matching a filter.
LyClassInfo
,
LyFilter
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyClassWorkSpace(LyDataSession session,
LyClassInfo classInfo,
boolean dynamic)
Constructs a class workspace within a given session for a class info. |
|
LyClassWorkSpace(LyDataSession session,
LyClassInfo classInfo,
LyFilter filter,
boolean dynamic)
Constructs a class workspace within a given session for a class info with specified filter applied to objects of this class. |
|
LyClassWorkSpace(LyDataSession session,
LyClassInfo classInfo,
LyFilter filter,
LySort sort,
boolean dynamic)
Constructs a class workspace within a given session for a class info with specified filter applied to objects of this class and sorted by the given sort. |
|
LyClassWorkSpace(LyDataSession session,
LyClassInfo classInfo,
LyFilter filter,
LySort sort,
boolean dynamic,
boolean sorted)
Internal constructor with all parameters for construction of a class workpace and an additionnal one that indicates if the workspace is loaded or not. |
|
LyClassWorkSpace(LyDataSession session,
LyClassInfo classInfo,
LyInfoList<LyFieldInfo> fieldInfos,
LyFilter filter,
LySort sort,
boolean dynamic,
boolean sorted)
Internal constructor with all parameters for construction of a class workpace and an additionnal one that indicates if the workspace is loaded or not. |
|
LyClassWorkSpace(LyDataSession session,
LyClassInfo classInfo,
LyInfoList<LyFieldInfo> fieldInfos,
LyFilter filter,
LySort sort,
boolean dynamic,
boolean sorted,
boolean local)
Internal constructor with all parameters for construction of a class workpace and an additionnal one that indicates if the workspace is loaded or not. |
Method Summary | |
---|---|
LyInfoList<LyClassInfo> |
getClasses()
Return the list of all class infos to which objects of this workspace belong. |
LyClassInfo |
getClassInfo()
Gets class info to which objects of this workspace belong. |
LyInfoList<LyFieldInfo> |
getFieldInfos()
Gets list of fieldinfos to load. |
LyFilter |
getFilter()
Gets the filter of this class workspace. |
LyObjectSource |
getObjectSource()
Gets object source from which objects of this workspace are loaded. |
boolean |
objectCreated(LyDataSourceEvent event)
Method for receiving an object creation. |
boolean |
objectModified(LyDataSourceEvent event)
Method for receiving an object modification. |
boolean |
objectStateChanged(LyAdvancedDataSourceEvent event)
Called when an object state is changed. |
boolean |
objectUserEvent(LyAdvancedDataSourceEvent event)
Method for receiving user event on an object. |
void |
reset()
Method for resetting this workspace. |
void |
setFieldInfos(LyInfoList<LyFieldInfo> fields)
Sets list of fieldinfos to load. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class leon.data.LyWorkSpace |
---|
addList, addListener, dataSourceEventsGrouped, free, getListener, getListenerCount, getSession, getSources, isDynamic, isLocal, lock, objectDeleted, removeListener, unlock |
Methods inherited from class leon.data.LyObjectList |
---|
contains, delete, delete, equals, equals, getIndex, getIntersection, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getList, getObject, getObject, getObject, getObjects, getSize, getSize, getSort, getSortedList, indexOf, intersects, isEmpty, isSorted, iterator, set, setSort, setSortByName, setSorted, toObjectIds |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyClassWorkSpace(LyDataSession session, LyClassInfo classInfo, boolean dynamic)
session
- Session in which the workspace is constructed.classInfo
- Class info to which objects of this workspace belong.dynamic
- Specifies if this workspace is dynamic or not.public LyClassWorkSpace(LyDataSession session, LyClassInfo classInfo, LyFilter filter, boolean dynamic)
session
- Session in which the workspace is constructed.classInfo
- Class info to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.dynamic
- Specifies if this workspace is dynamic or not.public LyClassWorkSpace(LyDataSession session, LyClassInfo classInfo, LyFilter filter, LySort sort, boolean dynamic)
session
- Session in which the workspace is constructed.classInfo
- Class info to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.public LyClassWorkSpace(LyDataSession session, LyClassInfo classInfo, LyFilter filter, LySort sort, boolean dynamic, boolean sorted)
session
- Session in which the workspace is constructed.classInfo
- Class info to which objects of this workspace belong.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.sorted
- Indicates if this workspace is sorted or not.public LyClassWorkSpace(LyDataSession session, LyClassInfo classInfo, LyInfoList<LyFieldInfo> fieldInfos, LyFilter filter, LySort sort, boolean dynamic, boolean sorted)
session
- Session in which the workspace is constructed.classInfo
- Class info to which objects of this workspace belong.fieldInfos
- List of the fieldinfos to load.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.sorted
- Indicates if this workspace must be sorted or not.public LyClassWorkSpace(LyDataSession session, LyClassInfo classInfo, LyInfoList<LyFieldInfo> fieldInfos, LyFilter filter, LySort sort, boolean dynamic, boolean sorted, boolean local)
session
- Session in which the workspace is constructed.classInfo
- Class info to which objects of this workspace belong.fieldInfos
- List of the fieldinfos to load.filter
- Filter applied to objects for being in this workspace.sort
- Sort requested in this workspace.dynamic
- Specifies if this workspace is dynamic or not.sorted
- Indicates if this workspace must be sorted or not.local
- Specifies if this workspace is local or not.Method Detail |
---|
public LyInfoList<LyClassInfo> getClasses()
getClasses
in class LyObjectList
public LyClassInfo getClassInfo()
public LyFilter getFilter()
public LyObjectSource getObjectSource()
public LyInfoList<LyFieldInfo> getFieldInfos()
public void reset()
reset
in class LyWorkSpace
public void setFieldInfos(LyInfoList<LyFieldInfo> fields)
fields
- An info list containing fields to load.public java.lang.String toString()
toString
in class LyObjectList
public boolean objectCreated(LyDataSourceEvent event)
objectCreated
in interface LyDataSourceListener
objectCreated
in class LyWorkSpace
event
- Event notifying the creation of an object.
public boolean objectModified(LyDataSourceEvent event)
objectModified
in interface LyDataSourceListener
objectModified
in class LyWorkSpace
event
- Event notifying the modification of an object.
public boolean objectStateChanged(LyAdvancedDataSourceEvent event)
objectStateChanged
in interface LyAdvancedDataSourceListener
objectStateChanged
in class LyWorkSpace
event
- Event notifying object state change.
public boolean objectUserEvent(LyAdvancedDataSourceEvent event)
objectUserEvent
in interface LyAdvancedDataSourceListener
objectUserEvent
in class LyWorkSpace
event
- Event notifying the user event of an object.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |