Class PartyInventoryLevelFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.PartyInventoryLevelFactory
- All Implemented Interfaces:
BaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
@ApplicationScoped
public class PartyInventoryLevelFactory
extends Object
implements BaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyInventoryLevelFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyPK partyPK, ItemPK itemPK, InventoryConditionPK inventoryConditionPK, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) create(Party party, Item item, InventoryCondition inventoryCondition, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) create(Session session, PartyPK partyPK, ItemPK itemPK, InventoryConditionPK inventoryConditionPK, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) create(Session session, Party party, Item item, InventoryCondition inventoryCondition, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) voidcreate(Session session, Collection<PartyInventoryLevelValue> _values) voidcreate(Collection<PartyInventoryLevelValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyInventoryLevelPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PartyInventoryLevelPK> 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, PartyInventoryLevelPK pk) getEntityFromPK(EntityPermission entityPermission, PartyInventoryLevelPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, PartyInventoryLevelPK 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, PartyInventoryLevelValue value) getEntityFromValue(Session session, EntityPermission entityPermission, PartyInventoryLevelValue value) static PartyInventoryLevelFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, PartyInventoryLevelPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<PartyInventoryLevelPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, PartyInventoryLevelPK pk) voidremove(Session session, PartyInventoryLevel entity) voidremove(Session session, Collection<PartyInventoryLevelPK> pks) voidvoidstore(Session session, PartyInventoryLevel entity) voidstore(Session session, Collection<PartyInventoryLevel> entities) voidstore(Collection<PartyInventoryLevel> entities) booleanvalidPK(Session session, PartyInventoryLevelPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
PARINVLVL_PARTYINVENTORYLEVELID
- See Also:
-
PARINVLVL_PAR_PARTYID
- See Also:
-
PARINVLVL_ITM_ITEMID
- See Also:
-
PARINVLVL_INVCON_INVENTORYCONDITIONID
- See Also:
-
PARINVLVL_MINIMUMINVENTORY
- See Also:
-
PARINVLVL_MAXIMUMINVENTORY
- See Also:
-
PARINVLVL_REORDERQUANTITY
- See Also:
-
PARINVLVL_FROMTIME
- See Also:
-
PARINVLVL_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyInventoryLevelFactory
protected PartyInventoryLevelFactory()Creates a new instance of PartyInventoryLevelFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyInventoryLevelPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyInventoryLevelPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyInventoryLevelValue> getValuesFromPKs(Session session, Collection<PartyInventoryLevelPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyInventoryLevelValue getValueFromPK(Session session, PartyInventoryLevelPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyInventoryLevelValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyInventoryLevelValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyInventoryLevel> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyInventoryLevelPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyInventoryLevel> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PartyInventoryLevelPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyInventoryLevel getEntityFromValue(EntityPermission entityPermission, PartyInventoryLevelValue value) -
getEntityFromValue
public PartyInventoryLevel getEntityFromValue(Session session, EntityPermission entityPermission, PartyInventoryLevelValue value) -
getEntityFromPK
public PartyInventoryLevel getEntityFromPK(EntityPermission entityPermission, PartyInventoryLevelPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public PartyInventoryLevel getEntityFromPK(Session session, EntityPermission entityPermission, PartyInventoryLevelPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyInventoryLevelPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyInventoryLevelPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyInventoryLevelPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryLevel> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryLevel getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyInventoryLevel> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyInventoryLevel> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyInventoryLevel getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyInventoryLevel getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyInventoryLevel create(Session session, Party party, Item item, InventoryCondition inventoryCondition, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyInventoryLevel create(Party party, Item item, InventoryCondition inventoryCondition, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyInventoryLevel create(Session session, PartyPK partyPK, ItemPK itemPK, InventoryConditionPK inventoryConditionPK, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyInventoryLevel create(PartyPK partyPK, ItemPK itemPK, InventoryConditionPK inventoryConditionPK, Long minimumInventory, Long maximumInventory, Long reorderQuantity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<PartyInventoryLevelValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyInventoryLevelValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<PartyInventoryLevel> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<PartyInventoryLevelPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, PartyInventoryLevelPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<PartyInventoryLevelPK,PartyInventoryLevel> - Throws:
PersistenceDatabaseException
-