Class TrainingClassSectionTranslationFactory
java.lang.Object
com.echothree.model.data.training.server.factory.TrainingClassSectionTranslationFactory
- All Implemented Interfaces:
BaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
@ApplicationScoped
public class TrainingClassSectionTranslationFactory
extends Object
implements BaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TrainingClassSectionTranslationFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TrainingClassSectionPK trainingClassSectionPK, LanguagePK languagePK, String description, MimeTypePK overviewMimeTypePK, String overview, MimeTypePK introductionMimeTypePK, String introduction, Long fromTime, Long thruTime) create(TrainingClassSection trainingClassSection, Language language, String description, MimeType overviewMimeType, String overview, MimeType introductionMimeType, String introduction, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassSectionTranslationPK> 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, TrainingClassSectionTranslationPK 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, TrainingClassSectionTranslationValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidvoidvoidstore(TrainingClassSectionTranslation entity) voidstore(Collection<TrainingClassSectionTranslation> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
TRNCLSSTR_TRAININGCLASSSECTIONTRANSLATIONID
- See Also:
-
TRNCLSSTR_TRNCLSS_TRAININGCLASSSECTIONID
- See Also:
-
TRNCLSSTR_LANG_LANGUAGEID
- See Also:
-
TRNCLSSTR_DESCRIPTION
- See Also:
-
TRNCLSSTR_OVERVIEWMIMETYPEID
- See Also:
-
TRNCLSSTR_OVERVIEW
- See Also:
-
TRNCLSSTR_INTRODUCTIONMIMETYPEID
- See Also:
-
TRNCLSSTR_INTRODUCTION
- See Also:
-
TRNCLSSTR_FROMTIME
- See Also:
-
TRNCLSSTR_THRUTIME
- See Also:
-
-
Constructor Details
-
TrainingClassSectionTranslationFactory
protected TrainingClassSectionTranslationFactory()Creates a new instance of TrainingClassSectionTranslationFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TrainingClassSectionTranslationPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TrainingClassSectionTranslationPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public TrainingClassSectionTranslationPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TrainingClassSectionTranslationValue> getValuesFromPKs(Collection<TrainingClassSectionTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TrainingClassSectionTranslationValue getValueFromPK(TrainingClassSectionTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TrainingClassSectionTranslationValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TrainingClassSectionTranslationValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TrainingClassSectionTranslation> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TrainingClassSectionTranslationPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TrainingClassSectionTranslation getEntityFromValue(EntityPermission entityPermission, TrainingClassSectionTranslationValue value) -
getEntityFromCache
-
getEntityFromPK
public TrainingClassSectionTranslation getEntityFromPK(EntityPermission entityPermission, TrainingClassSectionTranslationPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TrainingClassSectionTranslationPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TrainingClassSectionTranslationPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TrainingClassSectionTranslationPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassSectionTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassSectionTranslation> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TrainingClassSectionTranslation> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassSectionTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassSectionTranslation getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TrainingClassSectionTranslation getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TrainingClassSectionTranslation> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TrainingClassSectionTranslation getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TrainingClassSectionTranslation create(TrainingClassSection trainingClassSection, Language language, String description, MimeType overviewMimeType, String overview, MimeType introductionMimeType, String introduction, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TrainingClassSectionTranslation create(TrainingClassSectionPK trainingClassSectionPK, LanguagePK languagePK, String description, MimeTypePK overviewMimeTypePK, String overview, MimeTypePK introductionMimeTypePK, String introduction, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TrainingClassSectionTranslationValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<TrainingClassSectionTranslation> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<TrainingClassSectionTranslationPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<TrainingClassSectionTranslationPK,TrainingClassSectionTranslation> - Throws:
PersistenceDatabaseException
-