Class CmsSerialDateValue
java.lang.Object
org.opencms.acacia.shared.A_CmsSerialDateValue
org.opencms.acacia.client.widgets.serialdate.CmsSerialDateValue
- All Implemented Interfaces:
I_CmsObservableSerialDateValue
,org.opencms.acacia.shared.I_CmsSerialDateValue
public class CmsSerialDateValue
extends org.opencms.acacia.shared.A_CmsSerialDateValue
implements I_CmsObservableSerialDateValue
Client-side implementation of
I_CmsSerialDateValue
.
The implementation additionally has setters for the various values of the serial date specification.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opencms.acacia.shared.I_CmsSerialDateValue
org.opencms.acacia.shared.I_CmsSerialDateValue.DateType, org.opencms.acacia.shared.I_CmsSerialDateValue.EndType, org.opencms.acacia.shared.I_CmsSerialDateValue.JsonKey, org.opencms.acacia.shared.I_CmsSerialDateValue.Month, org.opencms.acacia.shared.I_CmsSerialDateValue.PatternType, org.opencms.acacia.shared.I_CmsSerialDateValue.WeekDay, org.opencms.acacia.shared.I_CmsSerialDateValue.WeekOfMonth
-
Field Summary
Fields inherited from interface org.opencms.acacia.shared.I_CmsSerialDateValue
DAY_IN_MILLIS, NUM_OF_WEEKDAYS
-
Constructor Summary
ConstructorDescriptionDefault constructor, setting the default state of the the serial date widget. -
Method Summary
Methods inherited from class org.opencms.acacia.shared.A_CmsSerialDateValue
addException, addWeekOfMonth, clearExceptions, clearIndividualDates, clearWeekDays, clearWeeksOfMonth, endsAtMidNight, equals, getDateType, getDayOfMonth, getEnd, getEndType, getExceptions, getIndividualDates, getInterval, getMonth, getOccurrences, getParentSeriesId, getPatternType, getSeriesEndDate, getStart, getWeekDay, getWeekDays, getWeekOfMonth, getWeeksOfMonth, hasExceptions, hashCode, isCurrentTillEnd, isDayOfMonthValid, isDurationValid, isEndValid, isEveryWorkingDay, isFromOtherSeries, isIntervalValid, isMonthSet, isPatternValid, isStartSet, isValid, isValidEndTypeForPattern, isWeekDaySet, isWeekOfMonthSet, isWholeDay, removeWeekOfMonth, setCurrentTillEnd, setDayOfMonth, setDefaultValue, setDerivedEndType, setEnd, setEndType, setEveryWorkingDay, setExceptions, setIndividualDates, setInterval, setMonth, setOccurrences, setParentSeriesId, setPatternType, setSeriesEndDate, setStart, setWeekDay, setWeekDays, setWeekOfMonth, setWeeksOfMonth, setWholeDay
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opencms.acacia.shared.I_CmsSerialDateValue
endsAtMidNight, getDateType, getDayOfMonth, getEnd, getEndType, getExceptions, getIndividualDates, getInterval, getMonth, getOccurrences, getParentSeriesId, getPatternType, getSeriesEndDate, getStart, getWeekDay, getWeekDays, getWeekOfMonth, getWeeksOfMonth, isCurrentTillEnd, isEveryWorkingDay, isFromOtherSeries, isValid, isWholeDay
-
Constructor Details
-
CmsSerialDateValue
public CmsSerialDateValue()Default constructor, setting the default state of the the serial date widget.
-
-
Method Details
-
registerValueChangeObserver
Description copied from interface:I_CmsObservableSerialDateValue
Register an observer.- Specified by:
registerValueChangeObserver
in interfaceI_CmsObservableSerialDateValue
- Parameters:
obs
- the observer to register.- See Also:
-
setValue
Set the value as provided.- Parameters:
value
- the serial date value as JSON string.
-
toJson
Convert the information from the wrapper to a JSON object.- Returns:
- the serial date information as JSON.
-
toString
-
unregisterValueChangeObserver
Description copied from interface:I_CmsObservableSerialDateValue
Unregister an observer.- Specified by:
unregisterValueChangeObserver
in interfaceI_CmsObservableSerialDateValue
- Parameters:
obs
- the observer to unregister.- See Also:
-