Class InventoryTransactionLineSourceFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryTransactionLineSourceFactory
- All Implemented Interfaces:
BaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
@ApplicationScoped
public class InventoryTransactionLineSourceFactory
extends Object
implements BaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryTransactionLineSourceFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryTransactionLinePK inventoryTransactionLinePK, PartyPK sourceOwnerPartyPK, LocationPK sourceLocationPK, InventoryConditionPK sourceInventoryConditionPK, UnitOfMeasureTypePK sourceUnitOfMeasureTypePK, Long fromTime, Long thruTime) create(InventoryTransactionLine inventoryTransactionLine, Party sourceOwnerParty, Location sourceLocation, InventoryCondition sourceInventoryCondition, UnitOfMeasureType sourceUnitOfMeasureType, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineSourcePK> 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, InventoryTransactionLineSourcePK 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, InventoryTransactionLineSourceValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryTransactionLineSource entity) voidvoidstore(InventoryTransactionLineSource entity) voidstore(Collection<InventoryTransactionLineSource> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVTRXLSRC_INVENTORYTRANSACTIONLINESOURCEID
- See Also:
-
INVTRXLSRC_INVTRXL_INVENTORYTRANSACTIONLINEID
- See Also:
-
INVTRXLSRC_SOURCEOWNERPARTYID
- See Also:
-
INVTRXLSRC_SOURCELOCATIONID
- See Also:
-
INVTRXLSRC_SOURCEINVENTORYCONDITIONID
- See Also:
-
INVTRXLSRC_SOURCEUNITOFMEASURETYPEID
- See Also:
-
INVTRXLSRC_FROMTIME
- See Also:
-
INVTRXLSRC_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryTransactionLineSourceFactory
protected InventoryTransactionLineSourceFactory()Creates a new instance of InventoryTransactionLineSourceFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryTransactionLineSourcePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryTransactionLineSourcePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryTransactionLineSourcePK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryTransactionLineSourceValue> getValuesFromPKs(Collection<InventoryTransactionLineSourcePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryTransactionLineSourceValue getValueFromPK(InventoryTransactionLineSourcePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryTransactionLineSourceValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryTransactionLineSourceValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryTransactionLineSource> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryTransactionLineSourcePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryTransactionLineSource getEntityFromValue(EntityPermission entityPermission, InventoryTransactionLineSourceValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryTransactionLineSource getEntityFromPK(EntityPermission entityPermission, InventoryTransactionLineSourcePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryTransactionLineSourcePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryTransactionLineSourcePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryTransactionLineSourcePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineSource> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineSource> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryTransactionLineSource> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineSource getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineSource getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryTransactionLineSource getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryTransactionLineSource> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryTransactionLineSource getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryTransactionLineSource create(InventoryTransactionLine inventoryTransactionLine, Party sourceOwnerParty, Location sourceLocation, InventoryCondition sourceInventoryCondition, UnitOfMeasureType sourceUnitOfMeasureType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryTransactionLineSource create(InventoryTransactionLinePK inventoryTransactionLinePK, PartyPK sourceOwnerPartyPK, LocationPK sourceLocationPK, InventoryConditionPK sourceInventoryConditionPK, UnitOfMeasureTypePK sourceUnitOfMeasureTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryTransactionLineSourceValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryTransactionLineSource> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryTransactionLineSourcePK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryTransactionLineSourcePK,InventoryTransactionLineSource> - Throws:
PersistenceDatabaseException
-