/** * Permanently deletes a property given it's key and name from the element. Only properties which you have access * to can be deleted using this method. * * @param key The property key. * @param name The property name. */ default void deleteProperty(String key, String name, Authorizations authorizations) { deleteProperty(key, name, null, authorizations); }
/** * Permanently deletes a property given it's key and name from the element. Only properties which you have access * to can be deleted using this method. * * @param key The property key. * @param name The property name. */ default void deleteProperty(String key, String name, Authorizations authorizations) { deleteProperty(key, name, null, authorizations); }
@Override public <T> T removeProperty(String key) { T old = getProperty(key); getVertexiumElement().deleteProperty(DEFAULT_PROPERTY_ID, key, authorizations); return old; }
/** * Permanently deletes a property from the element. Only properties which you have access to can be deleted using * this method. * * @param property The property to delete. */ default void deleteProperty(Property property, Authorizations authorizations) { deleteProperty(property.getKey(), property.getName(), property.getVisibility(), authorizations); }
/** * Permanently deletes a property from the element. Only properties which you have access to can be deleted using * this method. * * @param property The property to delete. */ default void deleteProperty(Property property, Authorizations authorizations) { deleteProperty(property.getKey(), property.getName(), property.getVisibility(), authorizations); }
/** * Permanently deletes all properties with the given name that you have access to. Only properties which you have * access to will be deleted. * * @param name The name of the property to delete. */ default void deleteProperties(String name, Authorizations authorizations) { for (Property p : getProperties(name)) { deleteProperty(p.getKey(), p.getName(), p.getVisibility(), authorizations); } }
/** * Permanently deletes all properties with the given name that you have access to. Only properties which you have * access to will be deleted. * * @param name The name of the property to delete. */ default void deleteProperties(String name, Authorizations authorizations) { for (Property p : getProperties(name)) { deleteProperty(p.getKey(), p.getName(), p.getVisibility(), authorizations); } }
public void delete() { getE().deleteProperty(getKey(), getName(), getVisibility(), getAuthorizations()); getGraph().flush(); } }