public boolean isLocked ( Session session , String path ) { String repoPath = session . getRepository ( ) . hashCode ( ) + "/" + session . getWorkspace ( ) . getName ( ) + "/" + path ; if ( nullResourceLocks . get ( repoPath ) != null ) { return true ; } return false ; }
Checks if the node is locked .