Class SelectorNodeTrainingClassFactory
java.lang.Object
com.echothree.model.data.selector.server.factory.SelectorNodeTrainingClassFactory
- All Implemented Interfaces:
BaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
@ApplicationScoped
public class SelectorNodeTrainingClassFactory
extends Object
implements BaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of SelectorNodeTrainingClassFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(SelectorNodePK selectorNodePK, TrainingClassPK trainingClassPK, Long fromTime, Long thruTime) create(SelectorNode selectorNode, TrainingClass trainingClass, Long fromTime, Long thruTime) voidcreate(Collection<SelectorNodeTrainingClassValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<SelectorNodeTrainingClassPK> 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, SelectorNodeTrainingClassPK 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, SelectorNodeTrainingClassValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(SelectorNodeTrainingClass entity) voidvoidstore(SelectorNodeTrainingClass entity) voidstore(Collection<SelectorNodeTrainingClass> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
SLNDTRNCLS_SELECTORNODETRAININGCLASSID
- See Also:
-
SLNDTRNCLS_SLND_SELECTORNODEID
- See Also:
-
SLNDTRNCLS_TRNCLS_TRAININGCLASSID
- See Also:
-
SLNDTRNCLS_FROMTIME
- See Also:
-
SLNDTRNCLS_THRUTIME
- See Also:
-
-
Constructor Details
-
SelectorNodeTrainingClassFactory
protected SelectorNodeTrainingClassFactory()Creates a new instance of SelectorNodeTrainingClassFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<SelectorNodeTrainingClassPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<SelectorNodeTrainingClassPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public SelectorNodeTrainingClassPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<SelectorNodeTrainingClassValue> getValuesFromPKs(Collection<SelectorNodeTrainingClassPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public SelectorNodeTrainingClassValue getValueFromPK(SelectorNodeTrainingClassPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<SelectorNodeTrainingClassValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public SelectorNodeTrainingClassValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<SelectorNodeTrainingClass> getEntitiesFromPKs(EntityPermission entityPermission, Collection<SelectorNodeTrainingClassPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public SelectorNodeTrainingClass getEntityFromValue(EntityPermission entityPermission, SelectorNodeTrainingClassValue value) -
getEntityFromCache
-
getEntityFromPK
public SelectorNodeTrainingClass getEntityFromPK(EntityPermission entityPermission, SelectorNodeTrainingClassPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<SelectorNodeTrainingClassPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<SelectorNodeTrainingClassPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public SelectorNodeTrainingClassPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorNodeTrainingClass> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorNodeTrainingClass> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<SelectorNodeTrainingClass> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorNodeTrainingClass getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorNodeTrainingClass getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public SelectorNodeTrainingClass getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<SelectorNodeTrainingClass> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public SelectorNodeTrainingClass getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public SelectorNodeTrainingClass create(SelectorNode selectorNode, TrainingClass trainingClass, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public SelectorNodeTrainingClass create(SelectorNodePK selectorNodePK, TrainingClassPK trainingClassPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<SelectorNodeTrainingClassValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<SelectorNodeTrainingClass> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<SelectorNodeTrainingClassPK,SelectorNodeTrainingClass> - Throws:
PersistenceDatabaseException
-