| Modifier and Type | Field and Description | 
|---|---|
| protected javax.persistence.EntityManager | em | 
| protected EntityConfiguration | entityConfiguration | 
| Constructor and Description | 
|---|
| FieldDaoImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Field> | readAllProductFields() | 
| List<Field> | readAllSkuFields() | 
| Field | readFieldByAbbreviation(String abbreviation)Given an abbreviation, returns the Field object that maps to this abbreviation. | 
| List<Field> | readFieldsByEntityType(FieldEntity entityType)Finds all fields based on the entity type. | 
| Field | save(Field field)Persist an instance to the data layer. | 
protected javax.persistence.EntityManager em
protected EntityConfiguration entityConfiguration
public Field readFieldByAbbreviation(String abbreviation)
FieldDaoreadFieldByAbbreviation in interface FieldDaopublic List<Field> readAllProductFields()
readAllProductFields in interface FieldDaopublic List<Field> readAllSkuFields()
readAllSkuFields in interface FieldDaopublic List<Field> readFieldsByEntityType(FieldEntity entityType)
FieldDaoreadFieldsByEntityType in interface FieldDaoCopyright © 2020. All rights reserved.