19 package org.turro.crm.zul.sector;
21 import java.util.logging.Level;
22 import java.util.logging.Logger;
23 import org.turro.crm.db.CrmPU;
24 import org.turro.crm.entity.Technology;
25 import org.turro.elephant.context.ElephantContext;
26 import org.turro.i18n.I_;
27 import org.turro.jpa.grid.JpaGrid;
28 import org.zkoss.zul.Row;
38 "select actsec from Technology as actsec " +
39 "order by actsec.name",
true);
58 "select count(c) from Customer c " +
59 "join c.technologies a " +
63 return super.deleteRow(row);
70 addColumn(
"#",
"long",
"id",
null, 0,
false,
true).setWidth(
"40px");
71 addColumn(
I_.
get(
"Name"), String.class,
"name",
null, 0,
false,
false);
72 }
catch (ClassNotFoundException ex) {
void initiateRow(Row row, Technology value)
boolean isValid(Technology v)
boolean deleteRow(Row row)
static String logMsg(String msg)
static String get(String msg)
Object getSingleResult(WhereClause wc)
EditableColumn addColumn(String label, Class javaClass, String property, String format, int scale, boolean onlyDate, boolean readOnly)