Public Member Functions | |
DaoEntity () | |
DaoEntity (Class< T > persistentClass) | |
DaoEntity (T entity) | |
Dao | getDao () |
T | getEntity () |
IElephantEntity | getIee () |
T | find (ID id) |
T | save () |
boolean | delete () |
ID | getId () |
List< String > | getMessages () |
boolean | canDelete () |
boolean | canSave () |
boolean | equals (Object obj) |
int | hashCode () |
Static Public Member Functions | |
static Object | getEntityId (Object entity) |
static boolean | isNewId (Object id) |
Protected Member Functions | |
abstract Dao | createDao () |
abstract boolean | shouldLog () |
void | logEntity (SystemLogType logType, Object entity, String action, String data) |
String | dataEntity (Object entity) |
void | initOperation () |
void | addMessage (String message) |
Protected Attributes | |
T | entity |
ID | id |
List< String > | messages = new ArrayList<>() |
<T> | |
<ID> |
Definition at line 41 of file DaoEntity.java.
org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.DaoEntity | ( | ) |
org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.DaoEntity | ( | Class< T > | persistentClass | ) |
Definition at line 54 of file DaoEntity.java.
org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.DaoEntity | ( | T | entity | ) |
Definition at line 58 of file DaoEntity.java.
|
protected |
Definition at line 149 of file DaoEntity.java.
boolean org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.canDelete | ( | ) |
Reimplemented in org.turro.crm.zul.sale.SaleProspectWrapper, org.turro.crm.zul.sale.CampaignWrapper, org.turro.crm.zul.customer.CustomerWrapper, org.turro.financials.model.product.ProductWrapper, org.turro.financials.model.contract.ContractWrapper, org.turro.erp.workorder.logic.WorkOrderWrapper, org.turro.erp.task.logic.TaskWrapper, org.turro.erp.sales.logic.CustomerOrderWrapper, org.turro.erp.resource.logic.ResourceWrapper, org.turro.erp.humanres.logic.HumanResourceWrapper, org.turro.erp.aptitude.logic.AptitudeWrapper, and org.turro.erp.purchase.OrderItemWrapper.
Definition at line 137 of file DaoEntity.java.
boolean org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.canSave | ( | ) |
Reimplemented in org.turro.crm.zul.sale.SaleProspectWrapper, org.turro.crm.zul.sale.CampaignWrapper, org.turro.financials.product.logic.ProductWrapper, and org.turro.financials.model.product.ProductWrapper.
Definition at line 141 of file DaoEntity.java.
|
abstractprotected |
Reimplemented in org.turro.students.wrappers.ChallengeWrapper, org.turro.jobboard.PracticalWorkWrapper, org.turro.publication.util.PublicationWrapper, org.turro.newsletter.NewsletterWrapper, org.turro.dossier.issue.IssueWrapper, org.turro.dossier.grant.ProjectGrantWrapper, org.turro.dossier.dossier.DossierWrapper, org.turro.crm.zul.vendor.VendorWrapper, org.turro.crm.zul.sale.SaleProspectWrapper, org.turro.crm.zul.sale.CampaignWrapper, org.turro.crm.zul.customer.CustomerWrapper, org.turro.zul.convocation.ConvocationWrapper, org.turro.contacts.service.ContactServiceWrapper, org.turro.contacts.form.ContactWrapper, org.turro.financials.model.product.ProductWrapper, org.turro.financials.model.document.DocumentWrapper, org.turro.financials.model.contract.ContractWrapper, org.turro.financials.model.business.CompanyWrapper, org.turro.hr.humanres.HumanResourceWrapper, org.turro.hr.aptitude.AptitudeWrapper, org.turro.erp.workorder.WorkOrderWrapper, org.turro.erp.workorder.CustomerOrderWrapper, org.turro.erp.task.TaskWrapper, org.turro.erp.resource.ResourceWrapper, and org.turro.erp.purchase.OrderItemWrapper.
|
protected |
boolean org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.delete | ( | ) |
Reimplemented in org.turro.dossier.issue.IssueWrapper, org.turro.dossier.dossier.DossierWrapper, org.turro.crm.zul.vendor.VendorWrapper, org.turro.crm.zul.sale.SaleProspectWrapper, org.turro.contacts.form.ContactWrapper, org.turro.financials.model.document.DocumentWrapper, and org.turro.financials.model.business.CompanyWrapper.
Definition at line 99 of file DaoEntity.java.
boolean org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.equals | ( | Object | obj | ) |
Definition at line 154 of file DaoEntity.java.
T org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.find | ( | ID | id | ) |
Dao org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.getDao | ( | ) |
Definition at line 63 of file DaoEntity.java.
T org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.getEntity | ( | ) |
|
static |
Definition at line 176 of file DaoEntity.java.
ID org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.getId | ( | ) |
IElephantEntity org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.getIee | ( | ) |
List<String> org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.getMessages | ( | ) |
Definition at line 119 of file DaoEntity.java.
int org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.hashCode | ( | ) |
|
protected |
|
static |
|
protected |
Definition at line 123 of file DaoEntity.java.
T org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.save | ( | ) |
Reimplemented in org.turro.jobboard.PracticalWorkWrapper, org.turro.publication.util.PublicationWrapper, org.turro.newsletter.NewsletterWrapper, org.turro.dossier.dossier.DossierWrapper, org.turro.crm.zul.vendor.VendorWrapper, org.turro.contacts.service.ContactServiceWrapper, org.turro.contacts.form.ContactWrapper, org.turro.financials.contract.logic.ContractWrapper, org.turro.financials.model.document.DocumentWrapper, org.turro.financials.model.business.CompanyWrapper, org.turro.erp.resource.logic.ResourceWrapper, org.turro.hr.humanres.HumanResourceWrapper, org.turro.hr.aptitude.AptitudeWrapper, org.turro.erp.workorder.WorkOrderWrapper, org.turro.erp.workorder.CustomerOrderWrapper, org.turro.erp.task.TaskWrapper, and org.turro.erp.resource.ResourceWrapper.
Definition at line 89 of file DaoEntity.java.
|
abstractprotected |
Reimplemented in org.turro.students.wrappers.ChallengeWrapper, org.turro.jobboard.PracticalWorkWrapper, org.turro.publication.util.PublicationWrapper, org.turro.newsletter.NewsletterWrapper, org.turro.dossier.issue.IssueWrapper, org.turro.dossier.grant.ProjectGrantWrapper, org.turro.dossier.dossier.DossierWrapper, org.turro.crm.zul.vendor.VendorWrapper, org.turro.crm.zul.sale.SaleProspectWrapper, org.turro.crm.zul.sale.CampaignWrapper, org.turro.crm.zul.customer.CustomerWrapper, org.turro.zul.convocation.ConvocationWrapper, org.turro.contacts.service.ContactServiceWrapper, org.turro.contacts.form.ContactWrapper, org.turro.financials.model.product.ProductWrapper, org.turro.financials.model.document.DocumentWrapper, org.turro.financials.model.contract.ContractWrapper, org.turro.financials.model.business.CompanyWrapper, org.turro.hr.humanres.HumanResourceWrapper, org.turro.hr.aptitude.AptitudeWrapper, org.turro.erp.workorder.WorkOrderWrapper, org.turro.erp.workorder.CustomerOrderWrapper, org.turro.erp.task.TaskWrapper, org.turro.erp.resource.ResourceWrapper, and org.turro.erp.purchase.OrderItemWrapper.
|
protected |
Definition at line 45 of file DaoEntity.java.
|
protected |
Definition at line 46 of file DaoEntity.java.
|
protected |
Definition at line 47 of file DaoEntity.java.