Class TrainingClassTranslationFactory
java.lang.Object
com.echothree.model.data.training.server.factory.TrainingClassTranslationFactory
- All Implemented Interfaces:
BaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
@ApplicationScoped
public class TrainingClassTranslationFactory
extends Object
implements BaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TrainingClassTranslationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TrainingClassPK trainingClassPK, LanguagePK languagePK, String description, MimeTypePK overviewMimeTypePK, String overview, MimeTypePK introductionMimeTypePK, String introduction, Long fromTime, Long thruTime) create(TrainingClass trainingClass, Language language, String description, MimeType overviewMimeType, String overview, MimeType introductionMimeType, String introduction, Long fromTime, Long thruTime) voidcreate(Collection<TrainingClassTranslationValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassTranslationPK> 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, TrainingClassTranslationPK 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, TrainingClassTranslationValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(TrainingClassTranslation entity) voidvoidstore(TrainingClassTranslation entity) voidstore(Collection<TrainingClassTranslation> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
TRNCLSTR_TRAININGCLASSTRANSLATIONID
- See Also:
-
TRNCLSTR_TRNCLS_TRAININGCLASSID
- See Also:
-
TRNCLSTR_LANG_LANGUAGEID
- See Also:
-
TRNCLSTR_DESCRIPTION
- See Also:
-
TRNCLSTR_OVERVIEWMIMETYPEID
- See Also:
-
TRNCLSTR_OVERVIEW
- See Also:
-
TRNCLSTR_INTRODUCTIONMIMETYPEID
- See Also:
-
TRNCLSTR_INTRODUCTION
- See Also:
-
TRNCLSTR_FROMTIME
- See Also:
-
TRNCLSTR_THRUTIME
- See Also:
-
-
Constructor Details
-
TrainingClassTranslationFactory
protected TrainingClassTranslationFactory()Creates a new instance of TrainingClassTranslationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TrainingClassTranslationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TrainingClassTranslationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public TrainingClassTranslationPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TrainingClassTranslationValue> getValuesFromPKs(Collection<TrainingClassTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TrainingClassTranslationValue getValueFromPK(TrainingClassTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TrainingClassTranslationValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TrainingClassTranslationValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TrainingClassTranslation> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TrainingClassTranslation getEntityFromValue(EntityPermission entityPermission, TrainingClassTranslationValue value) -
getEntityFromCache
-
getEntityFromPK
public TrainingClassTranslation getEntityFromPK(EntityPermission entityPermission, TrainingClassTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TrainingClassTranslationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TrainingClassTranslationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TrainingClassTranslationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassTranslation> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassTranslation getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TrainingClassTranslation> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TrainingClassTranslation getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TrainingClassTranslation create(TrainingClass trainingClass, Language language, String description, MimeType overviewMimeType, String overview, MimeType introductionMimeType, String introduction, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TrainingClassTranslation create(TrainingClassPK trainingClassPK, LanguagePK languagePK, String description, MimeTypePK overviewMimeTypePK, String overview, MimeTypePK introductionMimeTypePK, String introduction, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TrainingClassTranslationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<TrainingClassTranslation> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<TrainingClassTranslationPK,TrainingClassTranslation> - Throws:
PersistenceDatabaseException
-