Class GeoCodeCountryFactory
java.lang.Object
com.echothree.model.data.geo.server.factory.GeoCodeCountryFactory
- All Implemented Interfaces:
BaseFactory<GeoCodeCountryPK,GeoCodeCountry>
@ApplicationScoped
public class GeoCodeCountryFactory
extends Object
implements BaseFactory<GeoCodeCountryPK,GeoCodeCountry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of GeoCodeCountryFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(GeoCodePK geoCodePK, String telephoneCode, String areaCodePattern, Boolean areaCodeRequired, String areaCodeExample, String telephoneNumberPattern, String telephoneNumberExample, PostalAddressFormatPK postalAddressFormatPK, Boolean cityRequired, Boolean cityGeoCodeRequired, Boolean stateRequired, Boolean stateGeoCodeRequired, String postalCodePattern, Boolean postalCodeRequired, Boolean postalCodeGeoCodeRequired, Integer postalCodeLength, Integer postalCodeGeoCodeLength, String postalCodeExample, Long fromTime, Long thruTime) create(GeoCode geoCode, String telephoneCode, String areaCodePattern, Boolean areaCodeRequired, String areaCodeExample, String telephoneNumberPattern, String telephoneNumberExample, PostalAddressFormat postalAddressFormat, Boolean cityRequired, Boolean cityGeoCodeRequired, Boolean stateRequired, Boolean stateGeoCodeRequired, String postalCodePattern, Boolean postalCodeRequired, Boolean postalCodeGeoCodeRequired, Integer postalCodeLength, Integer postalCodeGeoCodeLength, String postalCodeExample, Long fromTime, Long thruTime) voidcreate(Collection<GeoCodeCountryValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<GeoCodeCountryPK> 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, GeoCodeCountryPK 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, GeoCodeCountryValue value) static GeoCodeCountryFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(GeoCodeCountry entity) voidremove(Collection<GeoCodeCountryPK> pks) voidstore(GeoCodeCountry entity) voidstore(Collection<GeoCodeCountry> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
GEOC_GEOCODECOUNTRYID
- See Also:
-
GEOC_GEO_GEOCODEID
- See Also:
-
GEOC_TELEPHONECODE
- See Also:
-
GEOC_AREACODEPATTERN
- See Also:
-
GEOC_AREACODEREQUIRED
- See Also:
-
GEOC_AREACODEEXAMPLE
- See Also:
-
GEOC_TELEPHONENUMBERPATTERN
- See Also:
-
GEOC_TELEPHONENUMBEREXAMPLE
- See Also:
-
GEOC_PSTAFMT_POSTALADDRESSFORMATID
- See Also:
-
GEOC_CITYREQUIRED
- See Also:
-
GEOC_CITYGEOCODEREQUIRED
- See Also:
-
GEOC_STATEREQUIRED
- See Also:
-
GEOC_STATEGEOCODEREQUIRED
- See Also:
-
GEOC_POSTALCODEPATTERN
- See Also:
-
GEOC_POSTALCODEREQUIRED
- See Also:
-
GEOC_POSTALCODEGEOCODEREQUIRED
- See Also:
-
GEOC_POSTALCODELENGTH
- See Also:
-
GEOC_POSTALCODEGEOCODELENGTH
- See Also:
-
GEOC_POSTALCODEEXAMPLE
- See Also:
-
GEOC_FROMTIME
- See Also:
-
GEOC_THRUTIME
- See Also:
-
-
Constructor Details
-
GeoCodeCountryFactory
protected GeoCodeCountryFactory()Creates a new instance of GeoCodeCountryFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<GeoCodeCountryPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<GeoCodeCountryPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<GeoCodeCountryValue> getValuesFromPKs(Collection<GeoCodeCountryPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<GeoCodeCountryValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<GeoCodeCountry> getEntitiesFromPKs(EntityPermission entityPermission, Collection<GeoCodeCountryPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public GeoCodeCountry getEntityFromValue(EntityPermission entityPermission, GeoCodeCountryValue value) -
getEntityFromCache
-
getEntityFromPK
public GeoCodeCountry getEntityFromPK(EntityPermission entityPermission, GeoCodeCountryPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<GeoCodeCountryPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<GeoCodeCountryPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public GeoCodeCountryPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GeoCodeCountry> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GeoCodeCountry> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GeoCodeCountry> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GeoCodeCountry getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GeoCodeCountry getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GeoCodeCountry getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<GeoCodeCountry> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public GeoCodeCountry getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public GeoCodeCountry create(GeoCode geoCode, String telephoneCode, String areaCodePattern, Boolean areaCodeRequired, String areaCodeExample, String telephoneNumberPattern, String telephoneNumberExample, PostalAddressFormat postalAddressFormat, Boolean cityRequired, Boolean cityGeoCodeRequired, Boolean stateRequired, Boolean stateGeoCodeRequired, String postalCodePattern, Boolean postalCodeRequired, Boolean postalCodeGeoCodeRequired, Integer postalCodeLength, Integer postalCodeGeoCodeLength, String postalCodeExample, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public GeoCodeCountry create(GeoCodePK geoCodePK, String telephoneCode, String areaCodePattern, Boolean areaCodeRequired, String areaCodeExample, String telephoneNumberPattern, String telephoneNumberExample, PostalAddressFormatPK postalAddressFormatPK, Boolean cityRequired, Boolean cityGeoCodeRequired, Boolean stateRequired, Boolean stateGeoCodeRequired, String postalCodePattern, Boolean postalCodeRequired, Boolean postalCodeGeoCodeRequired, Integer postalCodeLength, Integer postalCodeGeoCodeLength, String postalCodeExample, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<GeoCodeCountryValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<GeoCodeCountryPK,GeoCodeCountry> - Throws:
PersistenceDatabaseException
-