Class BatchDetailFactory
java.lang.Object
com.echothree.model.data.batch.server.factory.BatchDetailFactory
- All Implemented Interfaces:
BaseFactory<BatchDetailPK,
BatchDetail>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Session session, BatchPK batchPK, BatchTypePK batchTypePK, String batchName, Long fromTime, Long thruTime) create
(Session session, Batch batch, BatchType batchType, String batchName, Long fromTime, Long thruTime) void
create
(Session session, Collection<BatchDetailValue> _values) void
create
(Collection<BatchDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<BatchDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<BatchDetailPK> 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, BatchDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, BatchDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, BatchDetailPK 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, BatchDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, BatchDetailValue value) static BatchDetailFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, BatchDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<BatchDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, BatchDetailPK pk) void
remove
(Session session, BatchDetail entity) void
remove
(Session session, Collection<BatchDetailPK> pks) void
remove
(Collection<BatchDetailPK> pks) void
store
(Session session, BatchDetail entity) void
store
(Session session, Collection<BatchDetail> entities) void
store
(Collection<BatchDetail> entities) boolean
validPK
(Session session, BatchDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
BTCHDT_BATCHDETAILID
- See Also:
-
BTCHDT_BTCH_BATCHID
- See Also:
-
BTCHDT_BTCHTYP_BATCHTYPEID
- See Also:
-
BTCHDT_BATCHNAME
- See Also:
-
BTCHDT_FROMTIME
- See Also:
-
BTCHDT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<BatchDetailPK,
BatchDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<BatchDetailPK,
BatchDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<BatchDetailPK,
BatchDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<BatchDetailPK,
BatchDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<BatchDetailPK,
BatchDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<BatchDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<BatchDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<BatchDetailValue> getValuesFromPKs(Session session, Collection<BatchDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public BatchDetailValue getValueFromPK(Session session, BatchDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<BatchDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public BatchDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BatchDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<BatchDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<BatchDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<BatchDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public BatchDetail getEntityFromValue(Session session, EntityPermission entityPermission, BatchDetailValue value) -
getEntityFromPK
public BatchDetail getEntityFromPK(EntityPermission entityPermission, BatchDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public BatchDetail getEntityFromPK(Session session, EntityPermission entityPermission, BatchDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<BatchDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<BatchDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public BatchDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<BatchDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public BatchDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BatchDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<BatchDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BatchDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public BatchDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public BatchDetail create(Session session, Batch batch, BatchType batchType, String batchName, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BatchDetail create(Batch batch, BatchType batchType, String batchName, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BatchDetail create(Session session, BatchPK batchPK, BatchTypePK batchTypePK, String batchName, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public BatchDetail create(BatchPK batchPK, BatchTypePK batchTypePK, String batchName, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<BatchDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<BatchDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<BatchDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<BatchDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<BatchDetailPK,
BatchDetail> - Throws:
PersistenceDatabaseException
-