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