use of fi.otavanopisto.muikku.plugins.material.events.QueryFieldDeleteEvent in project muikku by otavanopisto.
the class QueryMultiSelectFieldController method deleteQueryMultiSelectField.
public void deleteQueryMultiSelectField(QueryMultiSelectField queryField, boolean removeAnswers) {
queryFieldDeleteEvent.fire(new QueryFieldDeleteEvent(queryField, removeAnswers));
for (QueryMultiSelectFieldOption option : listQueryMultiSelectFieldOptionsByField(queryField)) {
deleteQueryMultiSelectFieldOption(option);
}
queryMultiSelectFieldDAO.delete(queryField);
}
use of fi.otavanopisto.muikku.plugins.material.events.QueryFieldDeleteEvent in project muikku by otavanopisto.
the class QuerySelectFieldController method deleteQuerySelectField.
public void deleteQuerySelectField(QuerySelectField queryField, boolean removeAnswers) {
queryFieldDeleteEvent.fire(new QueryFieldDeleteEvent(queryField, removeAnswers));
for (QuerySelectFieldOption option : listQuerySelectFieldOptionsBySelectField(queryField)) {
deleteQuerySelectFieldOption(option);
}
querySelectFieldDAO.delete(queryField);
}
use of fi.otavanopisto.muikku.plugins.material.events.QueryFieldDeleteEvent in project muikku by otavanopisto.
the class QueryAudioFieldController method deleteQueryAudioField.
public void deleteQueryAudioField(QueryAudioField queryField, boolean removeAnswers) {
queryFieldDeleteEvent.fire(new QueryFieldDeleteEvent(queryField, removeAnswers));
queryAudioFieldDAO.delete(queryField);
}
use of fi.otavanopisto.muikku.plugins.material.events.QueryFieldDeleteEvent in project muikku by otavanopisto.
the class QueryFileFieldController method deleteQueryFileField.
public void deleteQueryFileField(QueryFileField queryField, boolean removeAnswers) {
queryFieldDeleteEvent.fire(new QueryFieldDeleteEvent(queryField, removeAnswers));
queryFileFieldDAO.delete(queryField);
}
use of fi.otavanopisto.muikku.plugins.material.events.QueryFieldDeleteEvent in project muikku by otavanopisto.
the class QueryMemoFieldController method deleteQueryMemoField.
public void deleteQueryMemoField(QueryMemoField queryField, boolean removeAnswers) {
queryFieldDeleteEvent.fire(new QueryFieldDeleteEvent(queryField, removeAnswers));
queryMemoFieldDAO.delete(queryField);
}
Aggregations