}
}
IndexReference createIndexReference(String referencedObjectId, int index, boolean canBeDeleted) {
String id = generateObjectId();
ReferenceShiftedComponent op =
new ReferenceShiftedComponent(id, referencedObjectId, index, canBeDeleted, -1);
beginCreationCompoundOperation();
bridge.consumeAndSubmit(new CreateComponent(id, CreateComponent.INDEX_REFERENCE));
bridge.consumeAndSubmit(op);
registerIndexReference(id, referencedObjectId);
endCompoundOperation();