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