verrouille une ressource pour l'ui courante concode_field_sep Map<Object,UI> locks concode_elem_sep ApplicationContext applicationContext concode_elem_sep UiController uiController concode_field_sep String getUserNameFromLock concode_elem_sep boolean getLockOrNotify concode_elem_sep List<Object> getUILocks concode_elem_sep void releaseLock concode_elem_sep void removeLock concode_elem_sep boolean checkLock
boolean function ( Object arg0 ) { Assert . notNull ( arg0 ) ; UI loc0 = locks . get ( arg0 ) ; if ( loc0 instanceof UI && loc0 != UI . getCurrent ( ) && uiController . isUIStillActive ( loc0 ) ) { return false ; } locks . put ( arg0 , UI . getCurrent ( ) ) ; uiController . notifyUIUpdated ( UI . getCurrent ( ) ) ; return true ; }