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)
FieldDao
readFieldByAbbreviation
in interface FieldDao
public List<Field> readAllProductFields()
readAllProductFields
in interface FieldDao
public List<Field> readAllSkuFields()
readAllSkuFields
in interface FieldDao
public List<Field> readFieldsByEntityType(FieldEntity entityType)
FieldDao
readFieldsByEntityType
in interface FieldDao
Copyright © 2020. All rights reserved.