public <T extends BaseEntity> void read(final String type, final boolean groupedEntity,
final EntityIdSet<T> entityIdSet) {
this.groupedEntity = groupedEntity;
if (entityIdSet != null && entityIdSet.getSet() != null) {
final SetId key = new SetId(type, type);
<BUG>final SharedMap<SetId, EntityIdSet<?>> loadMap = new SharedMap<SetId, EntityIdSet<?>>();
loadMap.put(key, entityIdSet);</BUG>
final LoadEntityIdSetAction action = new LoadEntityIdSetAction(loadMap);
dispatcher.execute(action, new AsyncCallbackAdaptor<SharedMap<SetId, SharedList<DocRef>>>() {
@Override

public <T extends BaseEntity> void read(final String type, final boolean groupedEntity,
final EntityIdSet<T> entityIdSet) {
this.groupedEntity = groupedEntity;
if (entityIdSet != null && entityIdSet.getSet() != null) {
final SetId key = new SetId(type, type);
final SharedMap<SetId, EntityIdSet<?>> loadMap = new SharedMap<>();
loadMap.put(key, entityIdSet);
final LoadEntityIdSetAction action = new LoadEntityIdSetAction(loadMap);
dispatcher.execute(action, new AsyncCallbackAdaptor<SharedMap<SetId, SharedList<DocRef>>>() {
@Override
