Class InventoryLocationGroupCapacityFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLocationGroupCapacityFactory
- All Implemented Interfaces:
BaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
@ApplicationScoped
public class InventoryLocationGroupCapacityFactory
extends Object
implements BaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLocationGroupCapacityFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryLocationGroupPK inventoryLocationGroupPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long capacity, Long fromTime, Long thruTime) create(InventoryLocationGroup inventoryLocationGroup, UnitOfMeasureType unitOfMeasureType, Long capacity, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationGroupCapacityPK> 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, InventoryLocationGroupCapacityPK 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, InventoryLocationGroupCapacityValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryLocationGroupCapacity entity) voidvoidstore(InventoryLocationGroupCapacity entity) voidstore(Collection<InventoryLocationGroupCapacity> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLOCGRPCAP_INVENTORYLOCATIONGROUPCAPACITYID
- See Also:
-
INVLOCGRPCAP_INVLOCGRP_INVENTORYLOCATIONGROUPID
- See Also:
-
INVLOCGRPCAP_UOMT_UNITOFMEASURETYPEID
- See Also:
-
INVLOCGRPCAP_CAPACITY
- See Also:
-
INVLOCGRPCAP_FROMTIME
- See Also:
-
INVLOCGRPCAP_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryLocationGroupCapacityFactory
protected InventoryLocationGroupCapacityFactory()Creates a new instance of InventoryLocationGroupCapacityFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLocationGroupCapacityPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLocationGroupCapacityPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryLocationGroupCapacityPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLocationGroupCapacityValue> getValuesFromPKs(Collection<InventoryLocationGroupCapacityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLocationGroupCapacityValue getValueFromPK(InventoryLocationGroupCapacityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLocationGroupCapacityValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLocationGroupCapacityValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationGroupCapacity> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationGroupCapacityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLocationGroupCapacity getEntityFromValue(EntityPermission entityPermission, InventoryLocationGroupCapacityValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryLocationGroupCapacity getEntityFromPK(EntityPermission entityPermission, InventoryLocationGroupCapacityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLocationGroupCapacityPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLocationGroupCapacityPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLocationGroupCapacityPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroupCapacity> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroupCapacity> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroupCapacity> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroupCapacity getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroupCapacity getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroupCapacity getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationGroupCapacity> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationGroupCapacity getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLocationGroupCapacity create(InventoryLocationGroup inventoryLocationGroup, UnitOfMeasureType unitOfMeasureType, Long capacity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationGroupCapacity create(InventoryLocationGroupPK inventoryLocationGroupPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long capacity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLocationGroupCapacityValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryLocationGroupCapacity> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryLocationGroupCapacityPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryLocationGroupCapacityPK,InventoryLocationGroupCapacity> - Throws:
PersistenceDatabaseException
-