Class AssociateReferralFactory
java.lang.Object
com.echothree.model.data.associate.server.factory.AssociateReferralFactory
- All Implemented Interfaces:
BaseFactory<AssociateReferralPK,AssociateReferral>
@ApplicationScoped
public class AssociateReferralFactory
extends Object
implements BaseFactory<AssociateReferralPK,AssociateReferral>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of AssociateReferralFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(AssociateReferralDetailPK activeDetailPK, AssociateReferralDetailPK lastDetailPK) create(AssociateReferralDetail activeDetail, AssociateReferralDetail lastDetail) voidcreate(Collection<AssociateReferralValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<AssociateReferralPK> 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, AssociateReferralPK 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, AssociateReferralValue value) static AssociateReferralFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(AssociateReferral entity) voidvoidstore(AssociateReferral entity) voidstore(Collection<AssociateReferral> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
ASCRFR_ASSOCIATEREFERRALID
- See Also:
-
ASCRFR_ACTIVEDETAILID
- See Also:
-
ASCRFR_LASTDETAILID
- See Also:
-
-
Constructor Details
-
AssociateReferralFactory
protected AssociateReferralFactory()Creates a new instance of AssociateReferralFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<AssociateReferralPK,AssociateReferral>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<AssociateReferralPK,AssociateReferral>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<AssociateReferralPK,AssociateReferral>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<AssociateReferralPK,AssociateReferral>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<AssociateReferralPK,AssociateReferral>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<AssociateReferralPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<AssociateReferralPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<AssociateReferralValue> getValuesFromPKs(Collection<AssociateReferralPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public AssociateReferralValue getValueFromPK(AssociateReferralPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<AssociateReferralValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public AssociateReferralValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<AssociateReferral> getEntitiesFromPKs(EntityPermission entityPermission, Collection<AssociateReferralPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public AssociateReferral getEntityFromValue(EntityPermission entityPermission, AssociateReferralValue value) -
getEntityFromCache
-
getEntityFromPK
public AssociateReferral getEntityFromPK(EntityPermission entityPermission, AssociateReferralPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<AssociateReferralPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<AssociateReferralPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public AssociateReferralPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AssociateReferral> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AssociateReferral> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<AssociateReferral> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AssociateReferral getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AssociateReferral getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public AssociateReferral getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<AssociateReferral> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public AssociateReferral getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public AssociateReferral create(AssociateReferralDetail activeDetail, AssociateReferralDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public AssociateReferral create(AssociateReferralDetailPK activeDetailPK, AssociateReferralDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<AssociateReferralValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<AssociateReferralPK,AssociateReferral> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<AssociateReferralPK,AssociateReferral> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AssociateReferralPK,AssociateReferral> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AssociateReferralPK,AssociateReferral> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<AssociateReferralPK,AssociateReferral> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<AssociateReferralPK,AssociateReferral> - Throws:
PersistenceDatabaseException
-