19 package org.turro.crm.zul.sale;
21 import org.turro.string.Strings;
22 import org.turro.action.Plugins;
23 import org.turro.crm.db.CrmPU;
24 import org.turro.crm.entity.SaleProspect;
25 import org.turro.crm.entity.VendorProspect;
26 import org.turro.elephant.util.Messages;
27 import org.turro.i18n.I_;
28 import org.turro.jpa.Dao;
29 import org.turro.jpa.entity.DaoEntity;
30 import org.turro.jpa.entity.EntityCollections;
31 import org.turro.plugin.dossier.ICategory;
32 import org.turro.plugin.dossier.IDossier;
49 return I_.
get(
"Sale prospect");
53 public boolean delete() {
55 if(
entity.getCampaign() !=
null) {
78 if(!vp.getSaleActions().isEmpty()) {
82 return super.canDelete();
static< T > T loadImplementation(Class< T > jclass)
static String getObjectPath(Object object)
SaleProspectWrapper(SaleProspect entity)
static Messages confirmDeletion()
static String get(String msg)
static EntityCollections entities(Collection values)
boolean remove(IDaoEntity entity)
void setParentId(long id)
void setDescription(String description)
void setSubject(IContact subject)
void setIdCategory(Long idCategory)
void setPath(String path)
void setDescription(String description)