Class GeoCodeRelationshipFactory
java.lang.Object
com.echothree.model.data.geo.server.factory.GeoCodeRelationshipFactory
- All Implemented Interfaces:
BaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
@ApplicationScoped
public class GeoCodeRelationshipFactory
extends Object
implements BaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of GeoCodeRelationshipFactory -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Collection<GeoCodeRelationshipValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<GeoCodeRelationshipPK> 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, GeoCodeRelationshipPK 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, GeoCodeRelationshipValue value) static GeoCodeRelationshipFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(GeoCodeRelationship entity) voidvoidstore(GeoCodeRelationship entity) voidstore(Collection<GeoCodeRelationship> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
GEOR_GEOCODERELATIONSHIPID
- See Also:
-
GEOR_FROMGEOCODEID
- See Also:
-
GEOR_TOGEOCODEID
- See Also:
-
GEOR_FROMTIME
- See Also:
-
GEOR_THRUTIME
- See Also:
-
-
Constructor Details
-
GeoCodeRelationshipFactory
protected GeoCodeRelationshipFactory()Creates a new instance of GeoCodeRelationshipFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<GeoCodeRelationshipPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<GeoCodeRelationshipPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<GeoCodeRelationshipValue> getValuesFromPKs(Collection<GeoCodeRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public GeoCodeRelationshipValue getValueFromPK(GeoCodeRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<GeoCodeRelationshipValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public GeoCodeRelationshipValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<GeoCodeRelationship> getEntitiesFromPKs(EntityPermission entityPermission, Collection<GeoCodeRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public GeoCodeRelationship getEntityFromValue(EntityPermission entityPermission, GeoCodeRelationshipValue value) -
getEntityFromCache
-
getEntityFromPK
public GeoCodeRelationship getEntityFromPK(EntityPermission entityPermission, GeoCodeRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<GeoCodeRelationshipPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<GeoCodeRelationshipPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public GeoCodeRelationshipPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GeoCodeRelationship> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GeoCodeRelationship> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GeoCodeRelationship> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GeoCodeRelationship getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GeoCodeRelationship getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GeoCodeRelationship getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<GeoCodeRelationship> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public GeoCodeRelationship getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public GeoCodeRelationship create(GeoCode fromGeoCode, GeoCode toGeoCode, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public GeoCodeRelationship create(GeoCodePK fromGeoCodePK, GeoCodePK toGeoCodePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<GeoCodeRelationshipValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<GeoCodeRelationshipPK,GeoCodeRelationship> - Throws:
PersistenceDatabaseException
-