Class InventoryLocationBucketFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLocationBucketFactory
- All Implemented Interfaces:
BaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
@ApplicationScoped
public class InventoryLocationBucketFactory
extends Object
implements BaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLocationBucketFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryLocationPK inventoryLocationPK, InventoryBucketTypePK inventoryBucketTypePK, Long quantity) create(InventoryLocation inventoryLocation, InventoryBucketType inventoryBucketType, Long quantity) voidcreate(Collection<InventoryLocationBucketValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationBucketPK> 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, InventoryLocationBucketPK 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, InventoryLocationBucketValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryLocationBucket entity) voidvoidstore(InventoryLocationBucket entity) voidstore(Collection<InventoryLocationBucket> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLOCBCKTD_INVENTORYLOCATIONBUCKETID
- See Also:
-
INVLOCBCKTD_INVLOC_INVENTORYLOCATIONID
- See Also:
-
INVLOCBCKTD_INVBCKTTYP_INVENTORYBUCKETTYPEID
- See Also:
-
INVLOCBCKTD_QUANTITY
- See Also:
-
-
Constructor Details
-
InventoryLocationBucketFactory
protected InventoryLocationBucketFactory()Creates a new instance of InventoryLocationBucketFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLocationBucketPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLocationBucketPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryLocationBucketPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLocationBucketValue> getValuesFromPKs(Collection<InventoryLocationBucketPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLocationBucketValue getValueFromPK(InventoryLocationBucketPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLocationBucketValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLocationBucketValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationBucket> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationBucketPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLocationBucket getEntityFromValue(EntityPermission entityPermission, InventoryLocationBucketValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryLocationBucket getEntityFromPK(EntityPermission entityPermission, InventoryLocationBucketPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLocationBucketPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLocationBucketPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLocationBucketPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationBucket> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationBucket> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationBucket> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationBucket getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationBucket getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationBucket getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationBucket> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationBucket getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLocationBucket create(InventoryLocation inventoryLocation, InventoryBucketType inventoryBucketType, Long quantity) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationBucket create(InventoryLocationPK inventoryLocationPK, InventoryBucketTypePK inventoryBucketTypePK, Long quantity) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLocationBucketValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryLocationBucketPK,InventoryLocationBucket> - Throws:
PersistenceDatabaseException
-