19 package org.turro.erp.resource;
21 import java.util.ArrayList;
22 import java.util.List;
23 import org.turro.erp.db.ErpPU;
24 import org.turro.erp.entity.Resource;
25 import org.turro.erp.entity.Task;
26 import org.turro.zkoss.input.CollectionListbox;
34 private boolean allResources =
false;
37 this.allResources = allResources;
41 ArrayList<Resource> l =
new ArrayList<Resource>();
44 for(
Resource r : (List<Resource>)
new ErpPU().getResultList(
"select r from Resource as r")) {
47 if(r.getId() == rin.getId()) {
String convertToString(Resource v)
void setAllResources(boolean allResources)