|
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.daemon.LyDaemon
leon.data.daemon.LyFieldInfoDaemon
leon.data.daemon.LyRelationDaemon
leon.data.daemon.LyJoinRelationDaemon
public class LyJoinRelationDaemon
Daemon that handles multiple relations managed with join elements.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
static int |
OPTIM_REQUEST_LIMIT
Limit for optimizing request to find targets. |
Constructor Summary | |
---|---|
LyJoinRelationDaemon(LyClassInfo sourceClass,
LyRelationFieldInfo relation,
LyClassInfo joinClass,
LyRelationFieldInfo sourceRelation,
LyRelationFieldInfo targetRelation)
Default constructor. |
Method Summary | |
---|---|
void |
freeValue(LyObject object)
To free a calculated value for the specified object. |
LyObjectList |
getJoins(LyObject source)
Get the join objects associated to the given object |
boolean |
objectCreated(LyDataSourceEvent event)
Method for object creation callback. |
boolean |
objectDeleted(LyDataSourceEvent event)
Method for object deletion callback. |
boolean |
objectModified(LyDataSourceEvent event)
Method for object modification callback. |
void |
unload()
Unload daemon. |
Methods inherited from class leon.data.daemon.LyRelationDaemon |
---|
getObjectList, getValue, idRehashed |
Methods inherited from class leon.data.daemon.LyFieldInfoDaemon |
---|
getFieldInfo |
Methods inherited from class leon.data.daemon.LyDaemon |
---|
getInfo, getSourceClass |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static int OPTIM_REQUEST_LIMIT
Constructor Detail |
---|
public LyJoinRelationDaemon(LyClassInfo sourceClass, LyRelationFieldInfo relation, LyClassInfo joinClass, LyRelationFieldInfo sourceRelation, LyRelationFieldInfo targetRelation)
sourceClass
- The source classrelation
- the relation handled by the daemonjoinClass
- the join classsourceRelation
- the source relation in the join classtargetRelation
- the target relation in the join classMethod Detail |
---|
public LyObjectList getJoins(LyObject source)
source
- the source object
public boolean objectCreated(LyDataSourceEvent event)
objectCreated
in interface LyDataSourceListener
objectCreated
in class LyRelationDaemon
event
- the datasource event
LyDataSourceListener.objectCreated(leon.data.LyDataSourceEvent)
public boolean objectDeleted(LyDataSourceEvent event)
objectDeleted
in interface LyDataSourceListener
objectDeleted
in class LyRelationDaemon
event
- the datasource event
LyDataSourceListener.objectDeleted(leon.data.LyDataSourceEvent)
public boolean objectModified(LyDataSourceEvent event)
objectModified
in interface LyDataSourceListener
objectModified
in class LyRelationDaemon
event
- the datasource event
LyDataSourceListener.objectModified(leon.data.LyDataSourceEvent)
public void freeValue(LyObject object)
freeValue
in class LyRelationDaemon
object
- the object we want to free the value.public void unload()
unload
in class LyRelationDaemon
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |