@Override protected void formInnerEvent(UserRequest ureq, FormItem source, FormEvent event) { if (selectLink == source) { Set<Integer> selections = getItemsTable().getMultiSelectedIndex(); if (!selections.isEmpty()) { List<QuestionItemView> items = getItemViews(selections); fireEvent(ureq, new QItemViewEvent("select-item", items)); } } else if (myListEl == source) { String selectedCollKey = myListEl.getSelectedKey(); if (StringHelper.isLong(selectedCollKey)) { Long collectionKey = Long.parseLong(selectedCollKey); doSelectCollection(ureq, collectionKey); } } super.formInnerEvent(ureq, source, event); }
/** @return Upload limit in KB */ public Long getULLimit() { if (StringHelper.isLong(ulLimitKB.getValue())) { return new Long(ulLimitKB.getValue()); } return null; }
/** @return Quota in KB. */ public Long getQuotaKB() { if (StringHelper.isLong(quotaKB.getValue())) { return new Long(quotaKB.getValue()); } return null; }