public void removeReferencePlaceholders ( final IdentifierConverter < Resource , FedoraResource > idTranslator , final Node node , final String propertyName , final Resource resource ) throws RepositoryException { final String referencePropertyName = getReferencePropertyName ( propertyName ) ; final Node refNode = getJcrNode ( idTranslator . convert ( resource ) ) ; final Value v = node . getSession ( ) . getValueFactory ( ) . createValue ( refNode , true ) ; removeNodeProperty ( node , referencePropertyName , v ) ; }
Remove a reference placeholder that links one node to another in - domain resource