void saveResourceIndex(String resourceType) throws PolicyException, SSOException {
  ResourceIndex resourceIndex=(ResourceIndex)resourceIndices.get(resourceType);
  if (resourceIndex != null) {
    String resourceIndexXML=resourceIndex.toXML();
    resourceManager.saveResourceIndex(resourceType,resourceIndexXML);
  }
}

void saveResourceIndex ( String resourceType ) throws PolicyException , SSOException { ResourceIndex resourceIndex = ( ResourceIndex ) resourceIndices . get ( resourceType ) ; if ( resourceIndex != null ) { String resourceIndexXML = resourceIndex . toXML ( ) ; resourceManager . saveResourceIndex ( resourceType , resourceIndexXML ) ; } }
saves the resource index in data store
