Class InventoryLocationGroupFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryLocationGroupFactory
- All Implemented Interfaces:
BaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
@ApplicationScoped
public class InventoryLocationGroupFactory
extends Object
implements BaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryLocationGroupFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(InventoryLocationGroupDetailPK activeDetailPK, InventoryLocationGroupDetailPK lastDetailPK) create(InventoryLocationGroupDetail activeDetail, InventoryLocationGroupDetail lastDetail) create(Session session, InventoryLocationGroupDetailPK activeDetailPK, InventoryLocationGroupDetailPK lastDetailPK) create(Session session, InventoryLocationGroupDetail activeDetail, InventoryLocationGroupDetail lastDetail) voidcreate(Session session, Collection<InventoryLocationGroupValue> _values) voidcreate(Collection<InventoryLocationGroupValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationGroupPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<InventoryLocationGroupPK> 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, InventoryLocationGroupPK pk) getEntityFromPK(EntityPermission entityPermission, InventoryLocationGroupPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, InventoryLocationGroupPK 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, InventoryLocationGroupValue value) getEntityFromValue(Session session, EntityPermission entityPermission, InventoryLocationGroupValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, InventoryLocationGroupPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<InventoryLocationGroupPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, InventoryLocationGroupPK pk) voidremove(Session session, InventoryLocationGroup entity) voidremove(Session session, Collection<InventoryLocationGroupPK> pks) voidvoidstore(Session session, InventoryLocationGroup entity) voidstore(Session session, Collection<InventoryLocationGroup> entities) voidstore(Collection<InventoryLocationGroup> entities) booleanvalidPK(Session session, InventoryLocationGroupPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
INVLOCGRP_INVENTORYLOCATIONGROUPID
- See Also:
-
INVLOCGRP_ACTIVEDETAILID
- See Also:
-
INVLOCGRP_LASTDETAILID
- See Also:
-
-
Constructor Details
-
InventoryLocationGroupFactory
protected InventoryLocationGroupFactory()Creates a new instance of InventoryLocationGroupFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryLocationGroupPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryLocationGroupPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryLocationGroupPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryLocationGroupValue> getValuesFromPKs(Session session, Collection<InventoryLocationGroupPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryLocationGroupValue getValueFromPK(Session session, InventoryLocationGroupPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryLocationGroupValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryLocationGroupValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationGroup> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryLocationGroupPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryLocationGroup> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<InventoryLocationGroupPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryLocationGroup getEntityFromValue(EntityPermission entityPermission, InventoryLocationGroupValue value) -
getEntityFromValue
public InventoryLocationGroup getEntityFromValue(Session session, EntityPermission entityPermission, InventoryLocationGroupValue value) -
getEntityFromPK
public InventoryLocationGroup getEntityFromPK(EntityPermission entityPermission, InventoryLocationGroupPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public InventoryLocationGroup getEntityFromPK(Session session, EntityPermission entityPermission, InventoryLocationGroupPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryLocationGroupPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryLocationGroupPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryLocationGroupPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryLocationGroup> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryLocationGroup getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationGroup> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryLocationGroup> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationGroup getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryLocationGroup getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryLocationGroup create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public InventoryLocationGroup create(Session session, InventoryLocationGroupDetail activeDetail, InventoryLocationGroupDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationGroup create(InventoryLocationGroupDetail activeDetail, InventoryLocationGroupDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationGroup create(Session session, InventoryLocationGroupDetailPK activeDetailPK, InventoryLocationGroupDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryLocationGroup create(InventoryLocationGroupDetailPK activeDetailPK, InventoryLocationGroupDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<InventoryLocationGroupValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryLocationGroupValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, InventoryLocationGroup entity) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<InventoryLocationGroup> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, InventoryLocationGroup entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, InventoryLocationGroupPK pk) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<InventoryLocationGroupPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, InventoryLocationGroupPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<InventoryLocationGroupPK,InventoryLocationGroup> - Throws:
PersistenceDatabaseException
-