Class ContactPostalAddressFactory
java.lang.Object
com.echothree.model.data.contact.server.factory.ContactPostalAddressFactory
- All Implemented Interfaces:
BaseFactory<ContactPostalAddressPK,ContactPostalAddress>
@ApplicationScoped
public class ContactPostalAddressFactory
extends Object
implements BaseFactory<ContactPostalAddressPK,ContactPostalAddress>
-
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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContactPostalAddressFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContactMechanismPK contactMechanismPK, PersonalTitlePK personalTitlePK, String firstName, String firstNameSdx, String middleName, String middleNameSdx, String lastName, String lastNameSdx, NameSuffixPK nameSuffixPK, String companyName, String attention, String address1, String address2, String address3, String city, GeoCodePK cityGeoCodePK, GeoCodePK countyGeoCodePK, String state, GeoCodePK stateGeoCodePK, String postalCode, GeoCodePK postalCodeGeoCodePK, GeoCodePK countryGeoCodePK, Boolean isCommercial, Long fromTime, Long thruTime) create(ContactMechanism contactMechanism, PersonalTitle personalTitle, String firstName, String firstNameSdx, String middleName, String middleNameSdx, String lastName, String lastNameSdx, NameSuffix nameSuffix, String companyName, String attention, String address1, String address2, String address3, String city, GeoCode cityGeoCode, GeoCode countyGeoCode, String state, GeoCode stateGeoCode, String postalCode, GeoCode postalCodeGeoCode, GeoCode countryGeoCode, Boolean isCommercial, Long fromTime, Long thruTime) voidcreate(Collection<ContactPostalAddressValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContactPostalAddressPK> 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, ContactPostalAddressPK 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, ContactPostalAddressValue value) static ContactPostalAddressFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContactPostalAddress entity) voidvoidstore(ContactPostalAddress entity) voidstore(Collection<ContactPostalAddress> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CTPA_CONTACTPOSTALADDRESSID
- See Also:
-
CTPA_CMCH_CONTACTMECHANISMID
- See Also:
-
CTPA_PERT_PERSONALTITLEID
- See Also:
-
CTPA_FIRSTNAME
- See Also:
-
CTPA_FIRSTNAMESDX
- See Also:
-
CTPA_MIDDLENAME
- See Also:
-
CTPA_MIDDLENAMESDX
- See Also:
-
CTPA_LASTNAME
- See Also:
-
CTPA_LASTNAMESDX
- See Also:
-
CTPA_NSFX_NAMESUFFIXID
- See Also:
-
CTPA_COMPANYNAME
- See Also:
-
CTPA_ATTENTION
- See Also:
-
CTPA_ADDRESS1
- See Also:
-
CTPA_ADDRESS2
- See Also:
-
CTPA_ADDRESS3
- See Also:
-
CTPA_CITY
- See Also:
-
CTPA_CITYGEOCODEID
- See Also:
-
CTPA_COUNTYGEOCODEID
- See Also:
-
CTPA_STATE
- See Also:
-
CTPA_STATEGEOCODEID
- See Also:
-
CTPA_POSTALCODE
- See Also:
-
CTPA_POSTALCODEGEOCODEID
- See Also:
-
CTPA_COUNTRYGEOCODEID
- See Also:
-
CTPA_ISCOMMERCIAL
- See Also:
-
CTPA_FROMTIME
- See Also:
-
CTPA_THRUTIME
- See Also:
-
-
Constructor Details
-
ContactPostalAddressFactory
protected ContactPostalAddressFactory()Creates a new instance of ContactPostalAddressFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContactPostalAddressPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContactPostalAddressPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContactPostalAddressValue> getValuesFromPKs(Collection<ContactPostalAddressPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContactPostalAddressValue getValueFromPK(ContactPostalAddressPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContactPostalAddressValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContactPostalAddressValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContactPostalAddress> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContactPostalAddressPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContactPostalAddress getEntityFromValue(EntityPermission entityPermission, ContactPostalAddressValue value) -
getEntityFromCache
-
getEntityFromPK
public ContactPostalAddress getEntityFromPK(EntityPermission entityPermission, ContactPostalAddressPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContactPostalAddressPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContactPostalAddressPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContactPostalAddressPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContactPostalAddress> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContactPostalAddress> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContactPostalAddress> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContactPostalAddress getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContactPostalAddress getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContactPostalAddress getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContactPostalAddress> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContactPostalAddress getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContactPostalAddress create(ContactMechanism contactMechanism, PersonalTitle personalTitle, String firstName, String firstNameSdx, String middleName, String middleNameSdx, String lastName, String lastNameSdx, NameSuffix nameSuffix, String companyName, String attention, String address1, String address2, String address3, String city, GeoCode cityGeoCode, GeoCode countyGeoCode, String state, GeoCode stateGeoCode, String postalCode, GeoCode postalCodeGeoCode, GeoCode countryGeoCode, Boolean isCommercial, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContactPostalAddress create(ContactMechanismPK contactMechanismPK, PersonalTitlePK personalTitlePK, String firstName, String firstNameSdx, String middleName, String middleNameSdx, String lastName, String lastNameSdx, NameSuffixPK nameSuffixPK, String companyName, String attention, String address1, String address2, String address3, String city, GeoCodePK cityGeoCodePK, GeoCodePK countyGeoCodePK, String state, GeoCodePK stateGeoCodePK, String postalCode, GeoCodePK postalCodeGeoCodePK, GeoCodePK countryGeoCodePK, Boolean isCommercial, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContactPostalAddressValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContactPostalAddressPK,ContactPostalAddress> - Throws:
PersistenceDatabaseException
-