Class InventoryTransactionLineDetailFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryTransactionLineDetailFactory
- All Implemented Interfaces:
BaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
@ApplicationScoped
public class InventoryTransactionLineDetailFactory
extends Object
implements BaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryTransactionLineDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryTransactionLinePK inventoryTransactionLinePK, InventoryTransactionPK inventoryTransactionPK, Integer inventoryTransactionLineSequence, InventoryTransactionReasonPK inventoryTransactionReasonPK, ItemPK itemPK, LotPK lotPK, InventoryAdjustmentTypePK inventoryAdjustmentTypePK, Long unitAmount, String description, Long fromTime, Long thruTime) create(InventoryTransactionLine inventoryTransactionLine, InventoryTransaction inventoryTransaction, Integer inventoryTransactionLineSequence, InventoryTransactionReason inventoryTransactionReason, Item item, Lot lot, InventoryAdjustmentType inventoryAdjustmentType, Long unitAmount, String description, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineDetailPK> 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, InventoryTransactionLineDetailPK 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, InventoryTransactionLineDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryTransactionLineDetail entity) voidvoidstore(InventoryTransactionLineDetail entity) voidstore(Collection<InventoryTransactionLineDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVTRXLDT_INVENTORYTRANSACTIONLINEDETAILID
- See Also:
-
INVTRXLDT_INVTRXL_INVENTORYTRANSACTIONLINEID
- See Also:
-
INVTRXLDT_INVTRX_INVENTORYTRANSACTIONID
- See Also:
-
INVTRXLDT_INVENTORYTRANSACTIONLINESEQUENCE
- See Also:
-
INVTRXLDT_INVTRXRSN_INVENTORYTRANSACTIONREASONID
- See Also:
-
INVTRXLDT_ITM_ITEMID
- See Also:
-
INVTRXLDT_LT_LOTID
- See Also:
-
INVTRXLDT_INVADJTYP_INVENTORYADJUSTMENTTYPEID
- See Also:
-
INVTRXLDT_UNITAMOUNT
- See Also:
-
INVTRXLDT_DESCRIPTION
- See Also:
-
INVTRXLDT_FROMTIME
- See Also:
-
INVTRXLDT_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryTransactionLineDetailFactory
protected InventoryTransactionLineDetailFactory()Creates a new instance of InventoryTransactionLineDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryTransactionLineDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryTransactionLineDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryTransactionLineDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryTransactionLineDetailValue> getValuesFromPKs(Collection<InventoryTransactionLineDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryTransactionLineDetailValue getValueFromPK(InventoryTransactionLineDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryTransactionLineDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryTransactionLineDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryTransactionLineDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryTransactionLineDetail getEntityFromValue(EntityPermission entityPermission, InventoryTransactionLineDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryTransactionLineDetail getEntityFromPK(EntityPermission entityPermission, InventoryTransactionLineDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryTransactionLineDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryTransactionLineDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryTransactionLineDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryTransactionLineDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryTransactionLineDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryTransactionLineDetail create(InventoryTransactionLine inventoryTransactionLine, InventoryTransaction inventoryTransaction, Integer inventoryTransactionLineSequence, InventoryTransactionReason inventoryTransactionReason, Item item, Lot lot, InventoryAdjustmentType inventoryAdjustmentType, Long unitAmount, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryTransactionLineDetail create(InventoryTransactionLinePK inventoryTransactionLinePK, InventoryTransactionPK inventoryTransactionPK, Integer inventoryTransactionLineSequence, InventoryTransactionReasonPK inventoryTransactionReasonPK, ItemPK itemPK, LotPK lotPK, InventoryAdjustmentTypePK inventoryAdjustmentTypePK, Long unitAmount, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryTransactionLineDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryTransactionLineDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryTransactionLineDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryTransactionLineDetailPK,InventoryTransactionLineDetail> - Throws:
PersistenceDatabaseException
-