Class LocationFactory
java.lang.Object
com.echothree.model.data.warehouse.server.factory.LocationFactory
- All Implemented Interfaces:
BaseFactory<LocationPK,
Location>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(LocationDetailPK activeDetailPK, LocationDetailPK lastDetailPK) create
(LocationDetail activeDetail, LocationDetail lastDetail) create
(Session session, LocationDetailPK activeDetailPK, LocationDetailPK lastDetailPK) create
(Session session, LocationDetail activeDetail, LocationDetail lastDetail) void
create
(Session session, Collection<LocationValue> _values) void
create
(Collection<LocationValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<LocationPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<LocationPK> 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, LocationPK pk) getEntityFromPK
(EntityPermission entityPermission, LocationPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, LocationPK 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, LocationValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, LocationValue value) static LocationFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, LocationPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<LocationPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, LocationPK pk) void
void
remove
(Session session, Collection<LocationPK> pks) void
remove
(Collection<LocationPK> pks) void
void
store
(Session session, Collection<Location> entities) void
store
(Collection<Location> entities) boolean
validPK
(Session session, LocationPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
LOC_LOCATIONID
- See Also:
-
LOC_ACTIVEDETAILID
- See Also:
-
LOC_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<LocationPK,
Location>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<LocationPK,
Location>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<LocationPK,
Location>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<LocationPK,
Location>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<LocationPK,
Location>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
- Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
- Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<LocationValue> getValuesFromPKs(Session session, Collection<LocationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public LocationValue getValueFromPK(Session session, LocationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<LocationValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public LocationValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<Location> getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<Location> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<LocationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public Location getEntityFromValue(Session session, EntityPermission entityPermission, LocationValue value) -
getEntityFromPK
public Location getEntityFromPK(EntityPermission entityPermission, LocationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public Location getEntityFromPK(Session session, EntityPermission entityPermission, LocationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<LocationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<LocationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public LocationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<Location> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public Location getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<Location> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<Location> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public Location getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public Location getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public Location create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public Location create(Session session, LocationDetail activeDetail, LocationDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Location create(LocationDetail activeDetail, LocationDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Location create(Session session, LocationDetailPK activeDetailPK, LocationDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public Location create(LocationDetailPK activeDetailPK, LocationDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<LocationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<LocationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<Location> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<LocationPK,
Location> - Throws:
PersistenceDatabaseException
-