private void setBaseEntry ( Map < String , Object > configProps ) throws WIMException { /* * Map<String, List<Map<String, Object>>> configMap = Nester.nest(configProps, BASE_ENTRY); * * for (Map<String, Object> entry : configMap.get(BASE_ENTRY)) { * baseEntryName = (String) entry.get(BASE_ENTRY_NAME); * } */ baseEntryName = ( String ) configProps . get ( BASE_ENTRY ) ; if ( baseEntryName == null ) { throw new WIMApplicationException ( WIMMessageKey . MISSING_BASE_ENTRY , Tr . formatMessage ( tc , WIMMessageKey . MISSING_BASE_ENTRY , WIMMessageHelper . generateMsgParms ( reposId ) ) ) ; } }
Set the baseEntryname from the configuration . The configuration should have only 1 baseEntry