feat(renderer): add generic method to retrieve renderingBo by ID and type
This commit is contained in:
@@ -304,6 +304,10 @@ public class Window extends AbstractClientModule implements InitializingBean {
|
||||
return this.rendererWorkingSet.getUncommittedWork(this.id);
|
||||
}
|
||||
|
||||
public <T extends RenderingBo> T getRenderingBo(final String renderingBoId, final Class<T> type) {
|
||||
return this.rendererWorkingSet.get(this.id, renderingBoId, type);
|
||||
}
|
||||
|
||||
public void putRenderingBo(final RenderingBo renderingBo) {
|
||||
this.rendererWorkingSet.put(this.id, renderingBo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user