Class AbstractBmRefresher
- java.lang.Object
- 
- com._1c.g5.aef2.standard.definitions.refresher.AbstractRefresher
- 
- com._1c.g5.v8.dt.aef2.bm.refresher.AbstractBmRefresher
 
 
- 
- All Implemented Interfaces:
- IRefresher
 
 public abstract class AbstractBmRefresher extends AbstractRefresher The BM refresher that triggers the refresh on BM change event.- See Also:
- IBmAsyncEventListener
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractBmRefresher(boolean forced, Object... objects)Creates a new refresher instance.
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddispose()Disposes the refresher instance.voidinitialize(IManagingComponent<?> component)Initializes the refresher by theIManagingComponent.protected abstract booleanneedRefresh(IBmModel model, IBmObject[] objects, IBmLongMap<BmChangeEvent> changeEvents)Returnstrueif refresh is needed for the specifiedevent.- 
Methods inherited from class com._1c.g5.aef2.standard.definitions.refresher.AbstractRefreshergetComponent, refresh
 
- 
 
- 
- 
- 
Constructor Detail- 
AbstractBmRefresherpublic AbstractBmRefresher(boolean forced, Object... objects)Creates a new refresher instance.- Parameters:
- forced- the flag indicating whether use forced refresh or not.
- objects- the objects, cannot be- null.
 
 
- 
 - 
Method Detail- 
initializepublic void initialize(IManagingComponent<?> component) Description copied from interface:IRefresherInitializes the refresher by theIManagingComponent.- Specified by:
- initializein interface- IRefresher
- Overrides:
- initializein class- AbstractRefresher
- Parameters:
- component- the component, cannot be- null.
 
 - 
disposepublic void dispose() Description copied from interface:IRefresherDisposes the refresher instance.- Specified by:
- disposein interface- IRefresher
- Overrides:
- disposein class- AbstractRefresher
 
 - 
needRefreshprotected abstract boolean needRefresh(IBmModel model, IBmObject[] objects, IBmLongMap<BmChangeEvent> changeEvents) Returnstrueif refresh is needed for the specifiedevent.- Parameters:
- model- the BM model, cannot be- null.
- objects- the BM objects the refresher is creted for, cannot be- null.
- changeEvents- the BM change events, cannot be- null.
- Returns:
- trueif refresh is needed for the specified- event.
 
 
- 
 
-