Class CommunicationEventDetailFactory
java.lang.Object
com.echothree.model.data.communication.server.factory.CommunicationEventDetailFactory
- All Implemented Interfaces:
BaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
@ApplicationScoped
public class CommunicationEventDetailFactory
extends Object
implements BaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of CommunicationEventDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(CommunicationEventPK communicationEventPK, String communicationEventName, CommunicationEventTypePK communicationEventTypePK, CommunicationSourcePK communicationSourcePK, CommunicationEventPurposePK communicationEventPurposePK, CommunicationEventPK originalCommunicationEventPK, CommunicationEventPK parentCommunicationEventPK, PartyContactMechanismPK partyContactMechanismPK, DocumentPK documentPK, Long fromTime, Long thruTime) create(CommunicationEvent communicationEvent, String communicationEventName, CommunicationEventType communicationEventType, CommunicationSource communicationSource, CommunicationEventPurpose communicationEventPurpose, CommunicationEvent originalCommunicationEvent, CommunicationEvent parentCommunicationEvent, PartyContactMechanism partyContactMechanism, Document document, Long fromTime, Long thruTime) voidcreate(Collection<CommunicationEventDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommunicationEventDetailPK> 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, CommunicationEventDetailPK 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, CommunicationEventDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(CommunicationEventDetail entity) voidvoidstore(CommunicationEventDetail entity) voidstore(Collection<CommunicationEventDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CMMNEVDT_COMMUNICATIONEVENTDETAILID
- See Also:
-
CMMNEVDT_CMMNEV_COMMUNICATIONEVENTID
- See Also:
-
CMMNEVDT_COMMUNICATIONEVENTNAME
- See Also:
-
CMMNEVDT_CMMNEVTYP_COMMUNICATIONEVENTTYPEID
- See Also:
-
CMMNEVDT_CMMNSRC_COMMUNICATIONSOURCEID
- See Also:
-
CMMNEVDT_CMMNEVPR_COMMUNICATIONEVENTPURPOSEID
- See Also:
-
CMMNEVDT_ORIGINALCOMMUNICATIONEVENTID
- See Also:
-
CMMNEVDT_PARENTCOMMUNICATIONEVENTID
- See Also:
-
CMMNEVDT_PCM_PARTYCONTACTMECHANISMID
- See Also:
-
CMMNEVDT_DCMNT_DOCUMENTID
- See Also:
-
CMMNEVDT_FROMTIME
- See Also:
-
CMMNEVDT_THRUTIME
- See Also:
-
-
Constructor Details
-
CommunicationEventDetailFactory
protected CommunicationEventDetailFactory()Creates a new instance of CommunicationEventDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<CommunicationEventDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<CommunicationEventDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public CommunicationEventDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<CommunicationEventDetailValue> getValuesFromPKs(Collection<CommunicationEventDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CommunicationEventDetailValue getValueFromPK(CommunicationEventDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CommunicationEventDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CommunicationEventDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CommunicationEventDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommunicationEventDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public CommunicationEventDetail getEntityFromValue(EntityPermission entityPermission, CommunicationEventDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public CommunicationEventDetail getEntityFromPK(EntityPermission entityPermission, CommunicationEventDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<CommunicationEventDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<CommunicationEventDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public CommunicationEventDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CommunicationEventDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CommunicationEventDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CommunicationEventDetail create(CommunicationEvent communicationEvent, String communicationEventName, CommunicationEventType communicationEventType, CommunicationSource communicationSource, CommunicationEventPurpose communicationEventPurpose, CommunicationEvent originalCommunicationEvent, CommunicationEvent parentCommunicationEvent, PartyContactMechanism partyContactMechanism, Document document, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommunicationEventDetail create(CommunicationEventPK communicationEventPK, String communicationEventName, CommunicationEventTypePK communicationEventTypePK, CommunicationSourcePK communicationSourcePK, CommunicationEventPurposePK communicationEventPurposePK, CommunicationEventPK originalCommunicationEventPK, CommunicationEventPK parentCommunicationEventPK, PartyContactMechanismPK partyContactMechanismPK, DocumentPK documentPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CommunicationEventDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<CommunicationEventDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<CommunicationEventDetailPK,CommunicationEventDetail> - Throws:
PersistenceDatabaseException
-