Package com.adbs.querybuilder
Class ControlOwner
java.lang.Object
com.adbs.querybuilder.ControlOwner
- All Implemented Interfaces:
- Disposable
- Direct Known Subclasses:
- CriteriaItem,- CriteriaList,- DataSourceBase,- Link,- QueryBase
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final List<ControlOwner>protected final QueryBuilderprotected final BaseSQLContext
- 
Constructor SummaryConstructorsConstructorDescriptionControlOwner(ControlOwner owner, ControlOwner updateParent, QueryBuilder queryBuilder) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAfterUpdatedEventListener(EventListener listener) voidaddDestroyingEventListener(EventListener listener) voidprotected ComponentcalcAcOwnerFromOwner(Component owner) booleanprotected voidcollectSubqueryProxiesByRootNode(List list, AstNode rootNode) protected ComponentcreateControlInternal(int i) voidprotected AstNodeprotected voidvoidvoiddispose()protected voidprotected voidprotected voidprotected voidvoidvoidvoidprotected voidprotected voidvoidgatherPrepareAndFixupContext(List cteList, List fromSourceList, boolean inclParentQueryFromSources) protected voidprotected voidintgetControl(int index) intgetOwner()protected AstNodegetResultSQL(SQLBuilder builder) protected intgetSubqueryCountByRootNode(AstNode rootNode) booleanprotected booleanbooleanprotected voidloadSubQueries(AstNode ast) protected booleanmakeVisible(int i) booleannotifyDatasourceDestroying(DataSource datasource) protected booleannotifyDatasourceDestroyingInternal(DataSource datasource) protected voidnotifyDatasourceReplaced(DataSource datasourceFrom, DataSource datasourceTo) protected voidnotifyDatasourceReplacedInternal(DataSource datasourceFrom, DataSource datasourceTo) voidvoidprotected voidregisterUpdateChild(ControlOwner child) voidremoveAfterUpdatedEventListener(EventListener listener) voidremoveDestroyingEventListener(EventListener listener) protected voidrestoreControlParams(int i) protected voidsaveControlParams(int i) protected voidsetDisposing(boolean value) voidsetOwner(ControlOwner owner) voidsetUpdateParent(ControlOwner value) protected voidshowSubQueriesPopup(Point pos, List subQueries) protected voidprotected voidupdateContolParams(int i) 
- 
Field Details- 
sqlContext
- 
children
- 
queryBuilder
- 
controls
 
- 
- 
Constructor Details- 
ControlOwner
 
- 
- 
Method Details- 
disposepublic void dispose()- Specified by:
- disposein interface- Disposable
 
- 
getOwner
- 
setOwner
- 
getQueryBuilder
- 
getSQLContext
- 
getChildrenCountpublic int getChildrenCount()
- 
isControlsCreatedpublic boolean isControlsCreated()
- 
getControlsCountpublic int getControlsCount()
- 
getUpdateParent
- 
setUpdateParent
- 
isUpdatingpublic boolean isUpdating()
- 
getResultASTInternal
- 
getResultAST
- 
isDisposingprotected boolean isDisposing()
- 
setDisposingprotected void setDisposing(boolean value) 
- 
getControl
- 
getResultSQL
- 
getResultSQL
- 
calcAcOwnerFromOwner
- 
destroyCachedResultASTsprotected void destroyCachedResultASTs()
- 
createResultAST
- 
canCreateControlspublic boolean canCreateControls()
- 
createControlInternal
- 
saveControlParamsprotected void saveControlParams(int i) 
- 
restoreControlParamsprotected void restoreControlParams(int i) 
- 
updateContolParamsprotected void updateContolParams(int i) 
- 
makeVisibleprotected boolean makeVisible(int i) 
- 
doCreateControlsprotected void doCreateControls()
- 
doDestroyControlsprotected void doDestroyControls()
- 
doUpdateContolParamspublic void doUpdateContolParams()
- 
registerUpdateChild
- 
unregisterUpdateChild
- 
doSQLUpdatedprotected void doSQLUpdated()
- 
doAfterUpdatedprotected void doAfterUpdated()
- 
loadSubQueries
- 
collectSubqueryProxiesByRootNode
- 
getSubqueryCountByRootNode
- 
showSubQueriesPopup
- 
getASTChildren
- 
getASTChildrenForSubtree
- 
notifyDatasourceDestroyingInternal
- 
notifyDatasourceDestroying
- 
notifyDatasourceReplacedInternal
- 
notifyDatasourceReplaced
- 
createControlspublic void createControls()
- 
destroyControlspublic void destroyControls()
- 
beginUpdatepublic void beginUpdate()
- 
endUpdatepublic void endUpdate()
- 
notifySQLUpdatedpublic void notifySQLUpdated()
- 
editProps
- 
getPopupMenu
- 
notifySQLUpdatedRecursivepublic void notifySQLUpdatedRecursive()
- 
gatherPrepareAndFixupContext
- 
addDestroyingEventListener
- 
removeDestroyingEventListener
- 
fireDestroyingEvent
- 
addAfterUpdatedEventListener
- 
removeAfterUpdatedEventListener
- 
fireAfterUpdatedEvent
- 
getVisibleDataSources
 
-