protected void deleteProperty(
InMemoryElement element,
InMemoryTableElement inMemoryTableElement,
String key,
String name,
Visibility visibility,
Authorizations authorizations
) {
Property property = inMemoryTableElement.getProperty(key, name, visibility, FetchHints.ALL_INCLUDING_HIDDEN, authorizations);
inMemoryTableElement.deleteProperty(key, name, visibility, authorizations);
getSearchIndex().deleteProperty(this, element, PropertyDescriptor.fromProperty(property), authorizations);
if (hasEventListeners()) {
fireGraphEvent(new DeletePropertyEvent(this, element, property));
}
}