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