Class ContactEmailAddressFactory
java.lang.Object
com.echothree.model.data.contact.server.factory.ContactEmailAddressFactory
- All Implemented Interfaces:
BaseFactory<ContactEmailAddressPK,ContactEmailAddress>
@ApplicationScoped
public class ContactEmailAddressFactory
extends Object
implements BaseFactory<ContactEmailAddressPK,ContactEmailAddress>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContactEmailAddressFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContactMechanismPK contactMechanismPK, String emailAddress, Long fromTime, Long thruTime) create(ContactMechanism contactMechanism, String emailAddress, Long fromTime, Long thruTime) voidcreate(Collection<ContactEmailAddressValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContactEmailAddressPK> 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, ContactEmailAddressPK 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, ContactEmailAddressValue value) static ContactEmailAddressFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContactEmailAddress entity) voidvoidstore(ContactEmailAddress entity) voidstore(Collection<ContactEmailAddress> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CTEA_CONTACTEMAILADDRESSID
- See Also:
-
CTEA_CMCH_CONTACTMECHANISMID
- See Also:
-
CTEA_EMAILADDRESS
- See Also:
-
CTEA_FROMTIME
- See Also:
-
CTEA_THRUTIME
- See Also:
-
-
Constructor Details
-
ContactEmailAddressFactory
protected ContactEmailAddressFactory()Creates a new instance of ContactEmailAddressFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContactEmailAddressPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContactEmailAddressPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContactEmailAddressValue> getValuesFromPKs(Collection<ContactEmailAddressPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContactEmailAddressValue getValueFromPK(ContactEmailAddressPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContactEmailAddressValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContactEmailAddressValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContactEmailAddress> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContactEmailAddressPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContactEmailAddress getEntityFromValue(EntityPermission entityPermission, ContactEmailAddressValue value) -
getEntityFromCache
-
getEntityFromPK
public ContactEmailAddress getEntityFromPK(EntityPermission entityPermission, ContactEmailAddressPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContactEmailAddressPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContactEmailAddressPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContactEmailAddressPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContactEmailAddress> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContactEmailAddress> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContactEmailAddress> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContactEmailAddress getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContactEmailAddress getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContactEmailAddress getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContactEmailAddress> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContactEmailAddress getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContactEmailAddress create(ContactMechanism contactMechanism, String emailAddress, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContactEmailAddress create(ContactMechanismPK contactMechanismPK, String emailAddress, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContactEmailAddressValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContactEmailAddressPK,ContactEmailAddress> - Throws:
PersistenceDatabaseException
-