Class InventoryLocationAssignmentFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLocationAssignmentFactory
- All Implemented Interfaces:
BaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
@ApplicationScoped
public class InventoryLocationAssignmentFactory
extends Object
implements BaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLocationAssignmentFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(LocationPK locationPK, PartyPK ownerPartyPK, ItemPK itemPK, UnitOfMeasureTypePK unitOfMeasureTypePK, InventoryConditionPK inventoryConditionPK, Long fromTime, Long thruTime) create(Location location, Party ownerParty, Item item, UnitOfMeasureType unitOfMeasureType, InventoryCondition inventoryCondition, Long fromTime, Long thruTime) voidcreate(Collection<InventoryLocationAssignmentValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationAssignmentPK> 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, InventoryLocationAssignmentPK 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, InventoryLocationAssignmentValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryLocationAssignment entity) voidvoidstore(InventoryLocationAssignment entity) voidstore(Collection<InventoryLocationAssignment> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLOCASGN_INVENTORYLOCATIONASSIGNMENTID
- See Also:
-
INVLOCASGN_LOC_LOCATIONID
- See Also:
-
INVLOCASGN_OWNERPARTYID
- See Also:
-
INVLOCASGN_ITM_ITEMID
- See Also:
-
INVLOCASGN_UOMT_UNITOFMEASURETYPEID
- See Also:
-
INVLOCASGN_INVCON_INVENTORYCONDITIONID
- See Also:
-
INVLOCASGN_FROMTIME
- See Also:
-
INVLOCASGN_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryLocationAssignmentFactory
protected InventoryLocationAssignmentFactory()Creates a new instance of InventoryLocationAssignmentFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLocationAssignmentPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLocationAssignmentPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryLocationAssignmentPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLocationAssignmentValue> getValuesFromPKs(Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLocationAssignmentValue getValueFromPK(InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLocationAssignmentValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLocationAssignmentValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationAssignment> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLocationAssignment getEntityFromValue(EntityPermission entityPermission, InventoryLocationAssignmentValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryLocationAssignment getEntityFromPK(EntityPermission entityPermission, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLocationAssignmentPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLocationAssignmentPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLocationAssignmentPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationAssignment> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationAssignment> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationAssignment> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationAssignment getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationAssignment getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationAssignment getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationAssignment> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationAssignment getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLocationAssignment create(Location location, Party ownerParty, Item item, UnitOfMeasureType unitOfMeasureType, InventoryCondition inventoryCondition, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationAssignment create(LocationPK locationPK, PartyPK ownerPartyPK, ItemPK itemPK, UnitOfMeasureTypePK unitOfMeasureTypePK, InventoryConditionPK inventoryConditionPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLocationAssignmentValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryLocationAssignment> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-