Class InventoryTransactionLineDestinationFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryTransactionLineDestinationFactory
- All Implemented Interfaces:
BaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
@ApplicationScoped
public class InventoryTransactionLineDestinationFactory
extends Object
implements BaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryTransactionLineDestinationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryTransactionLinePK inventoryTransactionLinePK, PartyPK destinationOwnerPartyPK, LocationPK destinationLocationPK, InventoryConditionPK destinationInventoryConditionPK, UnitOfMeasureTypePK destinationUnitOfMeasureTypePK, Long fromTime, Long thruTime) create(InventoryTransactionLine inventoryTransactionLine, Party destinationOwnerParty, Location destinationLocation, InventoryCondition destinationInventoryCondition, UnitOfMeasureType destinationUnitOfMeasureType, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineDestinationPK> 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, InventoryTransactionLineDestinationPK 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, InventoryTransactionLineDestinationValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidvoidvoidvoidstore(Collection<InventoryTransactionLineDestination> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVTRXLDN_INVENTORYTRANSACTIONLINEDESTINATIONID
- See Also:
-
INVTRXLDN_INVTRXL_INVENTORYTRANSACTIONLINEID
- See Also:
-
INVTRXLDN_DESTINATIONOWNERPARTYID
- See Also:
-
INVTRXLDN_DESTINATIONLOCATIONID
- See Also:
-
INVTRXLDN_DESTINATIONINVENTORYCONDITIONID
- See Also:
-
INVTRXLDN_DESTINATIONUNITOFMEASURETYPEID
- See Also:
-
INVTRXLDN_FROMTIME
- See Also:
-
INVTRXLDN_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryTransactionLineDestinationFactory
protected InventoryTransactionLineDestinationFactory()Creates a new instance of InventoryTransactionLineDestinationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryTransactionLineDestinationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryTransactionLineDestinationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryTransactionLineDestinationPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryTransactionLineDestinationValue> getValuesFromPKs(Collection<InventoryTransactionLineDestinationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryTransactionLineDestinationValue getValueFromPK(InventoryTransactionLineDestinationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryTransactionLineDestinationValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryTransactionLineDestinationValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryTransactionLineDestination> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineDestinationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryTransactionLineDestination getEntityFromValue(EntityPermission entityPermission, InventoryTransactionLineDestinationValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryTransactionLineDestination getEntityFromPK(EntityPermission entityPermission, InventoryTransactionLineDestinationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryTransactionLineDestinationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryTransactionLineDestinationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryTransactionLineDestinationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineDestination> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineDestination> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineDestination> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineDestination getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineDestination getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineDestination getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryTransactionLineDestination> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryTransactionLineDestination getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryTransactionLineDestination create(InventoryTransactionLine inventoryTransactionLine, Party destinationOwnerParty, Location destinationLocation, InventoryCondition destinationInventoryCondition, UnitOfMeasureType destinationUnitOfMeasureType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryTransactionLineDestination create(InventoryTransactionLinePK inventoryTransactionLinePK, PartyPK destinationOwnerPartyPK, LocationPK destinationLocationPK, InventoryConditionPK destinationInventoryConditionPK, UnitOfMeasureTypePK destinationUnitOfMeasureTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryTransactionLineDestinationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryTransactionLineDestination> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryTransactionLineDestinationPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(InventoryTransactionLineDestinationPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<InventoryTransactionLineDestinationPK,InventoryTransactionLineDestination> - Throws:
PersistenceDatabaseException
-