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