Class RecoveryAnswerDetailFactory
java.lang.Object
com.echothree.model.data.user.server.factory.RecoveryAnswerDetailFactory
- All Implemented Interfaces:
BaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
@ApplicationScoped
public class RecoveryAnswerDetailFactory
extends Object
implements BaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of RecoveryAnswerDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(RecoveryAnswerPK recoveryAnswerPK, PartyPK partyPK, RecoveryQuestionPK recoveryQuestionPK, String answer, Long fromTime, Long thruTime) create(RecoveryAnswer recoveryAnswer, Party party, RecoveryQuestion recoveryQuestion, String answer, Long fromTime, Long thruTime) voidcreate(Collection<RecoveryAnswerDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<RecoveryAnswerDetailPK> 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, RecoveryAnswerDetailPK 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, RecoveryAnswerDetailValue value) static RecoveryAnswerDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(RecoveryAnswerDetail entity) voidvoidstore(RecoveryAnswerDetail entity) voidstore(Collection<RecoveryAnswerDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
RANSDT_RECOVERYANSWERDETAILID
- See Also:
-
RANSDT_RANS_RECOVERYANSWERID
- See Also:
-
RANSDT_PAR_PARTYID
- See Also:
-
RANSDT_RQUS_RECOVERYQUESTIONID
- See Also:
-
RANSDT_ANSWER
- See Also:
-
RANSDT_FROMTIME
- See Also:
-
RANSDT_THRUTIME
- See Also:
-
-
Constructor Details
-
RecoveryAnswerDetailFactory
protected RecoveryAnswerDetailFactory()Creates a new instance of RecoveryAnswerDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<RecoveryAnswerDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<RecoveryAnswerDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<RecoveryAnswerDetailValue> getValuesFromPKs(Collection<RecoveryAnswerDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public RecoveryAnswerDetailValue getValueFromPK(RecoveryAnswerDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<RecoveryAnswerDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public RecoveryAnswerDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<RecoveryAnswerDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<RecoveryAnswerDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public RecoveryAnswerDetail getEntityFromValue(EntityPermission entityPermission, RecoveryAnswerDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public RecoveryAnswerDetail getEntityFromPK(EntityPermission entityPermission, RecoveryAnswerDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<RecoveryAnswerDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<RecoveryAnswerDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public RecoveryAnswerDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<RecoveryAnswerDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<RecoveryAnswerDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<RecoveryAnswerDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public RecoveryAnswerDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public RecoveryAnswerDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public RecoveryAnswerDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<RecoveryAnswerDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public RecoveryAnswerDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public RecoveryAnswerDetail create(RecoveryAnswer recoveryAnswer, Party party, RecoveryQuestion recoveryQuestion, String answer, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public RecoveryAnswerDetail create(RecoveryAnswerPK recoveryAnswerPK, PartyPK partyPK, RecoveryQuestionPK recoveryQuestionPK, String answer, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<RecoveryAnswerDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<RecoveryAnswerDetailPK,RecoveryAnswerDetail> - Throws:
PersistenceDatabaseException
-