Class InventoryLocationAssignmentFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLocationAssignmentFactory
- All Implemented Interfaces:
BaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment>
public class InventoryLocationAssignmentFactory
extends Object
implements BaseFactory<InventoryLocationAssignmentPK,InventoryLocationAssignment>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Session session, LotPK lotPK, LocationPK locationPK, Long quantity, Long fromTime, Long thruTime) void
create
(Session session, Collection<InventoryLocationAssignmentValue> _values) void
create
(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) void
remove
(Session session, InventoryLocationAssignmentPK pk) void
remove
(Session session, InventoryLocationAssignment entity) void
remove
(Session session, Collection<InventoryLocationAssignmentPK> pks) void
void
store
(Session session, InventoryLocationAssignment entity) void
store
(Session session, Collection<InventoryLocationAssignment> entities) void
store
(Collection<InventoryLocationAssignment> entities) boolean
validPK
(Session session, InventoryLocationAssignmentPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLOCASGN_INVENTORYLOCATIONASSIGNMENTID
- See Also:
-
INVLOCASGN_LT_LOTID
- See Also:
-
INVLOCASGN_LOC_LOCATIONID
- See Also:
-
INVLOCASGN_QUANTITY
- See Also:
-
INVLOCASGN_FROMTIME
- See Also:
-
INVLOCASGN_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in 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, Lot lot, Location location, Long quantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationAssignment create(Lot lot, Location location, Long quantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationAssignment create(Session session, LotPK lotPK, LocationPK locationPK, Long quantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationAssignment create(LotPK lotPK, LocationPK locationPK, Long quantity, 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:
store
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<InventoryLocationAssignment> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryLocationAssignment> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, InventoryLocationAssignment entity) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryLocationAssignmentPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, InventoryLocationAssignmentPK pk) throws PersistenceDatabaseException - Specified by:
validPK
in interfaceBaseFactory<InventoryLocationAssignmentPK,
InventoryLocationAssignment> - Throws:
PersistenceDatabaseException
-