public void getAndDisplayNode ( final String path , final boolean changeHistory ) { showLoadIcon ( ) ; console . jcrService ( ) . node ( repository ( ) , workspace ( ) , path , new AsyncCallback < JcrNode > ( ) { @ Override public void onFailure ( Throwable caught ) { hideLoadIcon ( ) ; SC . say ( caught . getMessage ( ) ) ; } @ Override public void onSuccess ( JcrNode node ) { displayNode ( node ) ; console . changeWorkspaceInURL ( workspace ( ) , changeHistory ) ; console . changePathInURL ( path , changeHistory ) ; hideLoadIcon ( ) ; } } ) ; }
Reads node with given path and selected repository and workspace .