Interface IBmNavigatorOrderIndexProvider
-
public interface IBmNavigatorOrderIndexProvider
Service that manages the navigator order index lifecycle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearFeatureOrder(org.eclipse.emf.ecore.EObject object, String featureName)
Clears the navigator order index from obsolete data for the given object and its feature.void
clearObjectIndex(long bmObjectId)
Clears the navigator order index from obsolete data.INavigatorOrderDescription
getObjectOrderDescription(org.eclipse.emf.ecore.EObject object)
Returns the navigator order description for child objects of the given object and its feature.boolean
isAvailbale()
Tells whether the service is available.void
updateObjectOrderDescription(org.eclipse.emf.ecore.EObject object, INavigatorOrderDescription orderDescription)
Updates the navigator order description for the given object.void
updateObjectsOrder(org.eclipse.emf.ecore.EObject object, String featureName, Map<Long,Integer> objectsOrder)
Updates the navigator objects order for the given object and its feature.
-
-
-
Method Detail
-
clearObjectIndex
void clearObjectIndex(long bmObjectId)
Clears the navigator order index from obsolete data.- Parameters:
bmObjectId
- the bm object id to remove index for
-
clearFeatureOrder
void clearFeatureOrder(org.eclipse.emf.ecore.EObject object, String featureName)
Clears the navigator order index from obsolete data for the given object and its feature.- Parameters:
object
- the object to get clear index for, cannot benull
featureName
- the feature name to clear objects order for, cannot benull
-
getObjectOrderDescription
INavigatorOrderDescription getObjectOrderDescription(org.eclipse.emf.ecore.EObject object)
Returns the navigator order description for child objects of the given object and its feature.- Parameters:
object
- the object to get order for, cannot benull
featureName
- the given object feature name to get feature value objects order description, cannot benull
- Returns:
- the navigator order description, may be
null
-
updateObjectOrderDescription
void updateObjectOrderDescription(org.eclipse.emf.ecore.EObject object, INavigatorOrderDescription orderDescription)
Updates the navigator order description for the given object.- Parameters:
object
- the object to update order description for, cannot benull
orderDescription
- a new navigator order description, cannot benull
-
updateObjectsOrder
void updateObjectsOrder(org.eclipse.emf.ecore.EObject object, String featureName, Map<Long,Integer> objectsOrder)
Updates the navigator objects order for the given object and its feature.- Parameters:
object
- the object to update order for, cannot benull
featureName
- the given object feature name to update feature value objects order, cannot benull
objectsOrder
- a new objects order, cannot benull
-
isAvailbale
boolean isAvailbale()
Tells whether the service is available.- Returns:
true
if the service is available andfalse
otherwise
-
-