Class OperationCenterAssignmentCriteriaService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.organizationalstructures.rs1.assignmentcriteria.OperationCenterAssignmentCriteriaService
@RestController
@RequestMapping("territory/organizational-structures/r1/operation-center-assignment-criteria")
@Resource(logging=true)
public class OperationCenterAssignmentCriteriaService
extends PrivateService
Services to manage operation centers assignment criteria.
- Since:
- 18.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOOperationCenterAssignmentCriteria> get(Long id, String language, Collection<String> fields) Retrieves the required operation center assignment criteria.org.springframework.http.ResponseEntity<List<DTOOperationCenterAssignmentCriteria>> getCollection(Collection<String> fields, @Valid DTOOperationCenterAssignmentCriteriaSearchFilter filter) Retrieve the all stored operation center assignment criteria.
-
Constructor Details
-
OperationCenterAssignmentCriteriaService
public OperationCenterAssignmentCriteriaService()
-
-
Method Details
-
getCollection
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<List<DTOOperationCenterAssignmentCriteria>> getCollection(@RequestParam(required=false,value="_fields") Collection<String> fields, @Valid @Valid DTOOperationCenterAssignmentCriteriaSearchFilter filter) throws DAValidateException, DAException Retrieve the all stored operation center assignment criteria.OperationCenterAssignmentCriteriaSearchEvent- Parameters:
fields- the collection of fields the response will containfilter- the specifiedDTOOperationCenterSearchFilter- Returns:
- the response
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-
get
@GetMapping(value="{operationCenterAssignmentCriteriaId:[0-9]+}", produces="application/json") public org.springframework.http.ResponseEntity<DTOOperationCenterAssignmentCriteria> get(@PathVariable("operationCenterAssignmentCriteriaId") Long id, @RequestParam(required=false,name="_language",defaultValue="user") String language, @RequestParam(required=false,value="_fields") Collection<String> fields) throws DAValidateException, DAException Retrieves the required operation center assignment criteria.OperationCenterAssignmentCriteriaLoadEvent- Parameters:
id- operation center assignment criteria idlanguage- the user languagefields- the collection of fields the response will contain- Returns:
- the response containing the required operation center assignment criteria
- Throws:
DAValidateException- the DA validate exceptionDAException- the DA exception
-