Class InventoryLocationGroupDetailFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLocationGroupDetailFactory
- All Implemented Interfaces:
BaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
@ApplicationScoped
public class InventoryLocationGroupDetailFactory
extends Object
implements BaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLocationGroupDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryLocationGroupPK inventoryLocationGroupPK, PartyPK warehousePartyPK, String inventoryLocationGroupName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(InventoryLocationGroup inventoryLocationGroup, Party warehouseParty, String inventoryLocationGroupName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationGroupDetailPK> 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, InventoryLocationGroupDetailPK 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, InventoryLocationGroupDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryLocationGroupDetail entity) voidvoidstore(InventoryLocationGroupDetail entity) voidstore(Collection<InventoryLocationGroupDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLOCGRPDT_INVENTORYLOCATIONGROUPDETAILID
- See Also:
-
INVLOCGRPDT_INVLOCGRP_INVENTORYLOCATIONGROUPID
- See Also:
-
INVLOCGRPDT_WAREHOUSEPARTYID
- See Also:
-
INVLOCGRPDT_INVENTORYLOCATIONGROUPNAME
- See Also:
-
INVLOCGRPDT_ISDEFAULT
- See Also:
-
INVLOCGRPDT_SORTORDER
- See Also:
-
INVLOCGRPDT_FROMTIME
- See Also:
-
INVLOCGRPDT_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryLocationGroupDetailFactory
protected InventoryLocationGroupDetailFactory()Creates a new instance of InventoryLocationGroupDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLocationGroupDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLocationGroupDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryLocationGroupDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLocationGroupDetailValue> getValuesFromPKs(Collection<InventoryLocationGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLocationGroupDetailValue getValueFromPK(InventoryLocationGroupDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLocationGroupDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLocationGroupDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationGroupDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLocationGroupDetail getEntityFromValue(EntityPermission entityPermission, InventoryLocationGroupDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryLocationGroupDetail getEntityFromPK(EntityPermission entityPermission, InventoryLocationGroupDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLocationGroupDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLocationGroupDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLocationGroupDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroupDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroupDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroupDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationGroupDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationGroupDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLocationGroupDetail create(InventoryLocationGroup inventoryLocationGroup, Party warehouseParty, String inventoryLocationGroupName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationGroupDetail create(InventoryLocationGroupPK inventoryLocationGroupPK, PartyPK warehousePartyPK, String inventoryLocationGroupName, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLocationGroupDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryLocationGroupDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryLocationGroupDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryLocationGroupDetailPK,InventoryLocationGroupDetail> - Throws:
PersistenceDatabaseException
-