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) create(Session session, CommunicationEventPK communicationEventPK, PartyPK partyPK, CommunicationEventRoleTypePK communicationEventRoleTypePK, Long fromTime, Long thruTime) create(Session session, CommunicationEvent communicationEvent, Party party, CommunicationEventRoleType communicationEventRoleType, Long fromTime, Long thruTime) voidcreate(Session session, Collection<CommunicationEventRoleValue> _values) voidcreate(Collection<CommunicationEventRoleValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommunicationEventRolePK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<CommunicationEventRolePK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, CommunicationEventRolePK pk) getEntityFromPK(EntityPermission entityPermission, CommunicationEventRolePK pk) getEntityFromPK(Session session, EntityPermission entityPermission, CommunicationEventRolePK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, CommunicationEventRoleValue value) getEntityFromValue(Session session, EntityPermission entityPermission, CommunicationEventRoleValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, CommunicationEventRolePK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<CommunicationEventRolePK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, CommunicationEventRolePK pk) voidremove(Session session, CommunicationEventRole entity) voidremove(Session session, Collection<CommunicationEventRolePK> pks) voidvoidstore(Session session, CommunicationEventRole entity) voidstore(Session session, Collection<CommunicationEventRole> entities) voidstore(Collection<CommunicationEventRole> entities) booleanvalidPK(Session session, CommunicationEventRolePK pk)
-
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(Session session, Collection<CommunicationEventRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CommunicationEventRoleValue getValueFromPK(Session session, CommunicationEventRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CommunicationEventRoleValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CommunicationEventRoleValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CommunicationEventRole> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CommunicationEventRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CommunicationEventRole> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<CommunicationEventRolePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public CommunicationEventRole getEntityFromValue(EntityPermission entityPermission, CommunicationEventRoleValue value) -
getEntityFromValue
public CommunicationEventRole getEntityFromValue(Session session, EntityPermission entityPermission, CommunicationEventRoleValue value) -
getEntityFromPK
public CommunicationEventRole getEntityFromPK(EntityPermission entityPermission, CommunicationEventRolePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public CommunicationEventRole getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventRole> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CommunicationEventRole> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventRole getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventRole getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CommunicationEventRole getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CommunicationEventRole> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CommunicationEventRole> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CommunicationEventRole getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CommunicationEventRole getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CommunicationEventRole create(Session session, CommunicationEvent communicationEvent, Party party, CommunicationEventRoleType communicationEventRoleType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommunicationEventRole create(CommunicationEvent communicationEvent, Party party, CommunicationEventRoleType communicationEventRoleType, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CommunicationEventRole create(Session session, CommunicationEventPK communicationEventPK, PartyPK partyPK, CommunicationEventRoleTypePK communicationEventRoleTypePK, 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(Session session, Collection<CommunicationEventRoleValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CommunicationEventRoleValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, CommunicationEventRole entity) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<CommunicationEventRole> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, CommunicationEventRole entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, CommunicationEventRolePK pk) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<CommunicationEventRolePK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, CommunicationEventRolePK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<CommunicationEventRolePK,CommunicationEventRole> - Throws:
PersistenceDatabaseException
-