Package com._1c.g5.v8.dt.bm.index.emf
Interface IBmIndexSlice
-
- All Superinterfaces:
IIndexSlice
public interface IBmIndexSlice extends IIndexSlice
Special extension ofIIndexSlice
for BM index store
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addItem(long id, int order, org.eclipse.xtext.resource.IEObjectDescription item)
Tries to add index element to index sliceCollection<Integer>
getItemOrder(long id)
Gets all additional ids corresponding to the place of the item withid
in BM index store.-
Methods inherited from interface com._1c.g5.modeling.xtext.scoping.IIndexSlice
addItem, getItems, getPredicate, removeItem
-
-
-
-
Method Detail
-
addItem
boolean addItem(long id, int order, org.eclipse.xtext.resource.IEObjectDescription item)
Tries to add index element to index slice- Parameters:
id
- special unique id for adding index elementorder
- additional id corresponding to the place ofitem
in BM index storeitem
- index element for adding to index slice, can't benull
- Returns:
true
if index element was added to slice,false
if index element is not supported of this index slice. Supporting index items are determined by predicate fromIIndexSlice.getPredicate()
-
getItemOrder
Collection<Integer> getItemOrder(long id)
Gets all additional ids corresponding to the place of the item withid
in BM index store.- Parameters:
id
- special unique id for getting index element- Returns:
- additional ids corresponding to the place of the item with
id
in BM index store, nevernull
-
-