| Package | Description |
|---|---|
| com.herbocailleau.sgq.business | |
| com.herbocailleau.sgq.business.services | |
| com.herbocailleau.sgq.business.services.csv | |
| com.herbocailleau.sgq.entities |
| Modifier and Type | Method and Description |
|---|---|
static String |
SgqUtils.getProductUnit(SgqBusinessConfig config,
Product product)
Les unités des produits sont définis par le prefix de leurs code.
|
| Modifier and Type | Method and Description |
|---|---|
Product |
ReferentialService.getProductById(String productId) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.commons.lang3.tuple.Pair<List<Product>,Long> |
ReferentialService.getProducts(ProductSearchModel search,
int offset,
int count)
Get product ordered by code.
|
List<ImportLog<Product>> |
ReferentialService.importProducts(File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReferentialService.archiveProduct(Product product)
Archive product.
|
boolean |
ReferentialService.canBeArchivedProduct(Product product)
Test if product is not currently used by a non expired batch to
be archived.
|
boolean |
ReferentialService.canBeDeleteProduct(Product product)
Test if current product is not used into 'emplacements' and 'batch' table
to allow deletion.
|
void |
ReferentialService.deleteProduct(Product product)
Delete product.
|
void |
ReferentialService.saveProduct(Product product,
String productStatusName) |
void |
ReferentialService.unArchiveProduct(Product product)
Unarchive product.
|
| Modifier and Type | Field and Description |
|---|---|
protected Product |
PlaceBean.product |
protected Product |
InventoryBean.product |
| Modifier and Type | Method and Description |
|---|---|
Product |
PlaceBean.getProduct() |
Product |
InventoryBean.getProduct() |
| Modifier and Type | Method and Description |
|---|---|
void |
PlaceBean.setProduct(Product product) |
void |
InventoryBean.setProduct(Product product) |
| Constructor and Description |
|---|
InventoryImportModel(Map<Integer,Batch> batchCache,
Map<String,Place> places,
Map<String,Product> products) |
PlaceImportModel(Map<String,Product> products) |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductDAOAbstract<E extends Product> |
class |
ProductDAOImpl<E extends Product> |
| Modifier and Type | Class and Description |
|---|---|
class |
ProductAbstract |
class |
ProductImpl |
| Modifier and Type | Field and Description |
|---|---|
protected Product |
BatchAbstract.product
Nom de l'attribut en BD : product
|
protected Product |
ProductPlaceAbstract.product
Nom de l'attribut en BD : product
|
| Modifier and Type | Method and Description |
|---|---|
Product |
Batch.getProduct() |
Product |
BatchAbstract.getProduct() |
Product |
ProductPlaceAbstract.getProduct() |
Product |
ProductPlace.getProduct() |
| Modifier and Type | Method and Description |
|---|---|
List<Product> |
ProductDAOImpl.findAllModel(ProductSearchModel search)
Retourne l'ensemble des produits correspondant au filtre.
|
List<Product> |
ProductDAOImpl.findAllModel(ProductSearchModel search,
int offset,
int limit)
Retourne l'ensemble des produits correspondant au filtre.
|
| Modifier and Type | Method and Description |
|---|---|
List<E> |
BatchDAOAbstract.findAllByProduct(Product v) |
List<E> |
ProductPlaceDAOAbstract.findAllByProduct(Product v) |
E |
BatchDAOAbstract.findByProduct(Product v) |
E |
ProductPlaceDAOAbstract.findByProduct(Product v) |
boolean |
ProductDAOImpl.isUsedByAnyBatch(Product product)
Test is product is used by any batch in system.
|
boolean |
ProductDAOImpl.isUsedByNonExpiredBatch(Product product)
Test is product is used by non expired batch.
|
void |
Batch.setProduct(Product product) |
void |
BatchAbstract.setProduct(Product product) |
void |
ProductPlaceAbstract.setProduct(Product product) |
void |
ProductPlace.setProduct(Product product) |
Copyright © 2012-2013 Herboristerie Cailleau. All Rights Reserved.