Class PartyTrainingClassSessionAnswerFactory
java.lang.Object
com.echothree.model.data.training.server.factory.PartyTrainingClassSessionAnswerFactory
- All Implemented Interfaces:
BaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
@ApplicationScoped
public class PartyTrainingClassSessionAnswerFactory
extends Object
implements BaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyTrainingClassSessionAnswerFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyTrainingClassSessionQuestionPK partyTrainingClassSessionQuestionPK, Integer partyTrainingClassSessionAnswerSequence, TrainingClassAnswerPK trainingClassAnswerPK, Long questionStartTime, Long questionEndTime, Long fromTime, Long thruTime) create(PartyTrainingClassSessionQuestion partyTrainingClassSessionQuestion, Integer partyTrainingClassSessionAnswerSequence, TrainingClassAnswer trainingClassAnswer, Long questionStartTime, Long questionEndTime, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyTrainingClassSessionAnswerPK> 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, PartyTrainingClassSessionAnswerPK 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, PartyTrainingClassSessionAnswerValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidvoidvoidstore(PartyTrainingClassSessionAnswer entity) voidstore(Collection<PartyTrainingClassSessionAnswer> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PTRNCLSANS_PARTYTRAININGCLASSSESSIONANSWERID
- See Also:
-
PTRNCLSANS_PTRNCLSQUS_PARTYTRAININGCLASSSESSIONQUESTIONID
- See Also:
-
PTRNCLSANS_PARTYTRAININGCLASSSESSIONANSWERSEQUENCE
- See Also:
-
PTRNCLSANS_TRNCLSANS_TRAININGCLASSANSWERID
- See Also:
-
PTRNCLSANS_QUESTIONSTARTTIME
- See Also:
-
PTRNCLSANS_QUESTIONENDTIME
- See Also:
-
PTRNCLSANS_FROMTIME
- See Also:
-
PTRNCLSANS_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyTrainingClassSessionAnswerFactory
protected PartyTrainingClassSessionAnswerFactory()Creates a new instance of PartyTrainingClassSessionAnswerFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyTrainingClassSessionAnswerPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyTrainingClassSessionAnswerPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public PartyTrainingClassSessionAnswerPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyTrainingClassSessionAnswerValue> getValuesFromPKs(Collection<PartyTrainingClassSessionAnswerPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyTrainingClassSessionAnswerValue getValueFromPK(PartyTrainingClassSessionAnswerPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyTrainingClassSessionAnswerValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyTrainingClassSessionAnswerValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyTrainingClassSessionAnswer> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyTrainingClassSessionAnswerPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyTrainingClassSessionAnswer getEntityFromValue(EntityPermission entityPermission, PartyTrainingClassSessionAnswerValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyTrainingClassSessionAnswer getEntityFromPK(EntityPermission entityPermission, PartyTrainingClassSessionAnswerPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyTrainingClassSessionAnswerPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyTrainingClassSessionAnswerPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyTrainingClassSessionAnswerPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyTrainingClassSessionAnswer> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyTrainingClassSessionAnswer> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyTrainingClassSessionAnswer> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyTrainingClassSessionAnswer getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyTrainingClassSessionAnswer getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyTrainingClassSessionAnswer getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyTrainingClassSessionAnswer> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyTrainingClassSessionAnswer getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyTrainingClassSessionAnswer create(PartyTrainingClassSessionQuestion partyTrainingClassSessionQuestion, Integer partyTrainingClassSessionAnswerSequence, TrainingClassAnswer trainingClassAnswer, Long questionStartTime, Long questionEndTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyTrainingClassSessionAnswer create(PartyTrainingClassSessionQuestionPK partyTrainingClassSessionQuestionPK, Integer partyTrainingClassSessionAnswerSequence, TrainingClassAnswerPK trainingClassAnswerPK, Long questionStartTime, Long questionEndTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyTrainingClassSessionAnswerValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<PartyTrainingClassSessionAnswer> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<PartyTrainingClassSessionAnswerPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyTrainingClassSessionAnswerPK,PartyTrainingClassSessionAnswer> - Throws:
PersistenceDatabaseException
-