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