question: private boolean addIndexEntry ( ServiceType resourceType , String resourceName , String policyName ) throws PolicyException { ResourceIndex resourceIndex = ( ResourceIndex ) resourceIndices . get ( resourceType . getName ( ) ) ; if ( resourceIndex == null ) { resourceIndex = refreshResourceIndexFromDataStore ( resourceType ) ; } return resourceIndex . addIndexEntry ( resourceName , policyName ) ; }
target:  Adds a new index entry or updates an existing index entry