Class InventoryLayerFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLayerFactory
- All Implemented Interfaces:
BaseFactory<InventoryLayerPK,InventoryLayer>
@ApplicationScoped
public class InventoryLayerFactory
extends Object
implements BaseFactory<InventoryLayerPK,InventoryLayer>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLayerFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(InventoryLayerDetailPK activeDetailPK, InventoryLayerDetailPK lastDetailPK) create(InventoryLayerDetail activeDetail, InventoryLayerDetail lastDetail) voidcreate(Collection<InventoryLayerValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLayerPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromPK(EntityPermission entityPermission, InventoryLayerPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, InventoryLayerValue value) static InventoryLayerFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryLayer entity) voidremove(Collection<InventoryLayerPK> pks) voidstore(InventoryLayer entity) voidstore(Collection<InventoryLayer> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVL_INVENTORYLAYERID
- See Also:
-
INVL_ACTIVEDETAILID
- See Also:
-
INVL_LASTDETAILID
- See Also:
-
-
Constructor Details
-
InventoryLayerFactory
protected InventoryLayerFactory()Creates a new instance of InventoryLayerFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLayerPK,InventoryLayer>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLayerPK,InventoryLayer>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLayerPK,InventoryLayer>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLayerPK,InventoryLayer>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLayerPK,InventoryLayer>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLayerPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLayerPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLayerValue> getValuesFromPKs(Collection<InventoryLayerPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLayerValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLayer> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLayerPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLayer getEntityFromValue(EntityPermission entityPermission, InventoryLayerValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryLayer getEntityFromPK(EntityPermission entityPermission, InventoryLayerPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLayerPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLayerPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLayerPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLayer> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLayer> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLayer> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLayer getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLayer getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLayer getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLayer> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLayer getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public InventoryLayer create(InventoryLayerDetail activeDetail, InventoryLayerDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLayer create(InventoryLayerDetailPK activeDetailPK, InventoryLayerDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLayerValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryLayerPK,InventoryLayer> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InventoryLayerPK,InventoryLayer> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLayerPK,InventoryLayer> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLayerPK,InventoryLayer> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLayerPK,InventoryLayer> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryLayerPK,InventoryLayer> - Throws:
PersistenceDatabaseException
-