public abstract class InMemoryElement extends ElementBase
| Modifier | Constructor and Description |
|---|---|
protected |
InMemoryElement(Graph graph,
String id,
Visibility visibility,
Iterable<Property> properties,
Iterable<PropertyRemoveMutation> propertyRemoveMutations,
Iterable<Visibility> hiddenVisibilities,
Authorizations authorizations) |
addPropertyValue, addPropertyValue, equals, getAuthorizations, getHiddenVisibilities, getId, getProperties, getProperties, getProperties, getProperty, getProperty, getProperty, getProperty, getPropertyRemoveMutations, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValues, getVisibility, hashCode, isHidden, labelToArrayOrNull, markPropertyHidden, markPropertyVisible, mergeProperties, removePropertyInternal, setProperty, setProperty, setVisibility, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprepareMutationprotected InMemoryElement(Graph graph, String id, Visibility visibility, Iterable<Property> properties, Iterable<PropertyRemoveMutation> propertyRemoveMutations, Iterable<Visibility> hiddenVisibilities, Authorizations authorizations)
public void removeProperty(String key, String name, Authorizations authorizations)
removeProperty in interface ElementremoveProperty in class ElementBasepublic void removeProperty(String name, Authorizations authorizations)
removeProperty in interface ElementremoveProperty in class ElementBasepublic void markPropertyHidden(Property property, Visibility visibility, Authorizations authorizations)
public void markPropertyVisible(Property property, Visibility visibility, Authorizations authorizations)
public InMemoryGraph getGraph()
getGraph in interface ElementgetGraph in class ElementBaseprotected void updatePropertiesInternal(Iterable<Property> properties, Iterable<PropertyRemoveMutation> propertyRemoveMutations)
updatePropertiesInternal in class ElementBaseprotected Iterable<Property> removePropertyInternal(String name)
removePropertyInternal in class ElementBaseprotected Property removePropertyInternal(String key, String name)
removePropertyInternal in class ElementBaseprotected <TElement extends Element> void saveExistingElementMutation(ExistingElementMutationImpl<TElement> mutation, Authorizations authorizations)
public void addHiddenVisibility(Visibility visibility)
addHiddenVisibility in class ElementBasepublic void removeHiddenVisibility(Visibility visibility)
removeHiddenVisibility in class ElementBasepublic boolean canRead(Authorizations authorizations)
protected void updateExisting(InMemoryVertex newVertex)
Copyright © 2014–2015. All rights reserved.