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