Public Member Functions | |
String | getDescription () |
void | setDescription (String description) |
long | getId () |
void | setId (long id) |
String | getKeywords () |
void | setKeywords (String keywords) |
double | getPrice () |
void | setPrice (double price) |
Set< ProductByContractor > | getProductByContractors () |
void | setProductByContractors (Set< ProductByContractor > productByContractors) |
String | getProductCode () |
void | setProductCode (String productCode) |
double | getTax () |
void | setTax (double tax) |
boolean | isPublishable () |
void | setPublishable (boolean publishable) |
boolean | isService () |
void | setService (boolean service) |
boolean | isPromoted () |
void | setPromoted (boolean promoted) |
boolean | isDelivery () |
void | setDelivery (boolean delivery) |
boolean | isConcept () |
void | setConcept (boolean concept) |
boolean | isAttachments () |
void | setAttachments (boolean attachments) |
Object | entityId () |
boolean | isEmpty () |
void | prepareSave () |
String | getDescription (boolean fields) |
String | getFieldDescription () |
double | getPriceWithTax (int fractions) |
ProductByContractor | getProductByContractor () |
void | setProductByContractor (ProductByContractor productByContractor) |
long | getProductId () |
String | getProductCodeStr () |
double | getProductCost () |
double | getProductCostTax () |
double | getProductPrice () |
double | getProductPriceTax () |
IProduct | load (Object id) |
String | getProductName () |
double | getProductStock (Date date, Contract store) |
String | getProductString () |
boolean | isUncoded () |
Collection< Movement > | getMovements () |
Collection< Movement > | getMovements (Date from, Date to, Contract store) |
ProductRegulation | getLastInventory (Dao dao, Contract store, Date date) |
double | getStock (Contract store, Date date) |
FieldItSet | getFields () |
ValueItSet | getValues () |
Object | getFieldValue (String label) |
Collection< IValueItEntity > | getRelated () |
MappingSet | getSerializerMappings () |
Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity | |
default boolean | isNew () |
default void | prepareDelete () |
default void | removeEmpties () |
default Collection< Collection > | collections () |
Static Public Member Functions | |
static List< Product > | getProducts () |
static Product | getProductByCode (String code) |
static List< Product > | getProducts (String concept, boolean equality) |
Definition at line 44 of file Product.java.
Object org.turro.financials.entity.Product.entityId | ( | ) |
Implements org.turro.jpa.entity.IDaoEntity.
Definition at line 167 of file Product.java.
String org.turro.financials.entity.Product.getDescription | ( | ) |
String org.turro.financials.entity.Product.getDescription | ( | boolean | fields | ) |
Definition at line 185 of file Product.java.
String org.turro.financials.entity.Product.getFieldDescription | ( | ) |
Definition at line 191 of file Product.java.
FieldItSet org.turro.financials.entity.Product.getFields | ( | ) |
Implements org.turro.fieldit.IValueItEntity.
Definition at line 499 of file Product.java.
Object org.turro.financials.entity.Product.getFieldValue | ( | String | label | ) |
Implements org.turro.fieldit.IValueItEntity.
Definition at line 509 of file Product.java.
long org.turro.financials.entity.Product.getId | ( | ) |
String org.turro.financials.entity.Product.getKeywords | ( | ) |
ProductRegulation org.turro.financials.entity.Product.getLastInventory | ( | Dao | dao, |
Contract | store, | ||
Date | date | ||
) |
Definition at line 380 of file Product.java.
Collection<Movement> org.turro.financials.entity.Product.getMovements | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 322 of file Product.java.
Collection<Movement> org.turro.financials.entity.Product.getMovements | ( | Date | from, |
Date | to, | ||
Contract | store | ||
) |
Implements org.turro.financials.product.IProduct.
Definition at line 338 of file Product.java.
double org.turro.financials.entity.Product.getPrice | ( | ) |
double org.turro.financials.entity.Product.getPriceWithTax | ( | int | fractions | ) |
|
static |
ProductByContractor org.turro.financials.entity.Product.getProductByContractor | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 208 of file Product.java.
Set<ProductByContractor> org.turro.financials.entity.Product.getProductByContractors | ( | ) |
String org.turro.financials.entity.Product.getProductCode | ( | ) |
String org.turro.financials.entity.Product.getProductCodeStr | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 223 of file Product.java.
double org.turro.financials.entity.Product.getProductCost | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 228 of file Product.java.
double org.turro.financials.entity.Product.getProductCostTax | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 238 of file Product.java.
long org.turro.financials.entity.Product.getProductId | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 218 of file Product.java.
String org.turro.financials.entity.Product.getProductName | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 279 of file Product.java.
double org.turro.financials.entity.Product.getProductPrice | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 248 of file Product.java.
double org.turro.financials.entity.Product.getProductPriceTax | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 261 of file Product.java.
|
static |
Definition at line 439 of file Product.java.
|
static |
double org.turro.financials.entity.Product.getProductStock | ( | Date | date, |
Contract | store | ||
) |
Implements org.turro.financials.product.IProduct.
Definition at line 284 of file Product.java.
String org.turro.financials.entity.Product.getProductString | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 306 of file Product.java.
Collection<IValueItEntity> org.turro.financials.entity.Product.getRelated | ( | ) |
Implements org.turro.fieldit.IValueItEntity.
Definition at line 514 of file Product.java.
MappingSet org.turro.financials.entity.Product.getSerializerMappings | ( | ) |
Definition at line 521 of file Product.java.
double org.turro.financials.entity.Product.getStock | ( | Contract | store, |
Date | date | ||
) |
Definition at line 399 of file Product.java.
double org.turro.financials.entity.Product.getTax | ( | ) |
ValueItSet org.turro.financials.entity.Product.getValues | ( | ) |
Implements org.turro.fieldit.IValueItEntity.
Definition at line 504 of file Product.java.
boolean org.turro.financials.entity.Product.isAttachments | ( | ) |
Definition at line 156 of file Product.java.
boolean org.turro.financials.entity.Product.isConcept | ( | ) |
boolean org.turro.financials.entity.Product.isDelivery | ( | ) |
boolean org.turro.financials.entity.Product.isEmpty | ( | ) |
Implements org.turro.jpa.entity.IDaoEntity.
Definition at line 172 of file Product.java.
boolean org.turro.financials.entity.Product.isPromoted | ( | ) |
Definition at line 132 of file Product.java.
boolean org.turro.financials.entity.Product.isPublishable | ( | ) |
boolean org.turro.financials.entity.Product.isService | ( | ) |
Definition at line 124 of file Product.java.
boolean org.turro.financials.entity.Product.isUncoded | ( | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 317 of file Product.java.
IProduct org.turro.financials.entity.Product.load | ( | Object | id | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 274 of file Product.java.
void org.turro.financials.entity.Product.prepareSave | ( | ) |
Implements org.turro.jpa.entity.IDaoEntity.
Definition at line 177 of file Product.java.
void org.turro.financials.entity.Product.setAttachments | ( | boolean | attachments | ) |
Definition at line 160 of file Product.java.
void org.turro.financials.entity.Product.setConcept | ( | boolean | concept | ) |
Definition at line 152 of file Product.java.
void org.turro.financials.entity.Product.setDelivery | ( | boolean | delivery | ) |
Definition at line 144 of file Product.java.
void org.turro.financials.entity.Product.setDescription | ( | String | description | ) |
Definition at line 64 of file Product.java.
void org.turro.financials.entity.Product.setId | ( | long | id | ) |
Definition at line 72 of file Product.java.
void org.turro.financials.entity.Product.setKeywords | ( | String | keywords | ) |
Definition at line 80 of file Product.java.
void org.turro.financials.entity.Product.setPrice | ( | double | price | ) |
Definition at line 88 of file Product.java.
void org.turro.financials.entity.Product.setProductByContractor | ( | ProductByContractor | productByContractor | ) |
Implements org.turro.financials.product.IProduct.
Definition at line 213 of file Product.java.
void org.turro.financials.entity.Product.setProductByContractors | ( | Set< ProductByContractor > | productByContractors | ) |
Definition at line 96 of file Product.java.
void org.turro.financials.entity.Product.setProductCode | ( | String | productCode | ) |
Definition at line 104 of file Product.java.
void org.turro.financials.entity.Product.setPromoted | ( | boolean | promoted | ) |
Definition at line 136 of file Product.java.
void org.turro.financials.entity.Product.setPublishable | ( | boolean | publishable | ) |
Definition at line 120 of file Product.java.
void org.turro.financials.entity.Product.setService | ( | boolean | service | ) |
Definition at line 128 of file Product.java.
void org.turro.financials.entity.Product.setTax | ( | double | tax | ) |
Definition at line 112 of file Product.java.