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