Class ChainActionFactory
java.lang.Object
com.echothree.model.data.chain.server.factory.ChainActionFactory
- All Implemented Interfaces:
BaseFactory<ChainActionPK,ChainAction>
@ApplicationScoped
public class ChainActionFactory
extends Object
implements BaseFactory<ChainActionPK,ChainAction>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ChainActionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(ChainActionDetailPK activeDetailPK, ChainActionDetailPK lastDetailPK) create(ChainActionDetail activeDetail, ChainActionDetail lastDetail) create(Session session, ChainActionDetailPK activeDetailPK, ChainActionDetailPK lastDetailPK) create(Session session, ChainActionDetail activeDetail, ChainActionDetail lastDetail) voidcreate(Session session, Collection<ChainActionValue> _values) voidcreate(Collection<ChainActionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ChainActionPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ChainActionPK> 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, ChainActionPK pk) getEntityFromPK(EntityPermission entityPermission, ChainActionPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, ChainActionPK 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, ChainActionValue value) getEntityFromValue(Session session, EntityPermission entityPermission, ChainActionValue value) static ChainActionFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, ChainActionPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<ChainActionPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, ChainActionPK pk) voidremove(Session session, ChainAction entity) voidremove(Session session, Collection<ChainActionPK> pks) voidremove(Collection<ChainActionPK> pks) voidstore(Session session, ChainAction entity) voidstore(Session session, Collection<ChainAction> entities) voidstore(Collection<ChainAction> entities) booleanvalidPK(Session session, ChainActionPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
CHNACT_CHAINACTIONID
- See Also:
-
CHNACT_ACTIVEDETAILID
- See Also:
-
CHNACT_LASTDETAILID
- See Also:
-
-
Constructor Details
-
ChainActionFactory
protected ChainActionFactory()Creates a new instance of ChainActionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ChainActionPK,ChainAction>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ChainActionPK,ChainAction>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ChainActionPK,ChainAction>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ChainActionPK,ChainAction>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ChainActionPK,ChainAction>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ChainActionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ChainActionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ChainActionValue> getValuesFromPKs(Session session, Collection<ChainActionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ChainActionValue getValueFromPK(Session session, ChainActionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ChainActionValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ChainActionValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ChainAction> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ChainActionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ChainAction> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ChainActionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromValue
public ChainAction getEntityFromValue(Session session, EntityPermission entityPermission, ChainActionValue value) -
getEntityFromPK
public ChainAction getEntityFromPK(EntityPermission entityPermission, ChainActionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public ChainAction getEntityFromPK(Session session, EntityPermission entityPermission, ChainActionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ChainActionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ChainActionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ChainActionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ChainAction> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ChainAction getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ChainAction> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ChainAction> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ChainAction getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ChainAction getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ChainAction create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public ChainAction create(Session session, ChainActionDetail activeDetail, ChainActionDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ChainAction create(ChainActionDetail activeDetail, ChainActionDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ChainAction create(Session session, ChainActionDetailPK activeDetailPK, ChainActionDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ChainAction create(ChainActionDetailPK activeDetailPK, ChainActionDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<ChainActionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ChainActionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<ChainAction> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<ChainActionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ChainActionPK,ChainAction> - Throws:
PersistenceDatabaseException
-