Class PartyTrainingClassSessionSectionFactory
java.lang.Object
com.echothree.model.data.training.server.factory.PartyTrainingClassSessionSectionFactory
- All Implemented Interfaces:
BaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
@ApplicationScoped
public class PartyTrainingClassSessionSectionFactory
extends Object
implements BaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyTrainingClassSessionSectionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PartyTrainingClassSessionPK partyTrainingClassSessionPK, Integer partyTrainingClassSessionSectionSequence, TrainingClassSectionPK trainingClassSectionPK, Long readingStartTime, Long readingEndTime, Long fromTime, Long thruTime) create(PartyTrainingClassSession partyTrainingClassSession, Integer partyTrainingClassSessionSectionSequence, TrainingClassSection trainingClassSection, Long readingStartTime, Long readingEndTime, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyTrainingClassSessionSectionPK> 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, PartyTrainingClassSessionSectionPK 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, PartyTrainingClassSessionSectionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidvoidvoidvoidstore(Collection<PartyTrainingClassSessionSection> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PTRNCLSS_PARTYTRAININGCLASSSESSIONSECTIONID
- See Also:
-
PTRNCLSS_PTRNCLSSESS_PARTYTRAININGCLASSSESSIONID
- See Also:
-
PTRNCLSS_PARTYTRAININGCLASSSESSIONSECTIONSEQUENCE
- See Also:
-
PTRNCLSS_TRNCLSS_TRAININGCLASSSECTIONID
- See Also:
-
PTRNCLSS_READINGSTARTTIME
- See Also:
-
PTRNCLSS_READINGENDTIME
- See Also:
-
PTRNCLSS_FROMTIME
- See Also:
-
PTRNCLSS_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyTrainingClassSessionSectionFactory
protected PartyTrainingClassSessionSectionFactory()Creates a new instance of PartyTrainingClassSessionSectionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyTrainingClassSessionSectionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyTrainingClassSessionSectionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public PartyTrainingClassSessionSectionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyTrainingClassSessionSectionValue> getValuesFromPKs(Collection<PartyTrainingClassSessionSectionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyTrainingClassSessionSectionValue getValueFromPK(PartyTrainingClassSessionSectionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyTrainingClassSessionSectionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyTrainingClassSessionSectionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyTrainingClassSessionSection> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyTrainingClassSessionSectionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyTrainingClassSessionSection getEntityFromValue(EntityPermission entityPermission, PartyTrainingClassSessionSectionValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyTrainingClassSessionSection getEntityFromPK(EntityPermission entityPermission, PartyTrainingClassSessionSectionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyTrainingClassSessionSectionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyTrainingClassSessionSectionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyTrainingClassSessionSectionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyTrainingClassSessionSection> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyTrainingClassSessionSection> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyTrainingClassSessionSection> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyTrainingClassSessionSection getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyTrainingClassSessionSection getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyTrainingClassSessionSection getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyTrainingClassSessionSection> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyTrainingClassSessionSection getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyTrainingClassSessionSection create(PartyTrainingClassSession partyTrainingClassSession, Integer partyTrainingClassSessionSectionSequence, TrainingClassSection trainingClassSection, Long readingStartTime, Long readingEndTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyTrainingClassSessionSection create(PartyTrainingClassSessionPK partyTrainingClassSessionPK, Integer partyTrainingClassSessionSectionSequence, TrainingClassSectionPK trainingClassSectionPK, Long readingStartTime, Long readingEndTime, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyTrainingClassSessionSectionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<PartyTrainingClassSessionSection> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<PartyTrainingClassSessionSectionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyTrainingClassSessionSectionPK,PartyTrainingClassSessionSection> - Throws:
PersistenceDatabaseException
-