Class TeamLocationService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.scheduling.rs1.teamlocation.TeamLocationService
@RestController
@RequestMapping("scheduling/r1/team-locations")
@Resource(logging=true)
public class TeamLocationService
extends PrivateService
Service for manage team location
- Since:
- 18.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOTeamLocation> get(Long teamLocationId, Collection<String> fields) org.springframework.http.ResponseEntity<PageResponse<DTOTeamLocation>> getCollection(@Valid Page page, Collection<String> fields, String order, @Valid @NotNull DTOTeamLocationFilter filter)
-
Constructor Details
-
TeamLocationService
public TeamLocationService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<PageResponse<DTOTeamLocation>> getCollection(@RequestParam("_page") @Valid @Valid Page page, @RequestParam(required=false,name="_fields") Collection<String> fields, @RequestParam(required=false,name="_order") String order, @Valid @NotNull @Valid @NotNull DTOTeamLocationFilter filter) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
get
@GetMapping(value="{teamLocationId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOTeamLocation> get(@PathVariable("teamLocationId") Long teamLocationId, @RequestParam(required=false,value="_fields") Collection<String> fields) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-