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