Class InventoryLayerStatusFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLayerStatusFactory
- All Implemented Interfaces:
BaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
@ApplicationScoped
public class InventoryLayerStatusFactory
extends Object
implements BaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLayerStatusFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryLayerPK inventoryLayerPK, Long quantityOnHand, Long quantityAllocated) create(InventoryLayer inventoryLayer, Long quantityOnHand, Long quantityAllocated) voidcreate(Collection<InventoryLayerStatusValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLayerStatusPK> 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, InventoryLayerStatusPK 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, InventoryLayerStatusValue value) static InventoryLayerStatusFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryLayerStatus entity) voidvoidstore(InventoryLayerStatus entity) voidstore(Collection<InventoryLayerStatus> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLST_INVENTORYLAYERSTATUSID
- See Also:
-
INVLST_INVL_INVENTORYLAYERID
- See Also:
-
INVLST_QUANTITYONHAND
- See Also:
-
INVLST_QUANTITYALLOCATED
- See Also:
-
-
Constructor Details
-
InventoryLayerStatusFactory
protected InventoryLayerStatusFactory()Creates a new instance of InventoryLayerStatusFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLayerStatusPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLayerStatusPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLayerStatusValue> getValuesFromPKs(Collection<InventoryLayerStatusPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLayerStatusValue getValueFromPK(InventoryLayerStatusPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLayerStatusValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLayerStatusValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLayerStatus> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLayerStatusPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLayerStatus getEntityFromValue(EntityPermission entityPermission, InventoryLayerStatusValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryLayerStatus getEntityFromPK(EntityPermission entityPermission, InventoryLayerStatusPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLayerStatusPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLayerStatusPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLayerStatusPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLayerStatus> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLayerStatus> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLayerStatus> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLayerStatus getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLayerStatus getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLayerStatus getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLayerStatus> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLayerStatus getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLayerStatus create(InventoryLayer inventoryLayer, Long quantityOnHand, Long quantityAllocated) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLayerStatus create(InventoryLayerPK inventoryLayerPK, Long quantityOnHand, Long quantityAllocated) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLayerStatusValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryLayerStatusPK,InventoryLayerStatus> - Throws:
PersistenceDatabaseException
-