Class PublicHolidaySearchOutput
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.systemsettings.bl.calendar.event.PublicHolidaySearchOutput
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Output bean for
PublicHolidaySearchEvent. - Since:
- 17.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddHoliday(Date holidayDate) Adds a new holiday date.booleanaddHolidays(Collection<Date> holidayDates) Adds a collection of new holidays.Returns the collection of holidays.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
PublicHolidaySearchOutput
public PublicHolidaySearchOutput()
-
-
Method Details
-
getHolidays
Returns the collection of holidays.- Returns:
- the holidays collection
-
addHoliday
Adds a new holiday date.- Parameters:
holidayDate- the holiday date- Returns:
- true, if successful
-
addHolidays
Adds a collection of new holidays.- Parameters:
holidayDates- the holiday dates- Returns:
- true, if successful
-