Public Member Functions | |
ProductWrapper (Product entity) | |
boolean | canDelete () |
Product | save (List< ProductByContractor > pbc) |
boolean | canSave () |
Public Member Functions inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable > | |
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 | equals (Object obj) |
int | hashCode () |
Static Public Member Functions | |
static boolean | hasAvailableContractorProducts (Contract contract) |
static boolean | hasAvailableProducts () |
Static Public Member Functions inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable > | |
static Object | getEntityId (Object entity) |
static boolean | isNewId (Object id) |
Protected Member Functions | |
Dao | createDao () |
boolean | shouldLog () |
Protected Member Functions inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable > | |
void | logEntity (SystemLogType logType, Object entity, String action, String data) |
String | dataEntity (Object entity) |
void | initOperation () |
void | addMessage (String message) |
Additional Inherited Members | |
Protected Attributes inherited from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable > | |
T | entity |
ID | id |
List< String > | messages = new ArrayList<>() |
Definition at line 32 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
org.turro.financials.model.product.ProductWrapper.ProductWrapper | ( | Product | entity | ) |
Reimplemented in org.turro.financials.product.logic.ProductWrapper.
Definition at line 34 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
boolean org.turro.financials.model.product.ProductWrapper.canDelete | ( | ) |
Reimplemented from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.
Definition at line 44 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
boolean org.turro.financials.model.product.ProductWrapper.canSave | ( | ) |
Reimplemented from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.
Reimplemented in org.turro.financials.product.logic.ProductWrapper.
Definition at line 73 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
|
protected |
Reimplemented from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.
Definition at line 39 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
|
static |
Definition at line 81 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
|
static |
Definition at line 96 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
Product org.turro.financials.model.product.ProductWrapper.save | ( | List< ProductByContractor > | pbc | ) |
Definition at line 64 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.
|
protected |
Reimplemented from org.turro.jpa.entity.DaoEntity< T extends IDaoEntity, ID extends Serializable >.
Definition at line 60 of file bsfinancials-core/src/main/java/org/turro/financials/model/product/ProductWrapper.java.