Class PublicHolidayService
java.lang.Object
overit.geocallapp.utilities.rs.common.PrivateService
overit.geocallapp.wfm.systemsettings.rs1.calendar.PublicHolidayService
@RestController
@RequestMapping("configurations/system-settings/r1/public-holidays")
@Resource(logging=true)
public class PublicHolidayService
extends PrivateService
Service for manage holiday
- Since:
- 17.0
- GCApi:
- rest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DTOPublicHoliday> get(@Valid @NotNull DTOPublicHolidayFilter filter) Retrieves the required public holidays by calling thePublicHolidaySearchEvent.
-
Constructor Details
-
PublicHolidayService
public PublicHolidayService()
-
-
Method Details
-
get
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<DTOPublicHoliday> get(@Valid @NotNull @Valid @NotNull DTOPublicHolidayFilter filter) throws DAValidateException, DAException Retrieves the required public holidays by calling thePublicHolidaySearchEvent.- Parameters:
filter- theDTOPublicHolidayFilter- Returns:
- the response containing the loaded holidays
- Throws:
DAValidateException- if there is a data validation exceptionDAException- if a genericExceptionis thrown
-