use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getMisfireRecoveryWM.
/**
* Getter for property misfireRecovery. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property misfireRecovery.
*/
public SimpleWidgetModel getMisfireRecoveryWM() {
SimpleWidgetModel w_misfireRecovery = (SimpleWidgetModel) getWidgetCache().getModel("misfireRecovery");
if (w_misfireRecovery == null) {
w_misfireRecovery = new SimpleWidgetModel(getMisfireRecovery() != null ? getMisfireRecovery().toString() : null);
getWidgetCache().addModel("misfireRecovery", w_misfireRecovery);
}
return w_misfireRecovery;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getMonthlyTypeWM.
/**
* Getter for property monthlyType. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property monthlyType.
*/
public SimpleWidgetModel getMonthlyTypeWM() {
SimpleWidgetModel w_monthlyType = (SimpleWidgetModel) getWidgetCache().getModel("monthlyType");
if (w_monthlyType == null) {
w_monthlyType = new SimpleWidgetModel(getMonthlyType());
w_monthlyType.addOption("[label.Jaffa.Scheduler.ScheduledTask.Recurrence.MONTHLY.Type.DAY]", MonthlyType.DAY.toString());
w_monthlyType.addOption("[label.Jaffa.Scheduler.ScheduledTask.Recurrence.MONTHLY.Type.WEEK]", MonthlyType.WEEK.toString());
getWidgetCache().addModel("monthlyType", w_monthlyType);
}
return w_monthlyType;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getLastChangedOnWM.
/**
* Getter for property lastChangedOn. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property lastChangedOn.
*/
public SimpleWidgetModel getLastChangedOnWM() {
SimpleWidgetModel w_lastChangedOn = (SimpleWidgetModel) getWidgetCache().getModel("lastChangedOn");
if (w_lastChangedOn == null) {
w_lastChangedOn = new SimpleWidgetModel(getLastChangedOn());
getWidgetCache().addModel("lastChangedOn", w_lastChangedOn);
}
return w_lastChangedOn;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getDailyWeekDaysOnlyWM.
/**
* Getter for property dailyWeekDaysOnly. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property dailyWeekDaysOnly.
*/
public SimpleWidgetModel getDailyWeekDaysOnlyWM() {
SimpleWidgetModel w_dailyWeekDaysOnly = (SimpleWidgetModel) getWidgetCache().getModel("dailyWeekDaysOnly");
if (w_dailyWeekDaysOnly == null) {
w_dailyWeekDaysOnly = new SimpleWidgetModel(getDailyWeekDaysOnly());
getWidgetCache().addModel("dailyWeekDaysOnly", w_dailyWeekDaysOnly);
}
return w_dailyWeekDaysOnly;
}
use of org.jaffa.presentation.portlet.widgets.model.SimpleWidgetModel in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceForm method getWeeklyFrequencyWM.
/**
* Getter for property weeklyFrequency. This is invoked by the custom tag, when the jsp is rendered, to get the current value.
* @return Value of property weeklyFrequency.
*/
public SimpleWidgetModel getWeeklyFrequencyWM() {
SimpleWidgetModel w_weeklyFrequency = (SimpleWidgetModel) getWidgetCache().getModel("weeklyFrequency");
if (w_weeklyFrequency == null) {
w_weeklyFrequency = new SimpleWidgetModel(getWeeklyFrequency());
addWeekFrequencyOptions(w_weeklyFrequency);
getWidgetCache().addModel("weeklyFrequency", w_weeklyFrequency);
}
return w_weeklyFrequency;
}
Aggregations