Class PartyContactMechanismRelationshipFactory
java.lang.Object
com.echothree.model.data.contact.server.factory.PartyContactMechanismRelationshipFactory
- All Implemented Interfaces:
BaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
@ApplicationScoped
public class PartyContactMechanismRelationshipFactory
extends Object
implements BaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyContactMechanismRelationshipFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyContactMechanismPK fromPartyContactMechanismPK, PartyContactMechanismPK toPartyContactMechanismPK, Long fromTime, Long thruTime) create(PartyContactMechanism fromPartyContactMechanism, PartyContactMechanism toPartyContactMechanism, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyContactMechanismRelationshipPK> 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, PartyContactMechanismRelationshipPK 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, PartyContactMechanismRelationshipValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidvoidvoidvoidstore(Collection<PartyContactMechanismRelationship> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PCMR_PARTYCONTACTMECHANISMRELATIONSHIPID
- See Also:
-
PCMR_FROMPARTYCONTACTMECHANISMID
- See Also:
-
PCMR_TOPARTYCONTACTMECHANISMID
- See Also:
-
PCMR_FROMTIME
- See Also:
-
PCMR_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyContactMechanismRelationshipFactory
protected PartyContactMechanismRelationshipFactory()Creates a new instance of PartyContactMechanismRelationshipFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyContactMechanismRelationshipPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyContactMechanismRelationshipPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public PartyContactMechanismRelationshipPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyContactMechanismRelationshipValue> getValuesFromPKs(Collection<PartyContactMechanismRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyContactMechanismRelationshipValue getValueFromPK(PartyContactMechanismRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyContactMechanismRelationshipValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyContactMechanismRelationshipValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyContactMechanismRelationship> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyContactMechanismRelationshipPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyContactMechanismRelationship getEntityFromValue(EntityPermission entityPermission, PartyContactMechanismRelationshipValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyContactMechanismRelationship getEntityFromPK(EntityPermission entityPermission, PartyContactMechanismRelationshipPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyContactMechanismRelationshipPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyContactMechanismRelationshipPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyContactMechanismRelationshipPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyContactMechanismRelationship> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyContactMechanismRelationship> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyContactMechanismRelationship> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyContactMechanismRelationship getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyContactMechanismRelationship getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyContactMechanismRelationship getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyContactMechanismRelationship> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyContactMechanismRelationship getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyContactMechanismRelationship create(PartyContactMechanism fromPartyContactMechanism, PartyContactMechanism toPartyContactMechanism, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyContactMechanismRelationship create(PartyContactMechanismPK fromPartyContactMechanismPK, PartyContactMechanismPK toPartyContactMechanismPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyContactMechanismRelationshipValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<PartyContactMechanismRelationship> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<PartyContactMechanismRelationshipPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyContactMechanismRelationshipPK,PartyContactMechanismRelationship> - Throws:
PersistenceDatabaseException
-