Class TrainingClassAnswerTranslationFactory
java.lang.Object
com.echothree.model.data.training.server.factory.TrainingClassAnswerTranslationFactory
- All Implemented Interfaces:
BaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
@ApplicationScoped
public class TrainingClassAnswerTranslationFactory
extends Object
implements BaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TrainingClassAnswerTranslationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TrainingClassAnswerPK trainingClassAnswerPK, LanguagePK languagePK, MimeTypePK answerMimeTypePK, String answer, MimeTypePK selectedMimeTypePK, String selected, Long fromTime, Long thruTime) create(TrainingClassAnswer trainingClassAnswer, Language language, MimeType answerMimeType, String answer, MimeType selectedMimeType, String selected, Long fromTime, Long thruTime) create(Session session, TrainingClassAnswerPK trainingClassAnswerPK, LanguagePK languagePK, MimeTypePK answerMimeTypePK, String answer, MimeTypePK selectedMimeTypePK, String selected, Long fromTime, Long thruTime) create(Session session, TrainingClassAnswer trainingClassAnswer, Language language, MimeType answerMimeType, String answer, MimeType selectedMimeType, String selected, Long fromTime, Long thruTime) voidcreate(Session session, Collection<TrainingClassAnswerTranslationValue> _values) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassAnswerTranslationPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<TrainingClassAnswerTranslationPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, TrainingClassAnswerTranslationPK pk) getEntityFromPK(EntityPermission entityPermission, TrainingClassAnswerTranslationPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, TrainingClassAnswerTranslationPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, TrainingClassAnswerTranslationValue value) getEntityFromValue(Session session, EntityPermission entityPermission, TrainingClassAnswerTranslationValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, TrainingClassAnswerTranslationPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<TrainingClassAnswerTranslationPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, TrainingClassAnswerTranslationPK pk) voidremove(Session session, TrainingClassAnswerTranslation entity) voidremove(Session session, Collection<TrainingClassAnswerTranslationPK> pks) voidvoidstore(Session session, TrainingClassAnswerTranslation entity) voidstore(Session session, Collection<TrainingClassAnswerTranslation> entities) voidstore(Collection<TrainingClassAnswerTranslation> entities) booleanvalidPK(Session session, TrainingClassAnswerTranslationPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
TRNCLSANSTR_TRAININGCLASSANSWERTRANSLATIONID
- See Also:
-
TRNCLSANSTR_TRNCLSANS_TRAININGCLASSANSWERID
- See Also:
-
TRNCLSANSTR_LANG_LANGUAGEID
- See Also:
-
TRNCLSANSTR_ANSWERMIMETYPEID
- See Also:
-
TRNCLSANSTR_ANSWER
- See Also:
-
TRNCLSANSTR_SELECTEDMIMETYPEID
- See Also:
-
TRNCLSANSTR_SELECTED
- See Also:
-
TRNCLSANSTR_FROMTIME
- See Also:
-
TRNCLSANSTR_THRUTIME
- See Also:
-
-
Constructor Details
-
TrainingClassAnswerTranslationFactory
protected TrainingClassAnswerTranslationFactory()Creates a new instance of TrainingClassAnswerTranslationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TrainingClassAnswerTranslationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TrainingClassAnswerTranslationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public TrainingClassAnswerTranslationPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TrainingClassAnswerTranslationValue> getValuesFromPKs(Session session, Collection<TrainingClassAnswerTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TrainingClassAnswerTranslationValue getValueFromPK(Session session, TrainingClassAnswerTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TrainingClassAnswerTranslationValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TrainingClassAnswerTranslationValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TrainingClassAnswerTranslation> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassAnswerTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TrainingClassAnswerTranslation> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<TrainingClassAnswerTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TrainingClassAnswerTranslation getEntityFromValue(EntityPermission entityPermission, TrainingClassAnswerTranslationValue value) -
getEntityFromValue
public TrainingClassAnswerTranslation getEntityFromValue(Session session, EntityPermission entityPermission, TrainingClassAnswerTranslationValue value) -
getEntityFromPK
public TrainingClassAnswerTranslation getEntityFromPK(EntityPermission entityPermission, TrainingClassAnswerTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
public TrainingClassAnswerTranslation getEntityFromCache(Session session, TrainingClassAnswerTranslationPK pk) -
getEntityFromPK
public TrainingClassAnswerTranslation getEntityFromPK(Session session, EntityPermission entityPermission, TrainingClassAnswerTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TrainingClassAnswerTranslationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TrainingClassAnswerTranslationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TrainingClassAnswerTranslationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassAnswerTranslation> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassAnswerTranslation getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TrainingClassAnswerTranslation> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TrainingClassAnswerTranslation> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TrainingClassAnswerTranslation getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TrainingClassAnswerTranslation getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TrainingClassAnswerTranslation create(Session session, TrainingClassAnswer trainingClassAnswer, Language language, MimeType answerMimeType, String answer, MimeType selectedMimeType, String selected, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TrainingClassAnswerTranslation create(TrainingClassAnswer trainingClassAnswer, Language language, MimeType answerMimeType, String answer, MimeType selectedMimeType, String selected, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TrainingClassAnswerTranslation create(Session session, TrainingClassAnswerPK trainingClassAnswerPK, LanguagePK languagePK, MimeTypePK answerMimeTypePK, String answer, MimeTypePK selectedMimeTypePK, String selected, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TrainingClassAnswerTranslation create(TrainingClassAnswerPK trainingClassAnswerPK, LanguagePK languagePK, MimeTypePK answerMimeTypePK, String answer, MimeTypePK selectedMimeTypePK, String selected, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<TrainingClassAnswerTranslationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TrainingClassAnswerTranslationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, TrainingClassAnswerTranslation entity) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<TrainingClassAnswerTranslation> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<TrainingClassAnswerTranslation> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, TrainingClassAnswerTranslation entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, TrainingClassAnswerTranslationPK pk) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<TrainingClassAnswerTranslationPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<TrainingClassAnswerTranslationPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, TrainingClassAnswerTranslationPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<TrainingClassAnswerTranslationPK,TrainingClassAnswerTranslation> - Throws:
PersistenceDatabaseException
-