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) create(Session session, LocationPK locationPK, PartyPK ownerPartyPK, ItemPK itemPK, UnitOfMeasureTypePK unitOfMeasureTypePK, InventoryConditionPK inventoryConditionPK, Long fromTime, Long thruTime) create(Session session, Location location, Party ownerParty, Item item, UnitOfMeasureType unitOfMeasureType, InventoryCondition inventoryCondition, Long fromTime, Long thruTime) voidcreate(Session session, Collection<InventoryLocationAssignmentValue> _values) voidcreate(Collection<InventoryLocationAssignmentValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationAssignmentPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<InventoryLocationAssignmentPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, InventoryLocationAssignmentPK pk) getEntityFromPK(EntityPermission entityPermission, InventoryLocationAssignmentPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, InventoryLocationAssignmentPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, InventoryLocationAssignmentValue value) getEntityFromValue(Session session, EntityPermission entityPermission, InventoryLocationAssignmentValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, InventoryLocationAssignmentPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<InventoryLocationAssignmentPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, InventoryLocationAssignmentPK pk) voidremove(Session session, InventoryLocationAssignment entity) voidremove(Session session, Collection<InventoryLocationAssignmentPK> pks) voidvoidstore(Session session, InventoryLocationAssignment entity) voidstore(Session session, Collection<InventoryLocationAssignment> entities) voidstore(Collection<InventoryLocationAssignment> entities) booleanvalidPK(Session session, InventoryLocationAssignmentPK pk)
-
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(Session session, Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLocationAssignmentValue getValueFromPK(Session session, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLocationAssignmentValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLocationAssignmentValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationAssignment> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationAssignment> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLocationAssignment getEntityFromValue(EntityPermission entityPermission, InventoryLocationAssignmentValue value) -
getEntityFromValue
public InventoryLocationAssignment getEntityFromValue(Session session, EntityPermission entityPermission, InventoryLocationAssignmentValue value) -
getEntityFromPK
public InventoryLocationAssignment getEntityFromPK(EntityPermission entityPermission, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
public InventoryLocationAssignment getEntityFromCache(Session session, InventoryLocationAssignmentPK pk) -
getEntityFromPK
public InventoryLocationAssignment getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationAssignment> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationAssignment> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationAssignment getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationAssignment getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationAssignment getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationAssignment> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationAssignment> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationAssignment getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationAssignment getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLocationAssignment create(Session session, Location location, Party ownerParty, Item item, UnitOfMeasureType unitOfMeasureType, InventoryCondition inventoryCondition, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
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(Session session, LocationPK locationPK, PartyPK ownerPartyPK, ItemPK itemPK, UnitOfMeasureTypePK unitOfMeasureTypePK, InventoryConditionPK inventoryConditionPK, 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(Session session, Collection<InventoryLocationAssignmentValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLocationAssignmentValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, InventoryLocationAssignment entity) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<InventoryLocationAssignment> entities) throws PersistenceDatabaseException - 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
public void remove(Session session, InventoryLocationAssignment entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - 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
public boolean validPK(Session session, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-