Class BatchAliasFactory
java.lang.Object
com.echothree.model.data.batch.server.factory.BatchAliasFactory
- All Implemented Interfaces:
BaseFactory<BatchAliasPK,
BatchAlias>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(BatchPK batchPK, BatchAliasTypePK batchAliasTypePK, String alias, Long fromTime, Long thruTime) create
(Session session, BatchPK batchPK, BatchAliasTypePK batchAliasTypePK, String alias, Long fromTime, Long thruTime) create
(Session session, Batch batch, BatchAliasType batchAliasType, String alias, Long fromTime, Long thruTime) void
create
(Session session, Collection<BatchAliasValue> _values) void
create
(Collection<BatchAliasValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<BatchAliasPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<BatchAliasPK> pks) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache
(Session session, BatchAliasPK pk) getEntityFromPK
(EntityPermission entityPermission, BatchAliasPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, BatchAliasPK pk) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue
(EntityPermission entityPermission, BatchAliasValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, BatchAliasValue value) static BatchAliasFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, BatchAliasPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<BatchAliasPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, BatchAliasPK pk) void
remove
(Session session, BatchAlias entity) void
remove
(Session session, Collection<BatchAliasPK> pks) void
remove
(Collection<BatchAliasPK> pks) void
store
(Session session, BatchAlias entity) void
store
(Session session, Collection<BatchAlias> entities) void
store
(Collection<BatchAlias> entities) boolean
validPK
(Session session, BatchAliasPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
BTCHAL_BATCHALIASID
- See Also:
-
BTCHAL_BTCH_BATCHID
- See Also:
-
BTCHAL_BTCHAT_BATCHALIASTYPEID
- See Also:
-
BTCHAL_ALIAS
- See Also:
-
BTCHAL_FROMTIME
- See Also:
-
BTCHAL_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<BatchAliasPK,
BatchAlias>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<BatchAliasPK,
BatchAlias>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<BatchAliasPK,
BatchAlias>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<BatchAliasPK,
BatchAlias>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<BatchAliasPK,
BatchAlias>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
- Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<BatchAliasPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<BatchAliasValue> getValuesFromPKs(Session session, Collection<BatchAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public BatchAliasValue getValueFromPK(Session session, BatchAliasPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<BatchAliasValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public BatchAliasValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BatchAlias> getEntitiesFromPKs(EntityPermission entityPermission, Collection<BatchAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BatchAlias> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<BatchAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public BatchAlias getEntityFromValue(Session session, EntityPermission entityPermission, BatchAliasValue value) -
getEntityFromPK
public BatchAlias getEntityFromPK(EntityPermission entityPermission, BatchAliasPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public BatchAlias getEntityFromPK(Session session, EntityPermission entityPermission, BatchAliasPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<BatchAliasPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<BatchAliasPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public BatchAliasPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchAlias> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchAlias getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BatchAlias> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BatchAlias> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BatchAlias getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BatchAlias getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public BatchAlias create(Session session, Batch batch, BatchAliasType batchAliasType, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BatchAlias create(Batch batch, BatchAliasType batchAliasType, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BatchAlias create(Session session, BatchPK batchPK, BatchAliasTypePK batchAliasTypePK, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BatchAlias create(BatchPK batchPK, BatchAliasTypePK batchAliasTypePK, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<BatchAliasValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<BatchAliasValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<BatchAlias> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<BatchAliasPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<BatchAliasPK,
BatchAlias> - Throws:
PersistenceDatabaseException
-