|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sormula.active.operation.ActiveOperation<R,java.lang.Void> org.sormula.active.operation.ActiveLazySelector<R>
R
- record typepublic class ActiveLazySelector<R extends ActiveRecord<R>>
Performs lazy loading of active records. Used by ActiveRecord.checkLazySelects(String)
.
Constructor Summary | |
---|---|
ActiveLazySelector(ActiveTable<R> sourceActiveTable,
R sourceActiveRecord,
SelectCascadeAnnotationReader scar)
Constructs for the source and annotation reader. |
Method Summary | |
---|---|
java.lang.Void |
operate()
Invoked by ActiveOperation.execute() to perform the operation. |
Methods inherited from class org.sormula.active.operation.ActiveOperation |
---|
attach, attach, close, execute, getOperationDatabase, getTable, isLocalTransaction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActiveLazySelector(ActiveTable<R> sourceActiveTable, R sourceActiveRecord, SelectCascadeAnnotationReader scar)
sourceActiveTable
- parent table of 1-to-1 or 1-to-n relationship; active database is obtained from this tablesourceActiveRecord
- parent record that gets modified with selected child(ren)scar
- annotation reader for field within parent that has lazy cascade definedMethod Detail |
---|
public java.lang.Void operate() throws java.lang.Exception
ActiveOperation
ActiveOperation.execute()
to perform the operation. Subclasses must implement.
operate
in class ActiveOperation<R extends ActiveRecord<R>,java.lang.Void>
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |