S beaHTMLURL(BEA o) {
ret o == null ?: o.myURI();
}
S beaHTML(O o) {
if (o cast BEA) ret beaHTML(o);
ret htmlEncode2(o);
}
BEA beaGetOpt(long id) {
ret getConceptOpt BEA(id);
}
static Cl beaDeleteType(S type) {
ret deleteConceptsWhereIC BEA(+type);
}
int beaCount(S type) {
ret countConceptsWhereCI BEAObject(+type);
}
// first param can be type
BEA beaNew(O... _) {
_ = prependParamIfOddCount("type", _);
ret cnew BEA(_);
}