protected PropertyMap getNotionProperties ( final SecurityContext securityContext , final Class type , final String storageKey ) { final Map < String , PropertyMap > notionPropertyMap = ( Map < String , PropertyMap > ) securityContext . getAttribute ( "notionProperties" ) ; if ( notionPropertyMap != null ) { final Set < PropertyKey > keySet = Services . getInstance ( ) . getConfigurationProvider ( ) . getPropertySet ( type , PropertyView . Public ) ; final PropertyMap notionProperties = notionPropertyMap . get ( storageKey ) ; if ( notionProperties != null ) { for ( final Iterator < PropertyKey > it = notionProperties . keySet ( ) . iterator ( ) ; it . hasNext ( ) ; ) { final PropertyKey key = it . next ( ) ; if ( ! keySet . contains ( key ) ) { it . remove ( ) ; } } return notionProperties ; } } return null ; }
Loads a PropertyMap from the current security context that was previously stored there by one of the Notions that was executed before this relationship creation .