Package io.jmix.ui.component.impl
Class DataLoadCoordinatorImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractFacet
io.jmix.ui.component.impl.DataLoadCoordinatorImpl
- All Implemented Interfaces:
 DataLoadCoordinator,Facet
- 
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.DataLoadCoordinator
DataLoadCoordinator.LikeClause, DataLoadCoordinator.Trigger - 
Field Summary
Fields inherited from class io.jmix.ui.component.impl.AbstractFacet
id, ownerFields inherited from interface io.jmix.ui.component.DataLoadCoordinator
DEFAULT_COMPONENT_PREFIX, DEFAULT_CONTAINER_PREFIX - 
Constructor Summary
ConstructorsConstructorDescriptionDataLoadCoordinatorImpl(UiControllerReflectionInspector reflectionInspector, QueryParamValuesManager queryParamValuesManager)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddOnComponentValueChangedLoadTrigger(DataLoader loader, Component component, String param, DataLoadCoordinator.LikeClause likeClause) Adds trigger on visual componentValueChangeEvent.voidaddOnContainerItemChangedLoadTrigger(DataLoader loader, InstanceContainer container, String param) Adds trigger on data containerItemChangeEvent.voidaddOnFrameOwnerEventLoadTrigger(DataLoader loader, Class eventClass) Adds trigger on screen/fragment event.voidConfigures triggers automatically relying upon parameter prefixes.Returns configured triggers.voidsetComponentPrefix(String value) Sets parameter prefix to denote a visual component.voidsetContainerPrefix(String value) Sets parameter prefix to denote a data container.voidMethods inherited from class io.jmix.ui.component.impl.AbstractFacet
getEventHub, getId, getOwner, hasSubscriptions, publish, setId, unsubscribe 
- 
Constructor Details
- 
DataLoadCoordinatorImpl
public DataLoadCoordinatorImpl(UiControllerReflectionInspector reflectionInspector, QueryParamValuesManager queryParamValuesManager)  
 - 
 - 
Method Details
- 
setOwner
Description copied from interface:Facet- Specified by:
 setOwnerin interfaceFacet- Overrides:
 setOwnerin classAbstractFacet- Parameters:
 owner- owner frame
 - 
setContainerPrefix
Description copied from interface:DataLoadCoordinatorSets parameter prefix to denote a data container.- Specified by:
 setContainerPrefixin interfaceDataLoadCoordinator
 - 
setComponentPrefix
Description copied from interface:DataLoadCoordinatorSets parameter prefix to denote a visual component.- Specified by:
 setComponentPrefixin interfaceDataLoadCoordinator
 - 
getTriggers
Description copied from interface:DataLoadCoordinatorReturns configured triggers.- Specified by:
 getTriggersin interfaceDataLoadCoordinator
 - 
addOnFrameOwnerEventLoadTrigger
Description copied from interface:DataLoadCoordinatorAdds trigger on screen/fragment event.- Specified by:
 addOnFrameOwnerEventLoadTriggerin interfaceDataLoadCoordinator- Parameters:
 loader- loadereventClass- event class
 - 
addOnContainerItemChangedLoadTrigger
public void addOnContainerItemChangedLoadTrigger(DataLoader loader, InstanceContainer container, @Nullable String param) Description copied from interface:DataLoadCoordinatorAdds trigger on data containerItemChangeEvent.- Specified by:
 addOnContainerItemChangedLoadTriggerin interfaceDataLoadCoordinator- Parameters:
 loader- loadercontainer- master data containerparam- loader parameter
 - 
addOnComponentValueChangedLoadTrigger
public void addOnComponentValueChangedLoadTrigger(DataLoader loader, Component component, @Nullable String param, DataLoadCoordinator.LikeClause likeClause) Description copied from interface:DataLoadCoordinatorAdds trigger on visual componentValueChangeEvent.- Specified by:
 addOnComponentValueChangedLoadTriggerin interfaceDataLoadCoordinator- Parameters:
 loader- loadercomponent- component which must implementHasValueparam- loader parameterlikeClause- whether the condition using the parameter is a LIKE clause
 - 
configureAutomatically
public void configureAutomatically()Description copied from interface:DataLoadCoordinatorConfigures triggers automatically relying upon parameter prefixes. All data containers that don't have a prefixed parameter in the query string, are configured to be triggered onBeforeShowEventorAttachEvent.- Specified by:
 configureAutomaticallyin interfaceDataLoadCoordinator
 
 -