added parameter to pointIndex recompute
This commit is contained in:
@@ -13,6 +13,7 @@ import jakarta.ws.rs.PUT;
|
||||
import jakarta.ws.rs.Path;
|
||||
import jakarta.ws.rs.PathParam;
|
||||
import jakarta.ws.rs.Produces;
|
||||
import jakarta.ws.rs.QueryParam;
|
||||
|
||||
/**
|
||||
* @author brian.long@poststats.com
|
||||
@@ -65,6 +66,8 @@ public interface CoursesAdminApi {
|
||||
summary = "Intializes golf course point ratings",
|
||||
description = "Computes the point rating/adjustment for all golf courses and stores the result in the database. The result is a count of updated records."
|
||||
)
|
||||
long initGolfCoursePointRatings();
|
||||
long initGolfCoursePointRatings(
|
||||
@Parameter(description = "false to compute missing ratings only; true will compute all ratings")
|
||||
@QueryParam("overwrite") boolean overwrite);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user