Class TrainingClassQuestionTranslationFactory
java.lang.Object
com.echothree.model.data.training.server.factory.TrainingClassQuestionTranslationFactory
- All Implemented Interfaces:
BaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
@ApplicationScoped
public class TrainingClassQuestionTranslationFactory
extends Object
implements BaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TrainingClassQuestionTranslationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TrainingClassQuestionPK trainingClassQuestionPK, LanguagePK languagePK, MimeTypePK questionMimeTypePK, String question, Long fromTime, Long thruTime) create(TrainingClassQuestion trainingClassQuestion, Language language, MimeType questionMimeType, String question, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassQuestionTranslationPK> 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, TrainingClassQuestionTranslationPK 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, TrainingClassQuestionTranslationValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidvoidvoidvoidstore(Collection<TrainingClassQuestionTranslation> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
TRNCLSQUSTR_TRAININGCLASSQUESTIONTRANSLATIONID
- See Also:
-
TRNCLSQUSTR_TRNCLSQUS_TRAININGCLASSQUESTIONID
- See Also:
-
TRNCLSQUSTR_LANG_LANGUAGEID
- See Also:
-
TRNCLSQUSTR_QUESTIONMIMETYPEID
- See Also:
-
TRNCLSQUSTR_QUESTION
- See Also:
-
TRNCLSQUSTR_FROMTIME
- See Also:
-
TRNCLSQUSTR_THRUTIME
- See Also:
-
-
Constructor Details
-
TrainingClassQuestionTranslationFactory
protected TrainingClassQuestionTranslationFactory()Creates a new instance of TrainingClassQuestionTranslationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TrainingClassQuestionTranslationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TrainingClassQuestionTranslationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public TrainingClassQuestionTranslationPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TrainingClassQuestionTranslationValue> getValuesFromPKs(Collection<TrainingClassQuestionTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TrainingClassQuestionTranslationValue getValueFromPK(TrainingClassQuestionTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TrainingClassQuestionTranslationValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TrainingClassQuestionTranslationValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TrainingClassQuestionTranslation> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassQuestionTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TrainingClassQuestionTranslation getEntityFromValue(EntityPermission entityPermission, TrainingClassQuestionTranslationValue value) -
getEntityFromCache
-
getEntityFromPK
public TrainingClassQuestionTranslation getEntityFromPK(EntityPermission entityPermission, TrainingClassQuestionTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TrainingClassQuestionTranslationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TrainingClassQuestionTranslationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TrainingClassQuestionTranslationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassQuestionTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassQuestionTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassQuestionTranslation> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassQuestionTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassQuestionTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassQuestionTranslation getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TrainingClassQuestionTranslation> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TrainingClassQuestionTranslation getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TrainingClassQuestionTranslation create(TrainingClassQuestion trainingClassQuestion, Language language, MimeType questionMimeType, String question, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TrainingClassQuestionTranslation create(TrainingClassQuestionPK trainingClassQuestionPK, LanguagePK languagePK, MimeTypePK questionMimeTypePK, String question, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TrainingClassQuestionTranslationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<TrainingClassQuestionTranslation> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<TrainingClassQuestionTranslationPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<TrainingClassQuestionTranslationPK,TrainingClassQuestionTranslation> - Throws:
PersistenceDatabaseException
-