Class CommunicationEventRoleFactory
java.lang.Object
com.echothree.model.data.communication.server.factory.CommunicationEventRoleFactory
- All Implemented Interfaces:
BaseFactory<CommunicationEventRolePK,CommunicationEventRole>
@ApplicationScoped
public class CommunicationEventRoleFactory
extends Object
implements BaseFactory<CommunicationEventRolePK,CommunicationEventRole>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of CommunicationEventRoleFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(CommunicationEventPK communicationEventPK, PartyPK partyPK, CommunicationEventRoleTypePK communicationEventRoleTypePK, Long fromTime, Long thruTime) create(CommunicationEvent communicationEvent, Party party, CommunicationEventRoleType communicationEventRoleType, Long fromTime, Long thruTime) voidcreate(Collection<CommunicationEventRoleValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommunicationEventRolePK> 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, CommunicationEventRolePK 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, CommunicationEventRoleValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(CommunicationEventRole entity) voidvoidstore(CommunicationEventRole entity) voidstore(Collection<CommunicationEventRole> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CMMNEVR_COMMUNICATIONEVENTROLEID
- See Also:
-
CMMNEVR_CMMNEV_COMMUNICATIONEVENTID
- See Also:
-
CMMNEVR_PAR_PARTYID
- See Also:
-
CMMNEVR_CMMNEVRTYP_COMMUNICATIONEVENTROLETYPEID
- See Also:
-
CMMNEVR_FROMTIME
- See Also:
-
CMMNEVR_THRUTIME
- See Also:
-
-
Constructor Details
-
CommunicationEventRoleFactory
protected CommunicationEventRoleFactory()Creates a new instance of CommunicationEventRoleFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<CommunicationEventRolePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<CommunicationEventRolePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public CommunicationEventRolePK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<CommunicationEventRoleValue> getValuesFromPKs(Collection<CommunicationEventRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CommunicationEventRoleValue getValueFromPK(CommunicationEventRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CommunicationEventRoleValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CommunicationEventRoleValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CommunicationEventRole> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommunicationEventRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public CommunicationEventRole getEntityFromValue(EntityPermission entityPermission, CommunicationEventRoleValue value) -
getEntityFromCache
-
getEntityFromPK
public CommunicationEventRole getEntityFromPK(EntityPermission entityPermission, CommunicationEventRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<CommunicationEventRolePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<CommunicationEventRolePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public CommunicationEventRolePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventRole> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventRole> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventRole getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventRole getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CommunicationEventRole> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CommunicationEventRole getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CommunicationEventRole create(CommunicationEvent communicationEvent, Party party, CommunicationEventRoleType communicationEventRoleType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommunicationEventRole create(CommunicationEventPK communicationEventPK, PartyPK partyPK, CommunicationEventRoleTypePK communicationEventRoleTypePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CommunicationEventRoleValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-