final Map<String, String> parameters = getParameters( query );
final PlaceRequest placeRequest;
if ( parameters.containsKey( "path_uri" ) ) {
if ( parameters.containsKey( "has_version_support" ) ) {
placeRequest = new PathPlaceRequest( PathFactory.newPath( parameters.remove( "file_name" ), parameters.remove( "path_uri" ), new HashMap<String, Object>() {{
put( PathFactory.VERSION_PROPERTY, Boolean.valueOf( parameters.remove( "has_version_support" ) ) );
}} ), identifier );
} else {
placeRequest = new PathPlaceRequest( PathFactory.newPath( parameters.remove( "file_name" ), parameters.remove( "path_uri" ) ), identifier );
}
} else {
placeRequest = new DefaultPlaceRequest( identifier );
}