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