Class InventoryTransactionLineTimeFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryTransactionLineTimeFactory
- All Implemented Interfaces:
BaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
@ApplicationScoped
public class InventoryTransactionLineTimeFactory
extends Object
implements BaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryTransactionLineTimeFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryTransactionLinePK inventoryTransactionLinePK, InventoryTransactionTimeTypePK inventoryTransactionTimeTypePK, Long time, Long fromTime, Long thruTime) create(InventoryTransactionLine inventoryTransactionLine, InventoryTransactionTimeType inventoryTransactionTimeType, Long time, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineTimePK> 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, InventoryTransactionLineTimePK 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, InventoryTransactionLineTimeValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryTransactionLineTime entity) voidvoidstore(InventoryTransactionLineTime entity) voidstore(Collection<InventoryTransactionLineTime> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVTRXLTIM_INVENTORYTRANSACTIONLINETIMEID
- See Also:
-
INVTRXLTIM_INVTRXL_INVENTORYTRANSACTIONLINEID
- See Also:
-
INVTRXLTIM_INVTRXTIMTYP_INVENTORYTRANSACTIONTIMETYPEID
- See Also:
-
INVTRXLTIM_TIME
- See Also:
-
INVTRXLTIM_FROMTIME
- See Also:
-
INVTRXLTIM_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryTransactionLineTimeFactory
protected InventoryTransactionLineTimeFactory()Creates a new instance of InventoryTransactionLineTimeFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryTransactionLineTimePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryTransactionLineTimePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryTransactionLineTimePK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryTransactionLineTimeValue> getValuesFromPKs(Collection<InventoryTransactionLineTimePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryTransactionLineTimeValue getValueFromPK(InventoryTransactionLineTimePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryTransactionLineTimeValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryTransactionLineTimeValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryTransactionLineTime> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineTimePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryTransactionLineTime getEntityFromValue(EntityPermission entityPermission, InventoryTransactionLineTimeValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryTransactionLineTime getEntityFromPK(EntityPermission entityPermission, InventoryTransactionLineTimePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryTransactionLineTimePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryTransactionLineTimePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryTransactionLineTimePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineTime> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineTime> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineTime> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineTime getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineTime getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineTime getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryTransactionLineTime> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryTransactionLineTime getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryTransactionLineTime create(InventoryTransactionLine inventoryTransactionLine, InventoryTransactionTimeType inventoryTransactionTimeType, Long time, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryTransactionLineTime create(InventoryTransactionLinePK inventoryTransactionLinePK, InventoryTransactionTimeTypePK inventoryTransactionTimeTypePK, Long time, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryTransactionLineTimeValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryTransactionLineTime> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryTransactionLineTimePK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryTransactionLineTimePK,InventoryTransactionLineTime> - Throws:
PersistenceDatabaseException
-